The goal of TroublemakeR is to generate an r package which will help generate spatially explicit problems from spatial data to AMPL optimization software
You can install the development version of TroublemakeR from GitHub with:
# install.packages("devtools")
::install_github("Sustainscapes/TroublemakeR") devtools
This is a basic example which shows you how to solve a common problem:
library(TroublemakeR)
## basic example code