Create a new tracker file, the starting point of a data log history.

trackr_new(
  dataframe,
  trackr_dir = NULL,
  timepoint_message = NULL,
  log_data = TRUE,
  suppress_success = FALSE
)

Arguments

dataframe

A data.frame, the dataset to be logged

trackr_dir

A string, path to store trackr log files.

timepoint_message

A string (optional), a message to identify the timepoint - similar to a git commit message.

log_data

A boolean (optional), output a full dataset log with each trackr file. Default is "TRUE"

suppress_success

A boolean (optional), suppress success messages. Default is "FALSE".

Value

A data.frame with a trackr_id column added. Trackr log and data log files are written into the trackr_dir.