下面是我正在使用的代码:
if (interactive()) {
library(raster)
library(plainview)
viewRGB(plainview::poppendorf, 4, 3, 2) # true-color
viewRGB(plainview::poppendorf, 5, 4, 3) # false-color
}
我收到以下错误消息:
Error in leafem::addHomeButton(map = map, ext = ext, layer.name = layer.name, :
unused argument (layer.name = layer.name)
In addition: Warning message:
'mapview::addHomeButton' is deprecated.
Use 'leafem::addHomeButton' instead.
See help("Deprecated") and help("mapview-deprecated").
任何帮助深表感谢!
-周