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.5-any)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'))

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

Pkgdown 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

3.18 score 4 scripts 110 downloads 12 exports 22 dependencies

Last updated 3 months agofrom:b1fbbd7f61. Checks:1 OK, 8 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 15 2025
R-4.5-winNOTEMar 15 2025
R-4.5-macNOTEMar 15 2025
R-4.5-linuxNOTEMar 15 2025
R-4.4-winNOTEMar 15 2025
R-4.4-macNOTEMar 15 2025
R-4.4-linuxNOTEMar 15 2025
R-4.3-winNOTEMar 15 2025
R-4.3-macNOTEMar 15 2025

Exports:create_budgetdefine_cellsfind_connectionslanduse_namesLanduseCombinationLocked_in_Cellsspecies_namesspecies_suitabilityspecies_suitability_landusetroublemakerwrite_ampl_lineswrite_cell_param

Dependencies:clidata.tabledplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6Rcpprlangstringistringrterratibbletidyselectutf8vctrswithr