Skip to contents

Return standard logical without cause attribute

Usage

nocause(object, ...)

# S4 method for goalie
nocause(object)

Arguments

object

Object.

...

Additional arguments.

Value

character.

Note

Updated 2021-02-23.

Examples

x <- goalie(
    object = c(FALSE, TRUE),
    cause = c(
        "Element 1 is FALSE.",
        NA_character_
    )
)
class(x)
#> [1] "goalie"
#> attr(,"package")
#> [1] "goalie"
xx <- nocause(x)
print(xx)
#> [1] FALSE  TRUE
class(xx)
#> [1] "logical"