powered by
Print a tinytest object
# S3 method for tinytest format(x, type = c("long", "short"), ...)# S3 method for tinytest print(x, ...)
# S3 method for tinytest print(x, ...)
A character string
A tinytest object
tinytest
[logical] Toggle format type
[logical]
passed to format.tinytest
format.tinytest
tt <- expect_equal(1+1, 3) format(tt,"long") format(tt,"short") print(expect_equal(1+1, 2)) print(expect_equal(1+1, 3), type="long")
Run the code above in your browser using DataLab