v0.2.0
Highlights
This release adds a new interface to pytask-r which is explained in the readme.
The path to the script is now part of the decorator.
import pytask
@pytask.mark.r(script="script.r")
@pytask.mark.produces("out.rds")
def task_run_r_script():
pass
Passing dependencies, products or other information to the R script is a problem of the past. Now, all the information can serialized to a .json
or .yaml
file. The path to this file is passed to the R script. Inside the script, you can read the serialized information which gives you a dictionary like this:
{
"depends_on": ...,
"produces": ...,
...
}
What's Changed
- Remove unnecessary hook. by @tobiasraabe in #24
- Implement new interface with pytask v0.2. by @tobiasraabe in #26
Full Changelog: v0.1.1...v0.2.0