Skip to content

Commit

Permalink
added utils::
Browse files Browse the repository at this point in the history
  • Loading branch information
brandmaier committed Apr 8, 2024
1 parent 22a7126 commit 6af4ae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/semtree.R
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ semtree <- function(model, data = NULL, control = NULL, constraints = NULL,
# if (control$verbose) { ui_message("Detected ctsem model.") }
control$sem.prog <- "ctsem"

ctsemomx_omx_installed <- "ctsemOMX" %in% installed.packages()[,"Package"]
ctsemomx_omx_installed <- "ctsemOMX" %in% utils::installed.packages()[,"Package"]
if (!ctsemomx_omx_installed) {
stop("Please install ctsemOMX first.")
}
Expand Down

0 comments on commit 6af4ae7

Please sign in to comment.