# NOT RUN {
if(requireNamespace("curl") &
curl::has_internet()) {
# fetch series extent for the 'Amador' soil series
s <- seriesExtent('amador')
# plot SpatialPolygonsDataFrame
if(require(sp))
plot(s)
}
# }
Run the code above in your browser using DataLab