Learn R Programming

chronicler (version 0.2.2)

make_log_df: Creates the log_df element of a chronicle object.

Description

Creates the log_df element of a chronicle object.

Usage

make_log_df(
  ops_number = 1,
  success,
  fstring,
  args,
  res_pure,
  start = Sys.time(),
  end = Sys.time(),
  .g = (function(x) NA),
  diff_obj = NULL
)

Value

A tibble containing the log.

Arguments

ops_number

Tracks the number of the operation in a chain of operations.

success

Did the operation succeed?

fstring

The function call.

args

The arguments of the call.

res_pure

The result of the purely call.

start

Starting time.

end

Ending time.

.g

Optional. A function to apply to the intermediary results for monitoring purposes. Defaults to returning NA.

diff_obj

Optional. Output of the `diff` parameter in `record()`.