我正在尝试使用hcmap函数绘制带有highcharter的地图:
devtools::install_github("jbkunst/highcharter")
library(highcharter)
hcmap("custom/south-america")
但是,我收到以下错误:
Installing tidyr
Downloading GitHub repo RcppCore/Rcpp@master
from URL https://api.github.com/repos/RcppCore/Rcpp/zipball/master
Error: Could not find build tools necessary to build Rcpp
> library(highcharter)
> library(Rcpp)
Warning message:
package ‘Rcpp’ was built under R version 3.3.2
> hcmap("custom/south-america")
Error: could not find function "hcmap"