| pdfIQ | R Documentation |
Generate a self-contained PDF report that documents whether the
ncar / NonCompart packages are correctly installed, intact,
loadable, and operational in the user's own R environment. It is intended
as Installation Qualification (IQ) evidence, in the spirit of the
WinNonlin validation suite. The report uses only base R and the package's
own pdf helpers, so it requires no LaTeX, pandoc, or other external tools.
pdfIQ(fileName = "ncar-IQ-Report.pdf", pkgs = c("ncar", "NonCompart"),
functional = TRUE, performedBy = "", paper = "auto", sigField = FALSE)
fileName |
file name to save the PDF report |
pkgs |
character vector of package names to qualify. Their declared dependencies are checked automatically. |
functional |
if |
performedBy |
name of the person performing the qualification, printed in the report header. Defaults to the login name. |
paper |
paper size: |
sigField |
if |
The report contains: (1) the test environment (R version, platform, OS,
locale, library paths); (2) installed package versions, locations and
declared-dependency version satisfaction; (3) file integrity via
checkMD5sums (PASS when files match the MD5 manifest,
FAIL on mismatch, WARN when no manifest is present, e.g. for a local source
install rather than a CRAN install); (4) namespace load and presence of
core exported functions; (5) the optional functional verification; an
overall QUALIFIED / NOT QUALIFIED verdict; a signature block; and a
sessionInfo appendix.
Invisibly returns a list with elements fileName, qualified
(logical), checks (a data frame of every check with its Section,
Item, Result and Status), and the counts nPass, nFail,
nWarn. A PDF file is written to fileName as a side effect.
Kyun-Seop Bae <k@acr.kr>
pdfNCA, txtNCA, checkMD5sums,
sessionInfo
#pdfIQ()
#pdfIQ(fileName = "MyInstall-IQ.pdf", performedBy = "Jane Doe")
#res <- pdfIQ()
#res$qualified
#res$checks
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.