forked from tonyfischetti/assertr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNEWS
83 lines (46 loc) · 2.16 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# assertr 2.6
* bugs due to changes in rlang 0.3.0 fixed.
# assertr 2.5
* `is_uniq` predicate now accepts multiple vectors and evaluates uniqueness on the combination of them.
* Breaking change: the `allow.na` argument to `is_uniq` must be named. Code like `is_uniq(x, TRUE)` will no longer work. Instead write `is_uniq(x, allow.na = TRUE)`.
# assertr 2.4
* errors from all assertr verbs now contain a data.frame holding the
verb used, row reduction function (if any), the predicate, the column
(or select formula), index, and offending value for each error
* the `error_report` (and new `error_df_return`) will bind the rows of
all error data.frames in a list of errors. This is useful for assertr
chains that contain multiple different verbs and allows all the errors
to be viewed at a glance and, if so desired, computed upon
* switched to using the tidyeval framework and deprecated underscore functions
* bug fixes and performance enhancements
# assertr 2.0.0
* redesigned error and error handling mechanism
* assertr errors are now an S3 class and have some methods defined for them
* created some useful 'success' and 'error' functions
* added `chain_start` and `chain_end` that directs assertr to check all
assertions (powering through failed ones instead of halting) and
accumulating all the errors
* added 'is_uniq' predicate
* added 'has_all_names' utility function
* added 'col_concat' row reduction function
# assertr 1.0.0
* added row reduction functions like mahalanobis distnace
* added assert_rows and insist_rows assert verbs
* bug fixes
# assertr 0.5.7
* added within_n_mads predicate generator
# assertr 0.5.5
* added support for parameterized error functions
# assertr 0.5
* improved performance by adding support for vectorized predicates
* counts number of violations instead of short circuiting
# assertr 0.4.9
* provided standard evaluation versions of assert and insist
# assertr 0.4.2
* not_na and within_bounds are now vectorized and tagged
# assertr 0.4.1
* fixed automated tests to success with R 3.0.3
# assertr 0.4
* added `insist` and `within_n_sds` functions and updated vignette and documentations
# assertr 0.2
* initial release