Skip to content

Commit 1d6e92a

Browse files
committed
ssdms: fix ssdm methods
1 parent 5bb6927 commit 1d6e92a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/mod_ssdm_helpers.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1691,6 +1691,7 @@ reduce_sdm_formulas <- function(obj) {
16911691
if (
16921692
!isS4(model@object) &&
16931693
!is.null(model@object$call$formula) &&
1694+
model@object$call$formula != "formula" &&
16941695
deparse1(model@object$call$formula) != ".f") {
16951696

16961697
# Replace formula in the model call (if it exists and is not ".f")

0 commit comments

Comments
 (0)