Loads the sp package with requireNamespace("sp", quietly = TRUE)
, and
checks and optionally sets the sp
evolution status flag if rgdal
is
unavailable.
This function is only needed for backwards compatibility with sp
versions
before 2.0-0
.
Arguments
- quietly
logical; if
TRUE
, prints diagnostic messages. DefaultFALSE
- force
logical; If
rgdal
is unavailable and evolution status is less that2L
, returnFALSE
ifforce
isFALSE
. Ifforce
isTRUE
, returnTRUE
if the package configuration is safe, potentially after forcing the evolution status to2L
. DefaultFALSE
- minimum_version
character; the minimum required sp version. Default 1.4-5 (should always match the requirement in the package DESCRIPTION)