# 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] "2025-05-08"

    sessionInfo()

    ## R version 4.4.2 (2024-10-31 ucrt)
    ## Platform: x86_64-w64-mingw32/x64
    ## Running under: Windows 11 x64 (build 26100)
    ##
    ## 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.2 purrr_1.0.2    tidyr_1.3.1    ggplot2_3.5.1  cowplot_1.1.3
    ## [6] knitr_1.49     dplyr_1.1.4    PKNCA_0.12.0
    ##
    ## loaded via a namespace (and not attached):
    ##  [1] ggdist_3.3.2         sass_0.4.9           utf8_1.2.4
    ##  [4] generics_0.1.3       pmxTools_1.3         xml2_1.3.6
    ##  [7] stringi_1.8.4        lattice_0.22-6       gghalves_0.1.4
    ## [10] digest_0.6.37        magrittr_2.0.3       evaluate_1.0.1
    ## [13] grid_4.4.2           fastmap_1.2.0        jsonlite_1.8.9
    ## [16] brio_1.1.5           backports_1.5.0      pander_0.6.5
    ## [19] scales_1.3.0         jquerylib_0.1.4      cli_3.6.3
    ## [22] rlang_1.1.4          crayon_1.5.3         units_0.8-7
    ## [25] munsell_0.5.1        withr_3.0.2          cachem_1.1.0
    ## [28] yaml_2.3.10          tools_4.4.2          parallel_4.4.2
    ## [31] checkmate_2.3.2      colorspace_2.1-1     mime_0.12
    ## [34] vctrs_0.6.5          R6_2.5.1             lifecycle_1.0.4
    ## [37] stringr_1.5.1        MASS_7.3-61          pkgconfig_2.0.3
    ## [40] pillar_1.10.0        bslib_0.8.0          gtable_0.3.6
    ## [43] glue_1.8.0           Rcpp_1.0.13-1        xfun_0.49
    ## [46] tibble_3.2.1         tidyselect_1.2.1     data.tree_1.1.0
    ## [49] rstudioapi_0.17.1    farver_2.1.2         patchwork_1.2.0
    ## [52] htmltools_0.5.8.1    nlme_3.1-166         rmarkdown_2.29
    ## [55] labeling_0.4.3       compiler_4.4.2       distributional_0.4.0