Skip to content

R assertion tools #27

@baileyb0t

Description

@baileyb0t

warnings and errors in R don't seem to work as consistently as they do in other languages. I've personally used the options() method to raise warnings to errors so that I can inspect specific lines, only for R to keep running with warnings. I know there are finicky cases with different datatypes that can pass through a stopifnot() call, too.

I'd like to do a comparison of different built-in tools like stopifnot() and libraries like assertr to see how they compare in terms of flagging and raising errors within a script

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions