Browse Source

pre-CRAN flight check

tags/v0.3.0 v0.3.0
Bob Rudis 6 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$
^cran-comments\.md$
^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)
* New option to display document errors
* Support for directly tidying httr::response objects
* Added XML/HTML viewer & XPath query widgets
# htmltidy 0.2.0
htmltidy 0.2.0
====================
* Bundled tidy-html5 library with the package
* Windows compatibility
* Options handling
@ -15,8 +15,8 @@
* Modified tests
# htmltidy 0.1.0
htmltidy 0.1.0
====================
* Added a `NEWS.md` file to track changes to the package.
* Added Debian & Ubuntu compatibility
* Added basic error checking

4
R/xmltreeview.R

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

3
R/xmlview.R

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

12
cran-comments.md

@ -10,17 +10,13 @@
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
user-identfied fairly early after release
but I didn't want to bug the CRAN team
so quickly after the CRAN acceptange. This
also addes new functionality and (optionally)
so quickly after the CRAN acceptance. This
also addes new functionality (widgets for
viewing & querying XML/HTML) and (optionally)
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.
}
\examples{
\dontrun{
library(htmltidy)
if (interactive()) {
# from ?xml2::read_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.
}
\examples{
\dontrun{
if (interactive()) {
library(xml2)
# plain text

Loading…
Cancel
Save