are_equal_screenlogs: Determine if two screenlogs are equal.

View source: R/are_equal_screenlogs.R

are_equal_screenlogsR Documentation

Determine if two screenlogs are equal.

Description

Will stop if the arguments are not screenlogs.

Usage

are_equal_screenlogs(screenlog_1, screenlog_2)

Arguments

screenlog_1

an screenlog, as created by create_screenlog

screenlog_2

an screenlog, as created by create_screenlog

Value

TRUE if the two screenlogs are equal

Author(s)

Richèl J.C. Bilderbeek

See Also

Use create_screenlog to create an screenlog

Examples

check_empty_beautier_folder()

screenlog_1 <- create_screenlog(log_every = 1000)
screenlog_2 <- create_screenlog(log_every = 314)
# TRUE
are_equal_screenlogs(screenlog_1, screenlog_1)
# FALSE
are_equal_screenlogs(screenlog_1, screenlog_2)

check_empty_beautier_folder()

ropensci/beautier documentation built on July 9, 2024, 6:14 a.m.