Verified Commit d0eced1e authored by hrbrmstr's avatar hrbrmstr 🛌

CRAN

parent c2eb514a
^.*\.Rproj$
^\.Rproj\.user$
^README\.Rmd$
^README-.*\.png$
^README.*$
^\.travis\.yml$
^CONDUCT\.md$
^README\.html$
^cran-comments\.md$
^appveyor\.yml$
^docs$
^CRAN-RELEASE$
......@@ -6,3 +6,6 @@ r:
- oldrel
- release
- devel
after_success:
- Rscript -e 'covr::codecov()'
This package was submitted to CRAN on 2019-10-03.
Once it is accepted, delete this file and tag the release (commit c2eb514aa7).
......@@ -90,8 +90,20 @@ tidy_html(content(res, as="raw"))
tidy_html(content(res, as="text", encoding="UTF-8"))
tidy_html(content(res, as="parsed", encoding="UTF-8"))
```
```{r raw-02, eval=FALSE}
tidy_html(suppressWarnings(htmlParse("https://rud.is/test/untidy.html")))
## <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
## <html xmlns="http://www.w3.org/1999/xhtml">
## <head>
## <meta name="generator" content="HTML Tidy for HTML5 for R version 5.0.0">
## <title></title>
## </head>
## <body>
## <p>https://rud.is/test/untidy.html</p>
## </body>
## </html>
```
And, show the markup errors:
......
......@@ -223,7 +223,9 @@ tidy_html(content(res, as="parsed", encoding="UTF-8"))
## <html xmlns="http://www.w3.org/1999/xhtml">
## [1] <head>\n<meta name="generator" content="HTML Tidy for HTML5 for R version 5.0.0">\n<meta http-equiv="Content-Type ...
## [2] <body>\n<b>This is some <i>really</i> poorly formatted HTML as is this\n<span id="sp">portion</span></b>\n<div><s ...
```
``` r
tidy_html(suppressWarnings(htmlParse("https://rud.is/test/untidy.html")))
## <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
## <html xmlns="http://www.w3.org/1999/xhtml">
......@@ -235,7 +237,6 @@ tidy_html(suppressWarnings(htmlParse("https://rud.is/test/untidy.html")))
## <p>https://rud.is/test/untidy.html</p>
## </body>
## </html>
##
```
And, show the markup errors:
......@@ -305,7 +306,7 @@ sum(map_int(book, nchar))
## [1] 207501
system.time(tidy_book <- tidy_html(book))
## user system elapsed
## 0.019 0.000 0.019
## 0.02 0.00 0.02
```
(It’s usually between 20 & 25 milliseconds to process those 202
......@@ -319,7 +320,7 @@ kilobytes of HTML.) Not too shabby.
| C/C++ Header | 37 | 0.47 | 5796 | 0.16 | 1227 | 0.20 | 2677 | 0.36 |
| C++ | 4 | 0.05 | 647 | 0.02 | 117 | 0.02 | 64 | 0.01 |
| R | 10 | 0.13 | 151 | 0.00 | 38 | 0.01 | 235 | 0.03 |
| Rmd | 1 | 0.01 | 47 | 0.00 | 44 | 0.01 | 70 | 0.01 |
| Rmd | 1 | 0.01 | 47 | 0.00 | 44 | 0.01 | 82 | 0.01 |
## Code of Conduct
......
......@@ -2,9 +2,13 @@
* local OS X install, R 3.6.1
* ubuntu 14.04 (on travis-ci), R 3.6.1
* win-builder (devel and release)
* r-hub fedora, debian, windows
## R CMD check results
0 errors | 0 warnings | 1 note
* This is a new release.
* This is a update/fix release.
- updates the core included C library
- fixes the CRAN check issues identified by Kurt
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment