Most users do not need to micromanage hooks.
default_hook(code)
code | Placeholder for the code to build a target/import. |
---|
A function that you can supply to the hook
argument
of make()
.
# NOT RUN { test_with_dir("Quarantine side effects.", { load_basic_example() # Get the code with drake_example("basic"). # Everything gets built normally. make(my_plan, hook = default_hook) cached() # List the cached targets and imports. }) # }