This past summer I was working on a code in R where I used the packages mapview and ggmap. During the summer the code was working fine. This past week
Google has tightened controls on API access to Google Map products. This means that you now need a Google API key to use ggmap().
There are a few steps involved:
register_google("<your API key>"). You will need to run this
for every new session in which you will use ggmap(). I have added it to my .Rprofile.Good luck!