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] "2023-04-29"
sessionInfo()
## R version 4.2.2 (2022-10-31 ucrt)
## Platform: x86_64-w64-mingw32/x64 (64-bit)
## Running under: Windows 10 x64 (build 22621)
##
## Matrix products: default
##
## locale:
## [1] LC_COLLATE=C
## [2] LC_CTYPE=English_United States.utf8
## [3] LC_MONETARY=English_United States.utf8
## [4] LC_NUMERIC=C
## [5] LC_TIME=English_United States.utf8
##
## attached base packages:
## [1] stats graphics grDevices utils datasets methods base
##
## other attached packages:
## [1] testthat_3.1.7.9000 purrr_1.0.1 tidyr_1.3.0
## [4] ggplot2_3.4.1 cowplot_1.1.1 knitr_1.42
## [7] dplyr_1.1.0 PKNCA_0.10.2
##
## loaded via a namespace (and not attached):
## [1] tidyselect_1.2.0 xfun_0.37 bslib_0.4.2
## [4] pander_0.6.5 lattice_0.20-45 colorspace_2.1-0
## [7] vctrs_0.5.2 generics_0.1.3 htmltools_0.5.4
## [10] yaml_2.3.7 utf8_1.2.2 rlang_1.1.0
## [13] jquerylib_0.1.4 pillar_1.8.1 glue_1.6.2
## [16] withr_2.5.0 distributional_0.3.1 lifecycle_1.0.3
## [19] stringr_1.5.0 munsell_0.5.0 gtable_0.3.2
## [22] data.tree_1.0.0 evaluate_0.20 labeling_0.4.2
## [25] gghalves_0.1.3 fastmap_1.1.0 parallel_4.2.2
## [28] fansi_1.0.3 pmxTools_1.3 highr_0.10
## [31] Rcpp_1.0.10 backports_1.4.1 scales_1.2.1
## [34] checkmate_2.1.0 cachem_1.0.6 jsonlite_1.8.4
## [37] mime_0.12 farver_2.1.1 brio_1.1.3
## [40] digest_0.6.31 stringi_1.7.12 grid_4.2.2
## [43] ggdist_3.2.0 cli_3.6.1 tools_4.2.2
## [46] magrittr_2.0.3 sass_0.4.4 patchwork_1.1.2
## [49] tibble_3.1.8 pkgconfig_2.0.3 MASS_7.3-58.1
## [52] xml2_1.3.3 rmarkdown_2.20 rstudioapi_0.14
## [55] R6_2.5.1 units_0.8-1 nlme_3.1-159
## [58] compiler_4.2.2