Closed kyle-messier closed 1 month ago
For target pipelines it is often helpful to have a return() value to track. We can simply add an optional input that creates a hash file to track.
target
return()
hash = FALSE: current behavior hash = TRUE : returns a hash value.
hash = FALSE
hash = TRUE
We already have rlang as an import, so we can use rlang::hash() or rlang::hash_file() https://rlang.r-lib.org/reference/hash.html
rlang
rlang::hash()
rlang::hash_file()
@kyle-messier https://github.com/NIEHS/amadeus/commit/efc7fa070ef08fdf607be0fc2651d3470af7df29 https://github.com/NIEHS/amadeus/commit/b0d654d196e4c562386f7e84e3ce5aa291c5ed55
https://github.com/NIEHS/amadeus/pull/128
For
target
pipelines it is often helpful to have areturn()
value to track. We can simply add an optional input that creates a hash file to track.hash = FALSE
: current behaviorhash = TRUE
: returns a hash value.We already have
rlang
as an import, so we can userlang::hash()
orrlang::hash_file()
https://rlang.r-lib.org/reference/hash.html