Skip to content

Commit

Permalink
Update as.nonmem2rx examples to not test (req CRAN)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Jul 3, 2023
1 parent f9a98c9 commit 086db97
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions R/asNonmem2rx.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#' @author Matthew L. Fidler
#' @examples
#'
#' \donttest{
#'
#' mod <- nonmem2rx(system.file("mods/cpt/runODE032.ctl", package="nonmem2rx"),
#' determineError=FALSE, lst=".res", save=FALSE)
#'
Expand Down Expand Up @@ -44,6 +46,8 @@
#' new <- try(as.nonmem2rx(mod2, mod))
#' if (!inherits(new, "try-error")) print(new, page=1)
#'
#' }
#'
as.nonmem2rx <- function(model1, model2, compress=TRUE) {
if (inherits(model1, "nonmem2rx")) {
.nm2rx <- model1
Expand Down
4 changes: 4 additions & 0 deletions man/as.nonmem2rx.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 086db97

Please sign in to comment.