File tree Expand file tree Collapse file tree 3 files changed +214
-178
lines changed
Expand file tree Collapse file tree 3 files changed +214
-178
lines changed Original file line number Diff line number Diff line change 5050 run : |
5151 library(tinytest)
5252 roxygen2::roxygenize()
53- test_covr <- covr::package_coverage()
54- lowest_covr_value <- min(sapply(test_covr, "[[", "value"))
55- if (lowest_covr_value < 1) stop(sprintf("Coverage of %s (<1) too low", lowest_covr_value))
53+ test_covr <- covr::percent_coverage(covr::package_coverage())
54+ if (test_covr < 90) stop(sprintf("Coverage of %s (<90) too low", lowest_covr_value))
5655 shell : Rscript {0}
5756
5857 - name : Check
Original file line number Diff line number Diff line change @@ -29,9 +29,11 @@ Suggests:
2929 broom,
3030 rmarkdown,
3131 tinytest,
32- lintr
32+ lintr,
33+ roxygen2,
34+ covr
3335License: GPL-3
3436VignetteBuilder: knitr
3537RoxygenNote: 7.1.1
3638URL: https://github.com/MarselScheer/simTool
37- BugReports: https://github.com/MarselScheer/simTool/issues
39+ BugReports: https://github.com/MarselScheer/simTool/issues
You can’t perform that action at this time.
0 commit comments