Skip to content

Comments

fix environemnt problems#21

Merged
mjemons merged 1 commit intodevelfrom
FixEnvCall
Oct 28, 2025
Merged

fix environemnt problems#21
mjemons merged 1 commit intodevelfrom
FixEnvCall

Conversation

@mjemons
Copy link
Owner

@mjemons mjemons commented Oct 28, 2025

issue: functionalGam returns a mgcv::gam object. This object has a formula attribute with a pointer to the global environment. This is a problem with large objects in the global environment as is the case with SpatialExperiment objects. Thank you @epurdom for spotting this and investigating it!

solution: in any as.formula() call one has to specify an empty environment as now fixed in spatialInference. thank you @Bisaloo for the fix!

@mjemons mjemons merged commit 2a7217d into devel Oct 28, 2025
1 check passed
@mjemons mjemons deleted the FixEnvCall branch October 28, 2025 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant