# PKNCA Validation

#### Bill Denney

# Introduction

To run the tests, the package must be installed with its tests:

- To install from CRAN:
  - `install.packages(pkgs="PKNCA", INSTALL_opts="--install-tests", type="source")`
- To install from GitHub:
  - `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.

# Summary of Testing

The following sentence is dynamically generated to summarize the testing results: Tests were not run because tests are not installed.

# Session Information

    Sys.Date()

    ## [1] "2024-06-19"

    sessionInfo()

    ## R version 4.3.2 (2023-10-31 ucrt)
    ## Platform: x86_64-w64-mingw32/x64 (64-bit)
    ## Running under: Windows 11 x64 (build 22631)
    ##
    ## 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
    ##
    ## time zone: America/New_York
    ## tzcode source: internal
    ##
    ## attached base packages:
    ## [1] stats     graphics  grDevices utils     datasets  methods   base
    ##
    ## other attached packages:
    ## [1] testthat_3.2.1 purrr_1.0.2    tidyr_1.3.1    ggplot2_3.4.4  cowplot_1.1.3
    ## [6] knitr_1.45     dplyr_1.1.2    PKNCA_0.11.0
    ##
    ## loaded via a namespace (and not attached):
    ##  [1] ggdist_3.3.0         sass_0.4.7           utf8_1.2.3
    ##  [4] generics_0.1.3       pmxTools_1.3         xml2_1.3.5
    ##  [7] stringi_1.8.3        lattice_0.21-9       gghalves_0.1.4
    ## [10] digest_0.6.34        magrittr_2.0.3       evaluate_0.21
    ## [13] grid_4.3.2           fastmap_1.1.1        jsonlite_1.8.7
    ## [16] brio_1.1.3           backports_1.4.1      pander_0.6.5
    ## [19] fansi_1.0.4          scales_1.2.1         jquerylib_0.1.4
    ## [22] cli_3.6.1            crayon_1.5.2         rlang_1.1.1
    ## [25] units_0.8-5          munsell_0.5.0        withr_3.0.0
    ## [28] cachem_1.0.8         yaml_2.3.7           tools_4.3.2
    ## [31] parallel_4.3.2       checkmate_2.2.0      colorspace_2.1-0
    ## [34] mime_0.12            vctrs_0.6.3          R6_2.5.1
    ## [37] lifecycle_1.0.4      stringr_1.5.1        MASS_7.3-60
    ## [40] pkgconfig_2.0.3      pillar_1.9.0         bslib_0.5.1
    ## [43] gtable_0.3.3         glue_1.6.2           Rcpp_1.0.11
    ## [46] xfun_0.40            tibble_3.2.1         tidyselect_1.2.0
    ## [49] highr_0.10           data.tree_1.0.0      rstudioapi_0.15.0
    ## [52] farver_2.1.1         patchwork_1.1.2      htmltools_0.5.6
    ## [55] nlme_3.1-163         rmarkdown_2.25       labeling_0.4.2
    ## [58] compiler_4.3.2       distributional_0.3.2