Skip to contents

Checks recorded after this call with check_result() and check_design() are grouped under name in check_summary().

Usage

check_section(name)

Arguments

name

Section label, e.g. "1. Row-column design". NULL removes the label.

Value

Invisibly, the previous label.

Examples

check_reset()
#> Ready to start: no earlier checks to clear. The checks you run from now on will be counted together.
check_section("arithmetic")
#> 
#> == arithmetic ==
check_result("one equals one", 1 == 1)
#>   [OK]   one equals one
check_summary()
#> 
#> 1 of 1 checks passed
#> 
#> By section:
#>  section    checks passed failed notes
#>  arithmetic 1      1      0      0    
#> 
#> All checks are correct.
check_reset()
#> Earlier checks cleared (1 check, which passed). Ready to start new checks.