Nothing
sf::st_sf()
) are now use for vector
data and terra package objects (terra::rast()
) for raster data.
These updates impact many of the user-facing functions (e.g.,
calcBoundaryData()
, sim.species()
, sim.space()
,
calcSpeciesAverageInPus()
, rap()
), so users will likely need to update
their code.cs_pus
, cs_spp
, and cs_spaces
built-in datasets have been removed.
This is because terra::rast()
objects cannot be distributed as built-in
datasets for packages. These datasets can now be manually imported from
external files distributed with the package (see ?cs_pus
for more details).SpatialPolygons2PolySet
function has been renamed to convert2PolySet
.NumericFocus
parameter to GurobiOpts
to handle numerical issues.spacePlot
to avoid throwing a ggplot2 deprecation warning.sim.space
and sim.species
functions no longer accept RandomFileds
objects as arguments. To simulate spatially auto-correlated data using
random fields, a numeric
value should be supplied to the model
parameter.verbose
parameter of solve()
can now be used to suppress
output from the Gurobi solver.make.RapData
function to improve compatibility
with updates to coordinate reference system (sp::CRS
) objects. These
updates simply mean that warning messages will no longer be displayed.
The compatibility issues that resulted in warnings did not affect the
correctness of any results.is.gdalInstalled
and rasterizeGDAL
functions.sp::CRS()
class definitionis.finite
behaviour for
character
class objects.GurobiOpts
.print.RapResults
function now prints information in a prettier manner.raptr::solve
function now throws a warning if some species are poorly
represented in the solution.knitr::rmarkdown_notangle
engine to avoid running the
code during package checks, and placeholder vignette file has been removed.pkg::function
.message
following best practices.is.GurobiInstalled
now does not run gurobi to avoid spurious notes
during CRAN checks on academic license.make.DemandPoints
.\donttest
instead of \dontrun
for examples.requireNamespace
.calcSpeciesAverageInPus
.Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.