diff --git a/.Rbuildignore b/.Rbuildignore index 8b9b94f..5ee7385 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -1,5 +1,6 @@ ^nlmixrtargets\.Rproj$ ^\.Rproj\.user$ +^LICENSE$ ^LICENSE\.md$ ^README\.Rmd$ ^cran-comments\.md$ diff --git a/R/simplify.R b/R/simplify.R index e3dace6..5853d9f 100644 --- a/R/simplify.R +++ b/R/simplify.R @@ -43,7 +43,7 @@ nlmixr_object_simplify_zero_initial <- function(object) { } nlmixr_object_simplify_zero_initial_helper <- function(object) { - if (rxode2:::.matchesLangTemplate(object, str2lang(".name(initial) <- ."))) { + if (rxode2::.matchesLangTemplate(object, str2lang(".name(initial) <- ."))) { object[[2]][[2]] <- 0 } else if (is.call(object)) { for (idx in seq_along(object)) {