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.7)TroublemakeR_0.0.1.zip(r-4.6)TroublemakeR_0.0.1.zip(r-4.5)
TroublemakeR_0.0.1.tgz(r-4.6-any)TroublemakeR_0.0.1.tgz(r-4.5-any)
TroublemakeR_0.0.1.tar.gz(r-4.7-any)TroublemakeR_0.0.1.tar.gz(r-4.6-any)
TroublemakeR_0.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
TroublemakeR/json (API)

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

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

Pkgdown/docs site:https://sustainscapes.github.io

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:

Conda:

optimizationrpackge

2.70 score 4 scripts 190 downloads 12 exports 21 dependencies

Last updated from:b1fbbd7f61. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE189
source / vignettesOK181
linux-release-x86_64NOTE191
macos-release-arm64NOTE203
macos-oldrel-arm64NOTE190
windows-develNOTE137
windows-releaseNOTE143
windows-oldrelNOTE143
wasm-releaseOK119

Exports:create_budgetdefine_cellsfind_connectionslanduse_namesLanduseCombinationLocked_in_Cellsspecies_namesspecies_suitabilityspecies_suitability_landusetroublemakerwrite_ampl_lineswrite_cell_param

Dependencies:clidata.tabledplyrgenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6Rcpprlangstringistringrterratibbletidyselectutf8vctrswithr