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.
## [1] "2020-02-28"
## R version 3.6.2 (2019-12-12)
## Platform: x86_64-w64-mingw32/x64 (64-bit)
## Running under: Windows 10 x64 (build 18363)
##
## 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_2.3.1 ggplot2_3.2.1 knitr_1.28 cowplot_1.0.0 dplyr_0.8.4
## [6] PKNCA_0.9.2
##
## loaded via a namespace (and not attached):
## [1] Rcpp_1.0.3 highr_0.8 pillar_1.4.3 compiler_3.6.2
## [5] tools_3.6.2 digest_0.6.24 evaluate_0.14 lifecycle_0.1.0
## [9] tibble_2.1.3 gtable_0.3.0 nlme_3.1-142 lattice_0.20-38
## [13] pkgconfig_2.0.3 rlang_0.4.4 rstudioapi_0.11 yaml_2.2.1
## [17] parallel_3.6.2 xfun_0.12 withr_2.1.2 stringr_1.4.0
## [21] vctrs_0.2.2 grid_3.6.2 tidyselect_1.0.0 glue_1.3.1
## [25] R6_2.4.1 rmarkdown_2.1 farver_2.0.3 purrr_0.3.3
## [29] tidyr_1.0.2 magrittr_1.5 scales_1.1.0 htmltools_0.4.0
## [33] assertthat_0.2.1 colorspace_1.4-1 labeling_0.3 stringi_1.4.6
## [37] lazyeval_0.2.2 munsell_0.5.0 crayon_1.3.4