Controlled by getOption("reproducible.urlLog"). See the package option
documentation for modes. prepInputsLog() returns the package-level
in-memory records, which are populated in the default (NULL) and TRUE
modes; clearUrlLog() empties them. Records written to an environment or
function sink live there instead and are not retrievable through these
accessors. Set the option to FALSE to disable logging entirely.
prepInputsLog()
clearUrlLog()prepInputsLog() returns a list of record lists. clearUrlLog()
returns NULL invisibly.
# Every prepInputs()/preProcess() call that resolves a url records it, so a
# completed run can report exactly which data sources it pulled.
clearUrlLog()
prepInputsLog() # empty at the start of a session
#> list()
# After any prepInputs()/preProcess() work, the log holds one record per url;
# rbindlist() turns it into a table for reporting.
# data.table::rbindlist(prepInputsLog())