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-15"
sessionInfo()
## R version 4.2.1 (2022-06-23 ucrt)
## Platform: x86_64-w64-mingw32/x64 (64-bit)
## Running under: Windows 10 x64 (build 22000)
##
## 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.4.1 purrr_0.3.5
## [5] readr_2.1.3 tidyr_1.2.1 tibble_3.1.8 tidyverse_1.3.2
## [9] ggplot2_3.3.6 cowplot_1.1.1 knitr_1.40 dplyr_1.0.10
## [13] PKNCA_0.10.0
##
## 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.5
## [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.29
## [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 googledrive_2.0.0
## [34] generics_0.1.3 farver_2.1.1 ellipsis_0.3.2
## [37] cachem_1.0.6 withr_2.5.0 cli_3.4.1
## [40] mime_0.12 crayon_1.5.2 readxl_1.4.1
## [43] magrittr_2.0.3 evaluate_0.17 data.tree_1.0.0
## [46] fs_1.5.2 fansi_1.0.3 nlme_3.1-159
## [49] MASS_7.3-58.1 xml2_1.3.3 tools_4.2.1
## [52] hms_1.1.2 gargle_1.2.1 lifecycle_1.0.3
## [55] reprex_2.0.2 munsell_0.5.0 compiler_4.2.1
## [58] jquerylib_0.1.4 rlang_1.0.6 units_0.8-0
## [61] grid_4.2.1 rstudioapi_0.14 htmlwidgets_1.5.4
## [64] visNetwork_2.1.0 labeling_0.4.2 rmarkdown_2.17
## [67] gtable_0.3.1 DBI_1.1.3 R6_2.5.1
## [70] lubridate_1.8.0 fastmap_1.1.0 utf8_1.2.2
## [73] stringi_1.7.8 parallel_4.2.1 Rcpp_1.0.9
## [76] vctrs_0.4.2 dbplyr_2.2.1 tidyselect_1.2.0
## [79] xfun_0.33