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-01-10"
sessionInfo()
## R version 4.2.1 (2022-06-23 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.5 forcats_0.5.2 stringr_1.5.0 purrr_0.3.5
## [5] readr_2.1.3 tidyr_1.2.1 tibble_3.1.8 tidyverse_1.3.2
## [9] ggplot2_3.4.0 cowplot_1.1.1 knitr_1.41 dplyr_1.0.10
## [13] PKNCA_0.10.1
##
## loaded via a namespace (and not attached):
## [1] httr_1.4.4 sass_0.4.2 jsonlite_1.8.2
## [4] modelr_0.1.9 brio_1.1.3 bslib_0.4.0
## [7] assertthat_0.2.1 distributional_0.3.1 highr_0.9
## [10] ggdist_3.2.0 pander_0.6.5 pmxTools_1.2.3
## [13] googlesheets4_1.0.1 cellranger_1.1.0 yaml_2.3.6
## [16] pillar_1.8.1 backports_1.4.1 lattice_0.20-45
## [19] glue_1.6.2 gghalves_0.1.3 digest_0.6.30
## [22] RColorBrewer_1.1-3 checkmate_2.1.0 rvest_1.0.3
## [25] colorspace_2.0-3 htmltools_0.5.3 pkgconfig_2.0.3
## [28] broom_1.0.1 haven_2.5.1 DiagrammeR_1.0.9
## [31] scales_1.2.1 tzdb_0.3.0 timechange_0.1.1
## [34] googledrive_2.0.0 generics_0.1.3 farver_2.1.1
## [37] ellipsis_0.3.2 cachem_1.0.6 withr_2.5.0
## [40] cli_3.4.1 mime_0.12 crayon_1.5.2
## [43] readxl_1.4.1 magrittr_2.0.3 evaluate_0.18
## [46] data.tree_1.0.0 fs_1.5.2 fansi_1.0.3
## [49] nlme_3.1-159 MASS_7.3-58.1 xml2_1.3.3
## [52] tools_4.2.1 hms_1.1.2 gargle_1.2.1
## [55] lifecycle_1.0.3 reprex_2.0.2 munsell_0.5.0
## [58] compiler_4.2.1 jquerylib_0.1.4 rlang_1.0.6
## [61] units_0.8-0 grid_4.2.1 rstudioapi_0.14
## [64] htmlwidgets_1.5.4 visNetwork_2.1.0 labeling_0.4.2
## [67] rmarkdown_2.18 gtable_0.3.1 DBI_1.1.3
## [70] R6_2.5.1 lubridate_1.9.0 fastmap_1.1.0
## [73] utf8_1.2.2 stringi_1.7.8 parallel_4.2.1
## [76] Rcpp_1.0.9 vctrs_0.5.0 dbplyr_2.2.1
## [79] tidyselect_1.2.0 xfun_0.34