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

Call terra::has.RGB() with namespace #869

Merged
merged 4 commits into from
Aug 1, 2023
Merged

Conversation

gadenbuie
Copy link
Member

@gadenbuie gadenbuie commented Aug 1, 2023

Fixes #866

Adds the namespace prefix for terra::has.RGB() which would cause errors if the user hadn't already attached terra.

I also updated staticimports and added a check in addRasterLegend_SpatRaster() to ensure terra >= 1.6-3 is installed.

@gadenbuie gadenbuie merged commit 05a9b85 into main Aug 1, 2023
10 checks passed
@gadenbuie gadenbuie deleted the fix/866-prefix-terra branch August 1, 2023 17:23
gadenbuie added a commit that referenced this pull request Aug 14, 2023
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.

Missing terra:: for has.RGB()
2 participants