Skip to content
This repository was archived by the owner on May 1, 2021. It is now read-only.

points_elided() maps don't work in rmarkdown document #18

Open
jzadra opened this issue Feb 28, 2019 · 3 comments
Open

points_elided() maps don't work in rmarkdown document #18

jzadra opened this issue Feb 28, 2019 · 3 comments

Comments

@jzadra
Copy link

jzadra commented Feb 28, 2019

I"m generating two maps, one using the usa_composite(), and another using a shapefile downloaded from elsewhere.

For each of them, I apply points_elided() and then use ggmap().

When I generate one off maps inside RStudio, I get the correct output for both shapes. However, when I knit the document, the standard use_composite() shape map looks right, but the other one comes out wonky.

image

Any suggestions about what could be happening with rmarkdown that causes these to behave differently?

@jzadra
Copy link
Author

jzadra commented Feb 28, 2019

I was just able to figure out that this has only started occurring after I updated albersusa a few days.

@jzadra
Copy link
Author

jzadra commented Feb 28, 2019

I've just reverted to cf69f038a253abfba601487e0a59399920679446
and the issue is gone.

install_github("hrbrmstr/albersusa", ref = "cf69f038a253abfba601487e0a59399920679446")

Apologies for lack of reprex, I"m on a deadline!

@NateMietk
Copy link

resolved my issue too. thanks! @jzadra

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

No branches or pull requests

2 participants