Package: TroublemakeR 0.0.1

Derek Corcoran

TroublemakeR: Generates Spatial Problems in R for 'AMPL'

Provides methods for generating .dat files for use with the 'AMPL' software using spatial data, particularly rasters. It includes support for various spatial data formats and different problem types. By automating the process of generating 'AMPL' datasets, this package can help streamline optimization workflows and make it easier to solve complex optimization problems. The methods implemented in this package are described in detail in a publication by Fourer et al. (<doi:10.1287/mnsc.36.5.519>).

Authors:Derek Corcoran [aut, cre]

TroublemakeR_0.0.1.tar.gz
TroublemakeR_0.0.1.zip(r-4.5)TroublemakeR_0.0.1.zip(r-4.4)TroublemakeR_0.0.1.zip(r-4.3)
TroublemakeR_0.0.1.tgz(r-4.4-any)TroublemakeR_0.0.1.tgz(r-4.3-any)
TroublemakeR_0.0.1.tar.gz(r-4.5-noble)TroublemakeR_0.0.1.tar.gz(r-4.4-noble)
TroublemakeR_0.0.1.tgz(r-4.4-emscripten)TroublemakeR_0.0.1.tgz(r-4.3-emscripten)
TroublemakeR.pdf |TroublemakeR.html
TroublemakeR/json (API)

# Install 'TroublemakeR' in R:
install.packages('TroublemakeR', repos = c('https://sustainscapes.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/sustainscapes/troublemaker/issues

Datasets:
  • Current - A PackedSpatRaster of 4 species with its projected distribution for current conditions
  • CurrentLanduse - A PackedSpatRaster of the current landuse
  • Species - A list of 4 species with its projected distribution for 4 landuses
  • Species_Landuse - A list of 4 species with its projected distribution for 4 landuses

On CRAN:

optimizationrpackge

11 exports 0.83 score 22 dependencies 4 scripts 128 downloads

Last updated 6 months agofrom:54d8daf058. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 30 2024
R-4.5-winNOTEAug 30 2024
R-4.5-linuxNOTEAug 30 2024
R-4.4-winNOTEAug 30 2024
R-4.4-macNOTEAug 30 2024
R-4.3-winNOTEAug 30 2024
R-4.3-macNOTEAug 30 2024

Exports:create_budgetdefine_cellsfind_connectionslanduse_namesLanduseCombinationspecies_namesspecies_suitabilityspecies_suitability_landusetroublemakerwrite_ampl_lineswrite_cell_param

Dependencies:clidata.tabledplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6Rcpprlangstringistringrterratibbletidyselectutf8vctrswithr