admiraldev 1.1.0
Updates of Existing Functions
-
Updated
arg_name
parameter inassert_filter_cond
,assert_symbol
, andassert_expr
withgsub("^enexpr\\((\\w+)\\)$", "\\1", rlang::caller_arg(arg))
argument so that error messages return a quoted argument withoutenexpr()
, e.g.filter_add
instead ofenexpr(filter_add)
. (#2404) -
Error messaging throughout the package have been updated from
rlang::abort()
tocli::cli_abort()
. As a part of the update, each of theassert_*()
functions have new argumentsassert_*(message, arg_name, call, class).
(#367) -
Warning messaging has also been updated to use
{cli}
messaging.
Breaking Changes
-
renv
and related files have been removed. (#360) -
No longer exporting
is_named()
function. (#401) -
pharmaversesdtm
removed as a dependency. (#434) -
As a part of the error messaging update, the following changes were made.
-
The
assert_s3_class(class)
argument has been renamed toassert_s3_class(cls)
. (#367) -
Functions
arg_name()
,enumerate()
,what_is_it()
, andfriendly_type_of()
have been deprecated and a warning is returned to any developer using these functions. As these are developer functions (as opposed to functions for typical admiral users), we will use a short deprecation cycle.
-
Documentation
-
The "Release Strategy" vignette was updated with respect to the new branching
strategy. (#353) -
The "Release Strategy" vignette now contains a short new "Release Tracking" section linking to an external dashboard for CRAN packages that are awaiting release. (#358)