mapview icon indicating copy to clipboard operation
mapview copied to clipboard

Unable to find function mapview

Open oliviabergmann opened this issue 2 years ago • 1 comments

When I try to install mapview I receive the following message:

WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding: https://cran.rstudio.com/bin/windows/Rtools/ Installing package into ‘C:/Users/OLBERGMANN/AppData/Local/R/win-library/4.3’ (as ‘lib’ is unspecified) trying URL 'http://cran.rstudio.com/bin/windows/contrib/4.3/mapview_2.11.0.zip' Content type 'application/zip' length 2388579 bytes (2.3 MB) downloaded 2.3 MB package ‘mapview’ successfully unpacked and MD5 sums checked

Then it says DONE (mapview); however, when I use the basic call mapview(breweries) I receive the following error:

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

I have both Rtools42 and 43 so I'm not quite sure what the problem is.

oliviabergmann avatar May 18 '23 16:05 oliviabergmann

I'm assuming you loaded library(mapview) before calling the function?

tim-salabim avatar May 18 '23 18:05 tim-salabim