clones: Clones

Description Usage Arguments Details Author(s)

Description

Find clones inside R two expressions.

Usage

1
2
3
4
5
6
7
  Clones(exprs, ...)
  ## S3 method for class 'list'
Clones(exprs, keep.code=FALSE, ...)
  ## S3 method for class 'expression'
Clones(exprs, keep.code=FALSE, ...)
  ## S3 method for class 'package.code'
Clones(exprs, keep.code=FALSE, ...)

Arguments

exprs

A single R expression object or a list of R expression objects.

keep.code

Keeps source code reference if TRUE.

...

Further arguments to pass to method implementation.

Details

Returns the Type-1 clones found in all exprs.

Author(s)

Maëlick Claes <himself@maelick.net>


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