To run the tests, the package must be installed with its tests:
install.packages(pkgs="PKNCA", INSTALL_opts="--install-tests")
library(devtools)
install_github("billdenney/pknca", args="--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] "2018-06-12"
sessionInfo()
## R version 3.4.3 (2017-11-30)
## Platform: x86_64-w64-mingw32/x64 (64-bit)
## Running under: Windows 10 x64 (build 17134)
##
## 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.0.0 bindrcpp_0.2.2 knitr_1.20 cowplot_0.9.2
## [5] ggplot2_2.2.1 dplyr_0.7.5 PKNCA_0.8.5
##
## loaded via a namespace (and not attached):
## [1] Rcpp_0.12.17 pillar_1.2.1 compiler_3.4.3 plyr_1.8.4
## [5] highr_0.6 bindr_0.1.1 tools_3.4.3 digest_0.6.15
## [9] evaluate_0.10.1 tibble_1.4.2 nlme_3.1-131 gtable_0.2.0
## [13] lattice_0.20-35 pkgconfig_2.0.1 rlang_0.2.0 yaml_2.1.17
## [17] parallel_3.4.3 stringr_1.3.1 rprojroot_1.3-2 grid_3.4.3
## [21] tidyselect_0.2.4 glue_1.2.0 R6_2.2.2 rmarkdown_1.9
## [25] purrr_0.2.4 magrittr_1.5 backports_1.1.2 scales_0.5.0
## [29] htmltools_0.3.6 assertthat_0.2.0 colorspace_1.3-2 labeling_0.3
## [33] stringi_1.1.7 lazyeval_0.2.1 munsell_0.4.3