From a7a40b4169134c419f2e094869d1e82fbeceaa55 Mon Sep 17 00:00:00 2001 From: Philip Delff Date: Wed, 18 Oct 2023 20:59:19 -0400 Subject: [PATCH] bump version --- DESCRIPTION | 2 +- R/NMcheckData.R | 2 +- man/NMcheckColnames.Rd | 11 ++++++----- man/NMcheckData.Rd | 4 ++-- man/NMreadSection.Rd | 4 ++-- man/compareCols.Rd | 14 +++++++------- man/deprecatedArg.Rd | 2 +- 7 files changed, 20 insertions(+), 19 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 53f6a65f..bfd9eb76 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.911 +Version: 0.1.2 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/NMcheckData.R b/R/NMcheckData.R index 6c61e5b1..14db4b19 100644 --- a/R/NMcheckData.R +++ b/R/NMcheckData.R @@ -110,7 +110,7 @@ ##' ##' \item col.time (TIME) must be non-negative ##' -##' \item EVID must be in {0,1,2,3,4} +##' \item EVID must be in {0,1,2,3,4}. ##' ##' \item CMT must be positive integers. However, can be missing or zero for EVID==3. ##' diff --git a/man/NMcheckColnames.Rd b/man/NMcheckColnames.Rd index f3c9b6dd..e87b280e 100644 --- a/man/NMcheckColnames.Rd +++ b/man/NMcheckColnames.Rd @@ -17,10 +17,11 @@ NMcheckColnames(file, as.fun, ...) An overview of input column names and how they are translated } \description{ -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. } \concept{debug} diff --git a/man/NMcheckData.Rd b/man/NMcheckData.Rd index d68824ef..60a82a69 100644 --- a/man/NMcheckData.Rd +++ b/man/NMcheckData.Rd @@ -182,11 +182,11 @@ dosing records (EVID==0). \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/man/NMreadSection.Rd b/man/NMreadSection.Rd index 8f494380..a8f39634 100644 --- a/man/NMreadSection.Rd +++ b/man/NMreadSection.Rd @@ -94,9 +94,9 @@ suitable for the results part too. } \section{Functions}{ \itemize{ -\item \code{NMgetSection}: Deprecated function name. Use NMreadSection. -}} +\item \code{NMgetSection()}: Deprecated function name. Use NMreadSection. +}} \examples{ NMreadSection(system.file("examples/nonmem/xgxr001.lst", package="NMdata"),section="DATA") diff --git a/man/compareCols.Rd b/man/compareCols.Rd index e15879d0..82011e32 100644 --- a/man/compareCols.Rd +++ b/man/compareCols.Rd @@ -80,14 +80,14 @@ or class across multiple datasets. Before running rbind, you may want to check the compatibility of the data. } \details{ -technically, this function compares classes of elements in - lists. However, in relation to NMdata, this will most of the - time be columns in data.frames. +technically, this function compares classes of elements + in lists. However, in relation to NMdata, this will most of + the time be columns in data.frames. -Despite the name of the argument fun.class, it can be any -function to be evaluated on each element in `...`. See examples for how -to extract SAS labels on an object read with `read_sas` from -the `haven` package. +Despite the name of the argument fun.class, it can be any function +to be evaluated on each element in `...`. See examples for how to +extract SAS labels on an object read with `read_sas` from the +`haven` package. } \examples{ ## get SAS labels from objects read with haven::read_sas diff --git a/man/deprecatedArg.Rd b/man/deprecatedArg.Rd index e1c21649..02bceab4 100644 --- a/man/deprecatedArg.Rd +++ b/man/deprecatedArg.Rd @@ -16,7 +16,7 @@ string).} oldarg and newarg. See `?getArgs`. If missing, `getArgs()` will be called from within `deprecatedArg`. See `which` too.} -\item{which}{If calling `getArgs` this is passed along, refering +\item{which}{If calling `getArgs` this is passed along, referring to how many environments to jump to look at arguments.} } \value{