No known key found for this signature in database
GPG Key ID: 1D7529BE14E2BBA9
4 changed files with
18 additions and
2 deletions
-
.Rbuildignore
-
DESCRIPTION
-
README.md
-
codecov.yml
|
@ -8,3 +8,4 @@ |
|
|
^appveyor\.yml$ |
|
|
^appveyor\.yml$ |
|
|
^docs$ |
|
|
^docs$ |
|
|
^CRAN-RELEASE$ |
|
|
^CRAN-RELEASE$ |
|
|
|
|
|
^codecov\.yml$ |
|
|
|
@ -46,7 +46,8 @@ NeedsCompilation: yes |
|
|
Suggests: |
|
|
Suggests: |
|
|
testthat, |
|
|
testthat, |
|
|
httr, |
|
|
httr, |
|
|
rvest |
|
|
rvest, |
|
|
|
|
|
covr |
|
|
LinkingTo: Rcpp |
|
|
LinkingTo: Rcpp |
|
|
Imports: |
|
|
Imports: |
|
|
Rcpp, |
|
|
Rcpp, |
|
|
|
@ -69,6 +69,8 @@ collapseable tree view. |
|
|
## Installation |
|
|
## Installation |
|
|
|
|
|
|
|
|
``` r |
|
|
``` r |
|
|
|
|
|
install.packages("htmltidy", repos = "https://cinc.rud.is") |
|
|
|
|
|
# or |
|
|
remotes::install_git("https://git.rud.is/hrbrmstr/htmltidy.git") |
|
|
remotes::install_git("https://git.rud.is/hrbrmstr/htmltidy.git") |
|
|
# or |
|
|
# or |
|
|
remotes::install_git("https://git.sr.ht/~hrbrmstr/htmltidy") |
|
|
remotes::install_git("https://git.sr.ht/~hrbrmstr/htmltidy") |
|
@ -306,7 +308,7 @@ sum(map_int(book, nchar)) |
|
|
## [1] 207501 |
|
|
## [1] 207501 |
|
|
system.time(tidy_book <- tidy_html(book)) |
|
|
system.time(tidy_book <- tidy_html(book)) |
|
|
## user system elapsed |
|
|
## user system elapsed |
|
|
## 0.02 0.00 0.02 |
|
|
## 0.019 0.000 0.019 |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
(It’s usually between 20 & 25 milliseconds to process those 202 |
|
|
(It’s usually between 20 & 25 milliseconds to process those 202 |
|
|
|
@ -0,0 +1,12 @@ |
|
|
|
|
|
comment: false |
|
|
|
|
|
|
|
|
|
|
|
coverage: |
|
|
|
|
|
status: |
|
|
|
|
|
project: |
|
|
|
|
|
default: |
|
|
|
|
|
target: auto |
|
|
|
|
|
threshold: 1% |
|
|
|
|
|
patch: |
|
|
|
|
|
default: |
|
|
|
|
|
target: auto |
|
|
|
|
|
threshold: 1% |