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

Both choropleth shiny apps throw error when ran locally #1

Open
fredderks opened this issue Aug 4, 2019 · 2 comments
Open

Both choropleth shiny apps throw error when ran locally #1

fredderks opened this issue Aug 4, 2019 · 2 comments

Comments

@fredderks
Copy link

Both the basic and advanced choropleth maps throw this error when ran locally in Rstudio

Error in rename(., LSOA11CD = lsoa) : unused argument (LSOA11CD = lsoa)

See if you can reproduce the error or if it's something on my machine

Cheers

@rcatlord
Copy link
Owner

rcatlord commented Aug 5, 2019

Hi Fred - thanks for checking out the crime analysis repo. I've run the code for both choropleth map apps and they don't throw any errors on my machine. This issue on dplyr may be helpful because it suggests that your error message relates to the rename() function being overridden by another package.

The apps could do with a rewrite anyway to include the tidyyverse and sf packages ;)

Henry

@fredderks
Copy link
Author

Yeah, I stumbled onto it because I'm learning to do some leaflet choropleth maps in shiny myself, your repo has really helped me grasp some functions, thanks! You're probably right, the error is definitely on my end. I restarted a session and now it's throwing this error:

Error in ogrInfo(dsn = dsn, layer = layer, encoding = encoding, use_iconv = use_iconv, : Cannot open layer

I really gotta clean up my R install so I'm gonna figure that out first.

Fred

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

No branches or pull requests

2 participants