diff --git a/R/as.nlmixr2.R b/R/as.nlmixr2.R index 3eda75df..068575e5 100644 --- a/R/as.nlmixr2.R +++ b/R/as.nlmixr2.R @@ -8,6 +8,7 @@ #' @author Matthew L. Fidler #' @examples #' +#' \donttest{ #' # First read in the model (but without residuals) #' mod <- nonmem2rx(system.file("mods/cpt/runODE032.ctl", package="nonmem2rx"), #' determineError=FALSE, lst=".res", save=FALSE) @@ -56,6 +57,7 @@ #' fit <- as.nlmixr2(new) #' #' print(fit) +#' } as.nlmixr2 <- function(x, ..., table=nlmixr2est::tableControl()) { UseMethod("as.nlmixr2") } diff --git a/man/as.nlmixr2.Rd b/man/as.nlmixr2.Rd index b5002303..57571d66 100644 --- a/man/as.nlmixr2.Rd +++ b/man/as.nlmixr2.Rd @@ -24,6 +24,7 @@ Convert an object to a nlmixr2 fit object } \examples{ +\donttest{ # First read in the model (but without residuals) mod <- nonmem2rx(system.file("mods/cpt/runODE032.ctl", package="nonmem2rx"), determineError=FALSE, lst=".res", save=FALSE) @@ -73,6 +74,7 @@ fit <- as.nlmixr2(new) print(fit) } +} \author{ Matthew L. Fidler }