log_report: Logging and reporting of file paths

Description Usage Arguments log_report render_log_report log_clear path_log

View source: R/log.R

Description

These functions provide access to a log file, located in the directory given by path 'x', that records the executed paths/arguments passed to commonly-used input and output functions in R code located in that directory.

Usage

1
2
3
4
5
6
7

Arguments

path

Path to the directory you want to access the log for

log_report

Return the log of functions/paths you have used interactively while within a project directory.

log_report("directory") OR, to look at your project root: log_report()

render_log_report

View the render log for a directory, which shows information about paths, packages, and randomness seeds involved in the rendering of a project's files. render_log_report("directory")

log_clear

Delete/clear the log file for a directory.

log_clear("directory") OR, to clear your project root: log_clear()

path_log

Return the path to the log file in a given directory.

path_log("directory") OR, to get the log file for your project root: path_log()


baumer-lab/fertile documentation built on April 19, 2021, 12:01 a.m.