Skip to content

Commit

Permalink
Make sure .pre is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Sep 29, 2024
1 parent 4541f0d commit 76c4fa2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/equation.R
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ mlxTxt <- function(file, retFile=FALSE) {
if (requireNamespace("lixoftConnectors", quietly = TRUE)) {
if (!checkmate::testCharacter(file, min.chars = 5, len=1)) {
.pre <- substr(file, 1, 4)
} else {
.pre <- ""
}
if (.pre == "lib:") {
if (is.na(.monolix2rx$lixoftConnectors)) {
Expand Down

0 comments on commit 76c4fa2

Please sign in to comment.