To run the tests, the package must be installed with its tests:
install.packages(pkgs="PKNCA", INSTALL_opts="--install-tests", type="source")
library(devtools)
install_github("billdenney/pknca", INSTALL_opts="--install-tests")
Testing and validation that results match in a local environment compared to the original environment is an important part of confirmation that a package works as expected.
Re-running this vignette in your local environment will confirm that local results match those in the original package development. Test success is confirmed by the existence of no failed tests; warnings are expected during testing (and not shown in this vignette for that reason); and some tests may be skipped, but those are expected as well.
The following sentence is dynamically generated to summarize the testing results: Tests were not run because tests are not installed.
Sys.Date()
## [1] "2021-10-29"
sessionInfo()
## R version 4.1.0 (2021-05-18)
## Platform: x86_64-w64-mingw32/x64 (64-bit)
## Running under: Windows 10 x64 (build 19043)
##
## Matrix products: default
##
## locale:
## [1] LC_COLLATE=C
## [2] LC_CTYPE=English_United States.1252
## [3] LC_MONETARY=English_United States.1252
## [4] LC_NUMERIC=C
## [5] LC_TIME=English_United States.1252
##
## attached base packages:
## [1] stats graphics grDevices utils datasets methods base
##
## other attached packages:
## [1] testthat_3.0.4 ggplot2_3.3.5 knitr_1.34 cowplot_1.1.1 dplyr_1.0.7
## [6] PKNCA_0.9.5
##
## loaded via a namespace (and not attached):
## [1] highr_0.9 bslib_0.3.0 compiler_4.1.0 pillar_1.6.2
## [5] jquerylib_0.1.4 tools_4.1.0 digest_0.6.27 lattice_0.20-44
## [9] nlme_3.1-153 jsonlite_1.7.2 evaluate_0.14 lifecycle_1.0.0
## [13] tibble_3.1.4 gtable_0.3.0 pkgconfig_2.0.3 rlang_0.4.11
## [17] rstudioapi_0.13 cli_3.0.1 DBI_1.1.1 parallel_4.1.0
## [21] yaml_2.2.1 xfun_0.25 fastmap_1.1.0 withr_2.4.2
## [25] stringr_1.4.0 generics_0.1.0 sass_0.4.0 vctrs_0.3.8
## [29] grid_4.1.0 tidyselect_1.1.1 glue_1.4.2 R6_2.5.1
## [33] fansi_0.5.0 rmarkdown_2.10 farver_2.1.0 tidyr_1.1.3
## [37] purrr_0.3.4 magrittr_2.0.1 scales_1.1.1 ellipsis_0.3.2
## [41] htmltools_0.5.2 assertthat_0.2.1 colorspace_2.0-2 labeling_0.4.2
## [45] utf8_1.2.2 stringi_1.7.4 munsell_0.5.0 crayon_1.4.1