Browse Source

pre-CRAN flight check

tags/v0.3.0 v0.3.0
Bob Rudis 8 years ago
parent
commit
3ee74a1cdf
  1. 1
      .Rbuildignore
  2. 12
      NEWS.md
  3. 4
      R/xmltreeview.R
  4. 3
      R/xmlview.R
  5. 12
      cran-comments.md
  6. 3
      man/xml_tree_view.Rd
  7. 2
      man/xml_view.Rd

1
.Rbuildignore

@ -7,3 +7,4 @@
^README\.html$ ^README\.html$
^cran-comments\.md$ ^cran-comments\.md$
^appveyor\.yml$ ^appveyor\.yml$
^docs$

12
NEWS.md

@ -1,13 +1,13 @@
# htmltidy 0.3.0 htmltidy 0.3.0
====================
* Better error handling (fixed crashing bug in #1) * Better error handling (fixed crashing bug in #1)
* New option to display document errors * New option to display document errors
* Support for directly tidying httr::response objects * Support for directly tidying httr::response objects
* Added XML/HTML viewer & XPath query widgets * Added XML/HTML viewer & XPath query widgets
# htmltidy 0.2.0 htmltidy 0.2.0
====================
* Bundled tidy-html5 library with the package * Bundled tidy-html5 library with the package
* Windows compatibility * Windows compatibility
* Options handling * Options handling
@ -15,8 +15,8 @@
* Modified tests * Modified tests
# htmltidy 0.1.0 htmltidy 0.1.0
====================
* Added a `NEWS.md` file to track changes to the package. * Added a `NEWS.md` file to track changes to the package.
* Added Debian & Ubuntu compatibility * Added Debian & Ubuntu compatibility
* Added basic error checking * Added basic error checking

4
R/xmltreeview.R

@ -19,8 +19,8 @@
#' or used in a browser context vs an IDE viewer context. #' or used in a browser context vs an IDE viewer context.
#' @export #' @export
#' @references \href{https://github.com/juliangruber/xml-viewer}{xml-viewer} #' @references \href{https://github.com/juliangruber/xml-viewer}{xml-viewer}
#' @examples \dontrun{ #' @examples
#' library(htmltidy) #' if (interactive()) {
#' #'
#' # from ?xml2::read_xml #' # from ?xml2::read_xml
#' cd <- xml2::read_xml("http://www.xmlfiles.com/examples/cd_catalog.xml") #' cd <- xml2::read_xml("http://www.xmlfiles.com/examples/cd_catalog.xml")

3
R/xmlview.R

@ -27,7 +27,8 @@
#' @export #' @export
#' @references \href{https://highlightjs.org/}{highlight.js}, #' @references \href{https://highlightjs.org/}{highlight.js},
#' \href{http://www.eslinstructor.net/vkbeautify/}{vkbeautify} #' \href{http://www.eslinstructor.net/vkbeautify/}{vkbeautify}
#' @examples \dontrun{ #' @examples
#' if (interactive()) {
#' library(xml2) #' library(xml2)
#' #'
#' # plain text #' # plain text

12
cran-comments.md

@ -10,17 +10,13 @@
0 errors | 0 warnings | 2 notes 0 errors | 0 warnings | 2 notes
* This is a new release.
* XHTML is a valid and widely used acronym
This is a new release, so there are no reverse dependencies.
--- ---
This fixes a fairly nasty bug that was This fixes a fairly nasty bug that was
user-identfied fairly early after release user-identfied fairly early after release
but I didn't want to bug the CRAN team but I didn't want to bug the CRAN team
so quickly after the CRAN acceptange. This so quickly after the CRAN acceptance. This
also addes new functionality and (optionally) also addes new functionality (widgets for
viewing & querying XML/HTML) and (optionally)
provides more informaiton on the tidying provides more informaiton on the tidying
process. process.

3
man/xml_tree_view.Rd

@ -38,8 +38,7 @@ Large HTML or XML content may take some time to render properly. It is suggested
or used in a browser context vs an IDE viewer context. or used in a browser context vs an IDE viewer context.
} }
\examples{ \examples{
\dontrun{ if (interactive()) {
library(htmltidy)
# from ?xml2::read_xml # from ?xml2::read_xml
cd <- xml2::read_xml("http://www.xmlfiles.com/examples/cd_catalog.xml") cd <- xml2::read_xml("http://www.xmlfiles.com/examples/cd_catalog.xml")

2
man/xml_view.Rd

@ -48,7 +48,7 @@ Large HTML or XML content may take some time to render properly. It is suggested
or used in a browser context vs an IDE viewer context. or used in a browser context vs an IDE viewer context.
} }
\examples{ \examples{
\dontrun{ if (interactive()) {
library(xml2) library(xml2)
# plain text # plain text

Loading…
Cancel
Save