TroublemakeR

The goal of TroublemakeR is to generate an r package which will help generate spatially explicit problems from spatial data to AMPL optimization software

Installation

You can install the development version of TroublemakeR from GitHub with:

# install.packages("devtools")
# devtools::install_github("Sustainscapes/TroublemakeR")
install.packages("TroublemakeR", repos = c('https://sustainscapes.r-universe.dev', 'https://cloud.r-project.org'))

Example

This is a basic example which shows you how to solve a common problem:

library(TroublemakeR)
## basic example code