exploreObjectNamesVerification: Verify object names

Description Usage Arguments Value Author(s) See Also Examples

View source: R/exploreObjectNamesVerification.R

Description

Easier output and more human friendly interface to verifyObjectNames

Usage

1
2
exploreObjectNamesVerification(object_o_1,
                               what_s_1 = c("names", "return type", "test cases", "*")[1])

Arguments

object_o_1

the object to be checked

what_s_1

a single string that expresses what you want to focus on, should start by one of [nrt* character. Star means show all.

Value

The same value as verifyObjectNames is returned in invisible mode.

It adds stdout output to give very short synthesis about object names and content.

Author(s)

Fabien Gelineau <neonira@gmail.com>

Maintainer: Fabien Gelineau <neonira@gmail.com>

See Also

Refer to verifyClassNameand verifyFunctionName.

Examples

1
2
3
4
5
6
##---- typical case ----
library('data.table')
source(system.file('code-samples/frt-defs/good/full/AdditionFI.R',
                   package = 'wyz.code.offensiveProgramming'))
fi <- AdditionFI()
exploreObjectNamesVerification(fi)

neonira/wyz.code.offensiveProgramming documentation built on Feb. 20, 2020, 2:01 p.m.