get_one_to_many_dataset: Get One to Many Values that Led to a Prior Error

Description Usage Details Author(s) Examples

View source: R/assertions.R

Description

Get One to Many Values that Led to a Prior Error

Usage

1

Details

If assert_one_to_one() detects an issue, the one to many values are stored in a dataset. This dataset can be retrieved by get_one_to_many_dataset().

Note that the function always returns the one to many values from the last error that has been thrown in the current R session. Thus, after restarting the R sessions get_one_to_many_dataset() will return NULL and after a second error has been thrown, the dataset of the first error can no longer be accessed (unless it has been saved in a variable).

Author(s)

Stefan Bundfuss

Examples

1
2
3
4
5
6
7

epijim/admiral documentation built on Feb. 13, 2022, 12:15 a.m.