Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mrcommons::toolSplitBiomass() collides with mredgebuildings::toolSplitBiomass() #145

Open
0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q opened this issue Jan 17, 2025 · 0 comments
Assignees

Comments

@0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q
Copy link
Member

library(madrat, quietly = TRUE)
setConfig(.verbose = FALSE)

# ignoring the 140+ other warnings
options(warn = 2)

getDependencies('toolSplitBiomass')

## Error in getCode(packages = packages, globalenv = globalenv) : 
##   (converted from warning) Duplicate functions found: mrcommons:::toolSplitBiomass, mredgebuildings:::toolSplitBiomass! Laste entry will be used

I think it is pretty much random, which is the "laste" entry (maybe alphabetical by package name). But since the mrcommons::toolSplitBiomass() is more recent than the mredgebuildings one, you might prefer that over the other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants