Closed dblodgett-usgs closed 1 year ago
I'm finding it impossible to suppress messages when calling rmapshaper with sys=TRUE
Those are some strong messages!! Any idea how to suppress these? Would it need to be the -quiet flag?
-quiet
nc <- sf::read_sf(system.file("gpkg/nc.gpkg", package = "sf")) sink(file = tempfile()) suppressMessages(suppressWarnings({ output <- capture.output({ o <- rmapshaper::ms_explode(nc, sys = TRUE) }) })) sink()
Good idea!
I'm finding it impossible to suppress messages when calling rmapshaper with sys=TRUE
Those are some strong messages!! Any idea how to suppress these? Would it need to be the
-quiet
flag?