Skip to content

Commit

Permalink
test update
Browse files Browse the repository at this point in the history
  • Loading branch information
philipdelff committed Oct 18, 2023
1 parent a2c997e commit eb26865
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 9 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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 <philip@delff.dk>
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'.
Expand Down
11 changes: 6 additions & 5 deletions R/NMcheckColnames.R
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions R/NMcheckData.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion R/deprecatedArg.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
24 changes: 24 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
@@ -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
Binary file modified tests/testthat/testReference/NMreadPhi_01.rds
Binary file not shown.

0 comments on commit eb26865

Please sign in to comment.