walkerke / mapboxapi

R interface to Mapbox web services
https://walker-data.com/mapboxapi/
Other
110 stars 8 forks source link

Could not find function "mapview" #52

Closed MandleDan closed 5 months ago

MandleDan commented 5 months ago

Trying to run some maps using Kyle's AWESOME notes from his GeoIntelligence workshop last month. Unfortunately in the meantime having a problem getting the "mapview" function to operate. Are others seeing this as well? Curious how to overcome this and keep mapping!

Error in mapview(dataset_name) : could not find function "mapview"

robbfitzsimmons commented 5 months ago

Sounds like the mapview package might not be loaded in the current environment, which is causing it to not find the function.

Try loading the package at the beginning of every session:

library(mapview)

If you get an error that mapview is not installed, you can run the following:

install.packages("mapview")

Best of luck!

MandleDan commented 5 months ago

Rookie mistake on my part. Must be time to shut it down and start the July Fourth Holiday! Thanks @robbfitzsimmons!