Skip to content

Commit

Permalink
::check() fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed May 25, 2024
1 parent ec96d3e commit a54dd3d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ importFrom(nlmixr2est,nmObjHandleControlObject)
importFrom(nonmem2rx,as.nonmem2rx)
importFrom(nonmem2rx,nonmem2rx)
importFrom(rxode2,.minfo)
importFrom(rxode2,`model<-`)
importFrom(rxode2,rxModelVars)
importFrom(rxode2,rxUiGet)
importFrom(stats,na.omit)
Expand Down
1 change: 1 addition & 0 deletions R/monolixControl.R
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
#' @importFrom methods is
#' @importFrom stats na.omit setNames
#' @importFrom utils assignInMyNamespace read.csv write.csv
#' @importFrom rxode2 `model<-`
monolixControl <- function(nbSSDoses=7,
useLinearization=FALSE,
stiff=FALSE,
Expand Down
4 changes: 2 additions & 2 deletions R/poped.R
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ rxUiGet.popedSettings <- function(x, ...) {
bUseBFGSMinimizer=rxode2::rxGetControl(ui, "bUseBFGSMinimizer", FALSE) * 1,
EACriteria=rxode2::rxGetControl(ui, "EACriteria", 1),
run_file_pointer=rxode2::rxGetControl(ui, "strRunFile", ""),
poped_version=rxode2::rxGetControl(ui, "poped_version", packageVersion("PopED")),
poped_version=rxode2::rxGetControl(ui, "poped_version", utils::packageVersion("PopED")),
modtit=rxode2::rxGetControl(ui, "modtit", "PopED babelmixr2 model"),
output_file=rxode2::rxGetControl(ui, "output_file", "PopED_output_summary"),
output_function_file=rxode2::rxGetControl(ui, "output_function_file", "PopED_output_"),
Expand Down Expand Up @@ -1681,7 +1681,7 @@ popedControl <- function(stickyRecalcN=4,
checkmate::assertLogical(bUseBFGSMinimizer, len=1, any.missing=FALSE)
checkmate::assertLogical(fixRes, len=1, any.missing=FALSE)
if (is.null(poped_version)) {
poped_version <- packageVersion("PopED")
poped_version <- utils::packageVersion("PopED")
}
checkmate::assertCharacter(modtit, len=1, any.missing=FALSE, min.chars=1)
checkmate::assertCharacter(output_file, len=1, any.missing=FALSE, min.chars = 1)
Expand Down

0 comments on commit a54dd3d

Please sign in to comment.