You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Working with @eliotmcintire , this is likely a useful function:
suggestModules <- function(sim, suggestedModules) {
io <- inputObjects(sim, currentModule(sim))
objectNamesExpected <- io$objectName
available <- objectNamesExpected %in% ls(sim)
if (any(!available)) stop("The inputObjects for spadesCBMcore are not all available:",
"These are missing:", paste(objectNamesExpected[!available], collapse = ", "),
". \n\nHave you run ",
suggestedModules,
"?")
}
The text was updated successfully, but these errors were encountered:
suggestModules <- function(sim, suggestedModules) {
io <- inputObjects(sim, currentModule(sim))
objectNamesExpected <- io$objectName
available <- objectNamesExpected %in% ls(sim)
if (any(!available))
stop("The inputObjects for ", currentModule(sim), " are not all available:",
"These are missing:", paste(objectNamesExpected[!available], collapse = ", "),
". \n\nHave you run ", suggestedModules, "?")
}
Working with @eliotmcintire , this is likely a useful function:
The text was updated successfully, but these errors were encountered: