Run-time Testing Using assertive

Play Run-time Testing Using assertive
Sign in to queue

Description

assertive is a group of R packages that lets you check that your code is running as you want it to. assert_* functions test a condition and throw an error if it fails, letting you write robust code more easily. Hundreds of checks are available for types and properties of variables, file and directory properties, numbers, strings, a variety of data types, the state of R, your OS and IDE, and many other conditions. The packages are optimised for easy to read code and easy to understand error messages.

Day:

1

Embed

Download

Download this episode

The Discussion

Add Your 2 Cents