Browse Source

coverage

master
boB Rudis 5 years ago
parent
commit
a0c99b36cd
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
  1. 1
      .Rbuildignore
  2. 3
      DESCRIPTION
  3. 4
      README.md
  4. 12
      codecov.yml

1
.Rbuildignore

@ -8,3 +8,4 @@
^appveyor\.yml$ ^appveyor\.yml$
^docs$ ^docs$
^CRAN-RELEASE$ ^CRAN-RELEASE$
^codecov\.yml$

3
DESCRIPTION

@ -46,7 +46,8 @@ NeedsCompilation: yes
Suggests: Suggests:
testthat, testthat,
httr, httr,
rvest rvest,
covr
LinkingTo: Rcpp LinkingTo: Rcpp
Imports: Imports:
Rcpp, Rcpp,

4
README.md

@ -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

12
codecov.yml

@ -0,0 +1,12 @@
comment: false
coverage:
status:
project:
default:
target: auto
threshold: 1%
patch:
default:
target: auto
threshold: 1%
Loading…
Cancel
Save