Skip to content

Commit

Permalink
allow mixedType = 0 with latest LandR
Browse files Browse the repository at this point in the history
  • Loading branch information
achubaty committed Jun 6, 2024
1 parent 2ad1d2d commit 0e9e68e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Biomass_core.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ defineModule(sim, list(
person("Jean", "Marchal", email = "[email protected]", role = "ctb")
),
childModules = character(0),
version = list(Biomass_core = numeric_version("1.4.2")),
version = list(Biomass_core = numeric_version("1.4.3")),
timeframe = as.POSIXlt(c(NA, NA)),
timeunit = "year",
citation = list("citation.bib"),
Expand All @@ -27,7 +27,7 @@ defineModule(sim, list(
"SpaDES.core (>= 2.1.0)", "SpaDES.tools (>= 1.0.0.9001)",
"ianmseddy/LandR.CS@master (>= 0.0.2.0002)",
"PredictiveEcology/pemisc@development",
"PredictiveEcology/LandR@development (>= 1.1.3)"),
"PredictiveEcology/LandR (>= 1.1.4)"),
parameters = rbind(
defineParameter("calcSummaryBGM", "character", "end", NA, NA,
desc = paste("A character vector describing when to calculate the summary of biomass, growth and mortality",
Expand Down Expand Up @@ -84,8 +84,8 @@ defineModule(sim, list(
defineParameter("keepClimateCols", "logical", FALSE, NA, NA, "include growth and mortality predictions in `cohortData`?"),
defineParameter("minCohortBiomass", "numeric", 0, NA, NA,
desc = "Cohorts with biomass below this threshold (in $g/m^2$) are removed. Not a LANDIS-II BSE parameter."),
defineParameter("mixedType", "numeric", 2,
desc = paste("How to define mixed stands: 1 for any species admixture;",
defineParameter("mixedType", "numeric", 2, 0, 2,
desc = paste("How to define mixed stands: 0 for none; 1 for any species admixture;",
"2 for deciduous > conifer. See `?LandR::vegTypeMapGenerator`.")),
defineParameter("plotOverstory", "logical", FALSE, NA, NA, desc = "swap max age plot with overstory biomass"),
defineParameter("seedingAlgorithm", "character", "wardDispersal", NA_character_, NA_character_,
Expand Down

0 comments on commit 0e9e68e

Please sign in to comment.