Skip to content

Commit

Permalink
Fix R cmd check issues
Browse files Browse the repository at this point in the history
  • Loading branch information
billdenney committed Jul 14, 2023
1 parent 56b62b9 commit 22284e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
^nlmixrtargets\.Rproj$
^\.Rproj\.user$
^LICENSE$
^LICENSE\.md$
^README\.Rmd$
^cran-comments\.md$
Expand Down
2 changes: 1 addition & 1 deletion R/simplify.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 22284e0

Please sign in to comment.