diff --git a/R/utils.R b/R/utils.R index bf877f2..85d5c20 100644 --- a/R/utils.R +++ b/R/utils.R @@ -17,7 +17,8 @@ #' #' @return geojson #' @export -apply_mapshaper_commands <- function(data, command, force_FC, sys = FALSE, sys_mem = 8) { +#' +apply_mapshaper_commands <- function(data, command, force_FC = TRUE, sys = FALSE, sys_mem = 8) { data <- as.character(data) diff --git a/man/apply_mapshaper_commands.Rd b/man/apply_mapshaper_commands.Rd index 119b980..d15c4e4 100644 --- a/man/apply_mapshaper_commands.Rd +++ b/man/apply_mapshaper_commands.Rd @@ -4,7 +4,13 @@ \alias{apply_mapshaper_commands} \title{Apply a mapshaper command string to a geojson object} \usage{ -apply_mapshaper_commands(data, command, force_FC, sys = FALSE, sys_mem = 8) +apply_mapshaper_commands( + data, + command, + force_FC = TRUE, + sys = FALSE, + sys_mem = 8 +) } \arguments{ \item{data}{geojson object or path to geojson file. If a file path, \code{sys}