Skip to content

Add support for native rasters to annotation_raster() #3388 #3794

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

Merged
merged 1 commit into from
Feb 4, 2020
Merged

Add support for native rasters to annotation_raster() #3388 #3794

merged 1 commit into from
Feb 4, 2020

Conversation

kent37
Copy link
Contributor

@kent37 kent37 commented Feb 3, 2020

Small change to allow passing a nativeRaster object to annotation_raster(). This is a significant performance improvement for large rasters.

I didn't include an example because I don't see a source for a native raster in {ggplot2}. I could use the R logo from {png} but that package is not currently used by ggplot2. If you think an example is called for, please advise.

@clauswilke
Copy link
Member

Could you merge in the master branch so the unit tests don't fail?

@kent37
Copy link
Contributor Author

kent37 commented Feb 4, 2020

@clauswilke I'm not sure I understand what you want me to merge. My branch is based on the tip of the master branch; do you want me to merge it into master myself?

@clauswilke
Copy link
Member

Ah, sorry, we had a bunch of PRs last week that were based off of a version of master that was failing unit tests, but that's not your case. Looks like your checks are passing, except one random issue on travis.

@kent37
Copy link
Contributor Author

kent37 commented Feb 4, 2020

Yes, the Travis issue doesn't seem to be related to my change, it is failing to install R 3.2. Let me know if there is anything else you want me to do.

@clauswilke
Copy link
Member

No, I think it's fine, thanks!

@clauswilke clauswilke merged commit 6207d2f into tidyverse:master Feb 4, 2020
@kent37 kent37 deleted the issue3388 branch February 5, 2020 01:09
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.

2 participants