ObjectChecks: Inspect types of R objects

Description Usage Arguments Details References Examples

Description

Inspect types of R objects

Usage

1
2
3

Arguments

...

valid R object(s).

echo

should objects be printed into the console?

Details

mode and storage.mode are mainly used for the types that are compatible with S.

Substituted object names are stored in the attributes. See Examples.

References

R Language Definition manual

Examples

1
2
3
4
5
6
7
object_types(1, 5L)
mmy::object_types(quote(for (i in seq(5L)) i))
types <- object_types(`$`, 1L, `[[<-`)
attributes(types)

quo <- quote(x <- 2)
check_language_object_types(quo, quo[[1]])

strboul/mmy documentation built on Sept. 24, 2021, 12:08 p.m.