mapview() error

If you are running mapview() and encounter the following error Error: path for html_dependency not found: Execution halted or similar ones, I suggest you to try remotes::install_github("r-spatial/mapview"). You may also need to delete and install again the package Rcpp. Jon found this interisting post about how different people have solved the issue in different ways here. I tried all suggestions, and the only one that worked for me is the one above.

From countryCode(),stateCode(), and mapview()

Dynamic Map of Italy and Milan

If you succeeded at debugging the mapview() error, you’ll be able to knit this map and see yourself how cool mapview()is!