GeoJSON Linting
Usage
linting_opts(
lint = FALSE,
method = "hint",
error = FALSE,
suppress_pkgcheck_warnings = FALSE
)Arguments
- lint
(logical) lint geojson or not. Default:
FALSE- method
(character) method to use:
hint - uses
geojsonlint::geojson_hint()lint - uses
geojsonlint::geojson_lint()validate - uses
geojsonlint::geojson_validate()
- error
(logical) Throw an error on parse failure? If
TRUE, then function returnsTRUEon success, and stop with the error message on error. Default:FALSE- suppress_pkgcheck_warnings
(logical) Suppress warning when
geojsonlintis not installed? Default:FALSE
