In [1]:
library(sf)
library(mapview)
## sf5-mapview
Linking to GEOS 3.6.2, GDAL 2.2.3, proj.4 4.9.3
Error in library(mapview): there is no package called ‘mapview’
Traceback:

1. library(mapview)
2. stop(txt, domain = NA)
In [ ]:
mapview(nc["BIR74"], col.regions = sf.colors(10))