Will stop if the arguments are not tracelogs.

are_equal_tracelogs(tracelog_1, tracelog_2)

Arguments

tracelog_1

an tracelog, as created by create_tracelog

tracelog_2

an tracelog, as created by create_tracelog

Value

TRUE if the two tracelogs are equal

See also

Use create_tracelog to create an tracelog

Author

Richèl J.C. Bilderbeek

Examples


tracelog_1 <- create_tracelog(log_every = 1000)
tracelog_2 <- create_tracelog(log_every = 314)
# TRUE
are_equal_tracelogs(tracelog_1, tracelog_1)
#> [1] TRUE
# FALSE
are_equal_tracelogs(tracelog_1, tracelog_2)
#> [1] FALSE