diff --git a/DESCRIPTION b/DESCRIPTION index 97c9db2e..53f6a65f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: NMdata Type: Package Title: Preparation, Checking and Post-Processing Data for PK/PD Modeling -Version: 0.1.1.903 +Version: 0.1.1.911 Authors@R: c(person("Philip", "Delff", email = "philip@delff.dk", role = c("aut", "cre"))) Maintainer: Philip Delff Description: Efficient tools for preparation, checking and post-processing of data in PK/PD (pharmacokinetics/pharmacodynamics) modeling, with focus on use of Nonmem. Attention is paid to ensure consistency, traceability, and Nonmem compatibility of Data. Rigorously checks final Nonmem datasets. Implemented in 'data.table', but easily integrated with 'base' and 'tidyverse'. diff --git a/R/NMcheckColnames.R b/R/NMcheckColnames.R index 1e7f8501..b1878dfc 100644 --- a/R/NMcheckColnames.R +++ b/R/NMcheckColnames.R @@ -1,10 +1,11 @@ ##' Compare $INPUT in control stream to column names in input data ##' -##' Misspecification of column names in $DATA are a common source of -##' problems with Nonmem models, and one of the first things to check -##' when seemingly inexplicable things happen. This function lines up -##' input data column names with $DATA and how NMscanData will -##' interpret $DATA so you can easily spot if something is off. +##' Mis-specification of column names in $DATA is a common source of +##' problems with Nonmem models, and should be one of the first things +##' to check for when seemingly inexplicable things happen. This +##' function lines up input data column names with $DATA and how +##' NMscanData will interpret $DATA so you can easily spot if +##' something is off. ##' ##' @param file A Nonmem control stream or list file ##' @param as.fun See ?NMdataConf diff --git a/R/NMcheckData.R b/R/NMcheckData.R index 7a2bd394..6c61e5b1 100644 --- a/R/NMcheckData.R +++ b/R/NMcheckData.R @@ -129,11 +129,11 @@ ##' ##' \item If found, SS must be a numeric, equaling 0 or 1 for dosing records. ##' -##' \item If found, ADDL must be a non-negative integer for dosing +##' \item If found, \code{ADDL} must be a non-negative integer for dosing ##' records. II must be present. ##' ##' \item If found, II must be a non-negative integer for dosing -##' records. ADDL must be present. +##' records. \code{ADDL} must be present. ##' ##' \item ID must be positive and values cannot be disjoint (all ##' records for each ID must be following each other. This is diff --git a/R/deprecatedArg.R b/R/deprecatedArg.R index 1eff86a1..e904f4b8 100644 --- a/R/deprecatedArg.R +++ b/R/deprecatedArg.R @@ -9,7 +9,7 @@ ##' @param args List of arguments in the function call to look for ##' oldarg and newarg. See `?getArgs`. If missing, `getArgs()` ##' will be called from within `deprecatedArg`. See `which` too. -##' @param which If calling `getArgs` this is passed along, refering +##' @param which If calling `getArgs` this is passed along, referring ##' to how many environments to jump to look at arguments. ##' @return The coalesced value of arguments ##' @family arguments diff --git a/inst/WORDLIST b/inst/WORDLIST new file mode 100644 index 00000000..fe0a88aa --- /dev/null +++ b/inst/WORDLIST @@ -0,0 +1,24 @@ +csv +Dowle +EVID +Fidler +findVovs +fread +fst +NMcheckData +NMdataConf +NMreadExt +NMreadPhi +NMreadSection +NMreadTab +NMscanData +NMscanTables +NMstamp +NMwriteData +NMwriteSection +Nonmem +PSN +rds +tibble +writeLines +xgxr diff --git a/tests/testthat/testReference/NMreadPhi_01.rds b/tests/testthat/testReference/NMreadPhi_01.rds index 909c2bb6..ae3d5674 100644 Binary files a/tests/testthat/testReference/NMreadPhi_01.rds and b/tests/testthat/testReference/NMreadPhi_01.rds differ