assertr icon indicating copy to clipboard operation
assertr copied to clipboard

Assertive programming for R analysis pipelines

Results 16 assertr issues
Sort by recently updated
recently updated
newest added

Hello, Thanks so much for making this package available! I have been using the `chain_start` and `chain_end` functions to link various assertions together. However, I noticed that this appears to...

`assert` errors when making an assertion on multiple columns for a single-row data frame. My guess is that that the issue involves the internals somewhere incorrectly treating the row as...

I tried to use a `contains` in an assertion that I know should have failed It looked like it passed but that's because no columns were selected a) make `contains`...

Hello, When assertion fails using assert(), the description argument is not printed. I was expecting it to print out the description along with the error data frame. This seems to...

Add example of custom predicate to README

I previously used this package to check that joins in a pipeline do not introduce new rows via duplicates using the following pattern: ``` df3 % left_join(df2, by="var") %>% assert(nrow(.)...

I was wondering whether anyone is using assertr in Shiny. The idea was to notify users whenever an assertr chain fails by using Shiny's `validate` mechanism. This also keeps Shiny...

I simply copy-pasted the code for `within_bounds`: ``` # Hack of assertr::within_bounds: within_interval

Hi, I've encountered a _possible_ bug in assertr. I can't be certain, because I'm unable to provide a reproducible example: the data is covered by NDA. My code looks like...