# 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("humanpred/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] "2025-08-18"

    sessionInfo()

    ## R version 4.5.0 (2025-04-11 ucrt)
    ## Platform: x86_64-w64-mingw32/x64
    ## Running under: Windows 11 x64 (build 26100)
    ##
    ## Matrix products: default
    ##   LAPACK version 3.12.1
    ##
    ## 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.3 purrr_1.1.0    tidyr_1.3.1    ggplot2_3.5.2  cowplot_1.2.0
    ## [6] knitr_1.50     dplyr_1.1.4    PKNCA_0.12.1
    ##
    ## loaded via a namespace (and not attached):
    ##  [1] ggdist_3.3.3         sass_0.4.10          utf8_1.2.5
    ##  [4] generics_0.1.4       pmxTools_1.3         xml2_1.3.8
    ##  [7] stringi_1.8.7        lattice_0.22-6       gghalves_0.1.4
    ## [10] digest_0.6.37        magrittr_2.0.3       evaluate_1.0.3
    ## [13] grid_4.5.0           RColorBrewer_1.1-3   fastmap_1.2.0
    ## [16] jsonlite_2.0.0       backports_1.5.0      brio_1.1.5
    ## [19] pander_0.6.6         scales_1.4.0         jquerylib_0.1.4
    ## [22] cli_3.6.5            rlang_1.1.6          crayon_1.5.3
    ## [25] units_0.8-7          withr_3.0.2          cachem_1.1.0
    ## [28] yaml_2.3.10          tools_4.5.0          parallel_4.5.0
    ## [31] checkmate_2.3.2      mime_0.13            vctrs_0.6.5
    ## [34] R6_2.6.1             lifecycle_1.0.4      stringr_1.5.1
    ## [37] MASS_7.3-65          pkgconfig_2.0.3      pillar_1.10.2
    ## [40] bslib_0.9.0          gtable_0.3.6         glue_1.8.0
    ## [43] Rcpp_1.0.14          xfun_0.52            tibble_3.3.0
    ## [46] tidyselect_1.2.1     data.tree_1.1.0      rstudioapi_0.17.1
    ## [49] farver_2.1.2         patchwork_1.3.0      htmltools_0.5.8.1
    ## [52] nlme_3.1-168         rmarkdown_2.29       labeling_0.4.3
    ## [55] compiler_4.5.0       distributional_0.5.0