NEWS.md
greedy_heuristic_algorithm()
function so that it returns a solution if it is not possible to select enough planning units to meet the target for any species. Instead of throwing an error, it will now throw a warning and return a solution containing the cheapest set of planning units within the budget and locked out constraints. Note that this solution will have an objective value of zero, because it has zero probability of meeting any of the species’ targets.greedy_heuristic_algorithm()
function that can be used to generate reserve selection prioritizations. This function provides access to the internal algorithm used for the reserve selection component of the value of information calculations.approx_near_optimal_survey_scheme()
, approx_optimal_survey_scheme()
, optimal_survey_scheme()
, approx_evdsi()
, evdsi()
, and evdci()
.sim_sites
and sim_features
example datasets.approx_near_optimal_survey_scheme()
, approx_optimal_survey_scheme()
, optimal_survey_scheme()
, approx_evdsi()
, evdsi()
, and evdci()
where all species were incorrectly assigned the same target as the first species during calculations.simulate_site_data()
function to remove RandomFields package as a dependency.prior_probability_matrix()
to compute prior probabilities when no existing survey data are available.fit_xgb_occupancy_models()
using more than specified number of threads for parallel processing.GMP dependencies on Windows systems are now handled using RWinLib (see https://github.com/rwinlib/gmp).
Package configuration now reports compilation variables (i.e. PKG_CPPFLAGS and PKG_LIBS variables).
The Free Software Foundation is no longer listed as a contributor and copyright holder because GMP source files are no longer distributed with the package (because GMP dependencies are obtained via RWinLib).
Configuration variables can now (optionally) be used to specify location of GMP and MPFR dependencies for package installation (i.e. GMP_INCLUDE_DIR, GMP_LIB_DIR, MPFR_INCLUDE_DIR and MPFR_LIB_DIR). Although the package configuration routine attempts to deduce these variables automatically, the variables can be used if installation with default settings fails. For example, the variables can be set using the following system command:
R CMD INSTALL --configure-vars='GMP_INCLUDE_DIR=... GMP_LIB_DIR=... MPFR_INCLUDE_DIR=... MPFR_LIB_DIR=...'