NIEHS / amadeus

https://niehs.github.io/amadeus/
Other
7 stars 1 forks source link

add optional hash as `download_*` output #127

Closed kyle-messier closed 1 month ago

kyle-messier commented 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.

hash = FALSE: current behavior hash = TRUE : returns a hash value.

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

mitchellmanware commented 1 month ago

@kyle-messier https://github.com/NIEHS/amadeus/commit/efc7fa070ef08fdf607be0fc2651d3470af7df29 https://github.com/NIEHS/amadeus/commit/b0d654d196e4c562386f7e84e3ce5aa291c5ed55

mitchellmanware commented 1 month ago

https://github.com/NIEHS/amadeus/pull/128