Skip to content

Commit

Permalink
prepInputsStandAgeMap writeTo not working
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotmcintire committed Jan 8, 2025
1 parent 4605e54 commit c9afe44
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion R/prepInputObjects.R
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ prepInputsStandAgeMap <- function(..., ageURL = NULL,
maskWithRTM = maskWithRTM,
method = method,
datatype = datatype,
writeTo = writeTo,
# writeTo = writeTo, # no point here ... as it is removed later
destinationPath = destinationPath,
url = ageURL,
fun = ageFun,
Expand Down Expand Up @@ -519,6 +519,9 @@ prepInputsStandAgeMap <- function(..., ageURL = NULL,
}

attr(standAgeMap, "imputedPixID") <- imputedPixID
if (!is.null(writeTo)) {
standAgeMap <- writeTo(standAgeMap, writeTo)
}
return(standAgeMap)
}

Expand Down

0 comments on commit c9afe44

Please sign in to comment.