Closed michelledayusfs closed 1 year ago
This should be fixed by new code around ~L290-294 (copied below)
# extract values of stand field used for defining availability
St_threshold_values <- NULL
if(!is.null(stand_threshold)){
St_threshold_values <- stands_available %>% dplyr::pull(!!threshold_field)
}
Just tested this and it is no longer an issue.
The ForSys function that calls patchmax assumes a threshold. Add code to allow for a null threshold value.