diff --git a/Biomass_core.R b/Biomass_core.R index 5420d4e..d4b9858 100644 --- a/Biomass_core.R +++ b/Biomass_core.R @@ -1975,7 +1975,7 @@ CohortAgeReclassification <- function(sim) { ## .inputObjects ------------------------------------------------------------------------------ .inputObjects <- compiler::cmpfun(function(sim) { cacheTags <- c(currentModule(sim), "otherFunctions:.inputObjects") - dPath <- asPath(getOption("reproducible.destinationPath", dataPath(sim)), 1) + dPath <- asPath(inputPath(sim), 1) if (getOption("LandR.verbose", TRUE) > 0) message(currentModule(sim), ": using dataPath '", dPath, "'.")