Biomass_core asserts that species trait table columns are specific types, yet LandR::getSpeciesTable and LandR::updateSpeciesTable don't check/enforce using the same rules as the assertions in LandR::assertColumns.
In particular, getSpeciesTable simply reads in a csv file using stringsAsFactors = FALSE, with no followup to convert character columns (e.g., postfireregen) to factor.
Biomass_core
asserts that species trait table columns are specific types, yetLandR::getSpeciesTable
andLandR::updateSpeciesTable
don't check/enforce using the same rules as the assertions inLandR::assertColumns
.In particular,
getSpeciesTable
simply reads in a csv file usingstringsAsFactors = FALSE
, with no followup to convert character columns (e.g.,postfireregen
) to factor.