Most users do not need to micromanage hooks.

default_hook(code)

Arguments

code

Placeholder for the code to build a target/import.

Value

A function that you can supply to the hook argument of make().

Examples

# 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.
})
# }