Loads the sp package with requireNamespace("sp", quietly = TRUE)
, and
checks and optionally sets the sp
evolution status flag if rgdal
is
unavailable.
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 INLA version. Default 1.4-5 (should always match the requirement in the package DESCRIPTION)