Skip to content

use deparse-substitute in the validation helper functions #3

@valentinitnelav

Description

@valentinitnelav

For example in get_outliers.R, at .validate_tp instead of

stop(
      "\n
      'tp' is not a 'matrix', 'data.frame' or 'data.table'"
    )

use

stop( deparse(substitute(tp)), " is not a 'matrix', 'data.frame' or 'data.table'" )

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions