codingstyle: CodingStyle

CodingStyleR Documentation

CodingStyle

Description

Extract assigned names from R code.

Usage

  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 June 26, 2022, 2:21 p.m.