View source: R/AllGenerators.R
| goalie | R Documentation | 
Define a goalie check classed return
goalie(object, cause)
object | 
 
  | 
cause | 
 
  | 
All TRUE: logical.
Any FALSE: goalie, which extends logical.
Updated 2023-09-29.
## Any FALSE.
x <- goalie(
    object = c(FALSE, TRUE),
    cause = c("xxx", NA_character_)
)
print(x)
print(cause(x))
## All TRUE.
x <- goalie(rep(TRUE, 2L))
print(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.