powered by
an example hook argument to make() that redirects output messages to files.
hook
make()
output_sink_hook(code)
code to run to build the target.
make, silencer_hook, message_sink_hook
make
silencer_hook
message_sink_hook
# NOT RUN { output_sink_hook({ cat(1234) stop(5678) }) x <- workplan(loud = cat(1234), bad = stop(5678)) make(x, hook = output_sink_hook) # }
Run the code above in your browser using DataLab