Skip to content

Commit

Permalink
use inputPath instead of dataPath per latest best practices
Browse files Browse the repository at this point in the history
  • Loading branch information
achubaty committed Apr 19, 2024
1 parent df983f2 commit 7c84846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Biomass_core.R
Original file line number Diff line number Diff line change
Expand Up @@ -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, "'.")

Expand Down

0 comments on commit 7c84846

Please sign in to comment.