codingstyle: CodingStyle

Description Usage Arguments Details Author(s)

Description

Extract assigned names from R code.

Usage

1
2
3
4
5
  CodingStyle(expr, ...)
  ## S3 method for class 'expression'
CodingStyle(expr, ...)
  ## S3 method for class 'package.code'
CodingStyle(expr, ...)

Arguments

expr

A single R expression or package.code object, or a list of R expression orpackage.code objects.

...

Further arguments to pass to method implementation.

Details

CodingStyle.expression returns a data.table containing the name of the variable assigned, whether it is global or not and its type.

CodingStyle.list and CodingStyle.package.code apply CodingStyle.expression on list of expressions.

Author(s)

Maëlick Claes <himself@maelick.net>


ecos-umons/sourceR documentation built on May 15, 2019, 10:07 p.m.