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] "2022-10-04"
## R version 4.2.1 (2022-06-23)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 20.04.5 LTS
##
## Matrix products: default
## BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0
## LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0
##
## locale:
## [1] LC_CTYPE=C.UTF-8 LC_NUMERIC=C LC_TIME=C.UTF-8
## [4] LC_COLLATE=C.UTF-8 LC_MONETARY=C.UTF-8 LC_MESSAGES=C.UTF-8
## [7] LC_PAPER=C.UTF-8 LC_NAME=C LC_ADDRESS=C
## [10] LC_TELEPHONE=C LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C
##
## attached base packages:
## [1] stats graphics grDevices utils datasets methods base
##
## other attached packages:
## [1] dplyr_1.0.10 testthat_3.1.4 knitr_1.40 PKNCA_0.9.5.9005
##
## loaded via a namespace (and not attached):
## [1] bslib_0.4.0 compiler_4.2.1 pillar_1.8.1 jquerylib_0.1.4
## [5] tools_4.2.1 digest_0.6.29 lattice_0.20-45 nlme_3.1-157
## [9] jsonlite_1.8.2 evaluate_0.16 memoise_2.0.1 lifecycle_1.0.2
## [13] tibble_3.1.8 pkgconfig_2.0.3 rlang_1.0.6 DBI_1.1.3
## [17] cli_3.4.1 yaml_2.3.5 pkgdown_2.0.6 xfun_0.33
## [21] fastmap_1.1.0 stringr_1.4.1 desc_1.4.2 generics_0.1.3
## [25] fs_1.5.2 sass_0.4.2 vctrs_0.4.2 systemfonts_1.0.4
## [29] grid_4.2.1 rprojroot_2.0.3 tidyselect_1.1.2 glue_1.6.2
## [33] R6_2.5.1 textshaping_0.3.6 fansi_1.0.3 rmarkdown_2.16
## [37] purrr_0.3.4 magrittr_2.0.3 htmltools_0.5.3 assertthat_0.2.1
## [41] ragg_1.2.3 utf8_1.2.2 stringi_1.7.8 cachem_1.0.6
## [45] brio_1.1.3