ggmap::register_google(key="my-key-here")
ggmap::get_map()
#> Error in if (has_google_client() && has_google_signature()) { : missingvaluewhereTRUE/FALSEneeded
My problem is that I'd like to use the key in another (internal) package and I don't want people to enter the key all the time, so I must put a library call into it into .onload().
library(ggmap)
register_google(key="my-key-here")
But I don't want ggplot and ggmap loaded automatically.
The text was updated successfully, but these errors were encountered:
Hi @lorenzwalthert - sorry to take so long to address this. This should be fixed with this dev commit (0c68d5c). At very least, your code now works. Using ggmap::register_google() is probably not really needed anymore, though, as you probably have your key in .Renviron. In any case, I'll close for now; let me know if I need to reopen. Thanks!
My problem is that I'd like to use the key in another (internal) package and I don't want people to enter the key all the time, so I must put a library call into it into
.onload().But I don't want ggplot and ggmap loaded automatically.
The text was updated successfully, but these errors were encountered: