| format.tinytest | R Documentation | 
Print a tinytest object
## S3 method for class 'tinytest'
format(x, type = c("long", "short"), ...)
## S3 method for class 'tinytest'
print(x, ...)
| x | A  | 
| type | 
 | 
| ... | passed to  | 
A character string
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.