assert_function()
now accepts all function arguments if ellipsis, ...
is in the function formals (#339)assert_function_param()
assert_named_expr()
assert_has_variables()
admiral.test
have been swapped with pharmaversesdtm
(#321)warn_if_invalid_dtc()
was updated to align with what the date/datetime functions in admiral
currently do. (#316)assert_order_vars()
quo_c()
quo_not_missing()
replace_symbol_in_quo()
quosures
argument was replaced by the expressions
argument in replace_values_by_names()
, get_source_vars()
, and vars2chr()
. (#288)assert_function_param()
was deprecated in favor of assert_function()
. (#264)assert_named_expr()
was deprecated in favor of assert_expr_list()
. (#264)assert_has_variables()
was deprecated in favor of assert_data_frame()
. (#264)get_dataset()
was improved. (#271)friendly_type_of()
was provided (#22)missing_value
and missing_values
was added. (#296)set_values_to
and keep_source_vars
(#318)assert_named()
to check if all elements of an argument are named (#241)New function assert_expr_list()
to check if an argument is a list of expressions (#241)
Added a Report a bug link on admiraldev
website (#257)
assert_order_vars()
was deprecated in favor of assert_expr_list()
. (#241)The following functions have been deprecated from previous admiral versions using the next phase of the deprecation process: (#272)
quo_c()
quo_not_missing()
replace_symbol_in_quo()
The quosures
argument was replaced by the expressions
argument in replace_values_by_names()
.
The deprecation strategy was updated regarding unit tests for deprecated functions/arguments in phase 1. (#247)
The programming strategy was updated regarding permitted values and calling functions from package dependencies (#72, #253)
process_set_values_to()
for creating the variables specified by the set_value_to
argument and catching errors (#70)dev_utilities
(#102)assert_character_vector()
function gained a named
argument to check that all elements of the vector are named. (#70)assert_list_of()
function gained a named
argument to check that all elements of the list are named. (#203)quote_fun
argument of enumerate()
was extended such that NULL
can be specified to request no quoting of the elements. (#203)assert_list_of()
function was enhanced such that it also considers the type of the element, e.g., to check if a value is a list of symbols. (#208)optional
argument in assert_date_vector()
, assert_list_of()
, and assert_s3_class()
was changed from TRUE
to FALSE
to make the default behavior consistent. (#87)vars()
but list of expressions created by exprs()
. Thus the following functions and arguments were deprecated:
quo_c()
and replace_symbol_in_quo()
quosures
argument in get_source_vars()
, replace_values_by_names()
, and vars2chr()
@author
tags to code scripts from programming strategy, as we will only be tracking authors in the DESCRIPTION file. Authors have been removed from function documentation in line with this update. (#206, #210)replace_symbol_in_quo()
and add_suffix_to_vars()
(#106)assert_atomic_vector()
(#98)create_aux
for functions creating auxiliary datasets (#126)assert_date_vector()
(#129)assert_same_type()
(#176){assertthat}
(#149)admiraldev
have increased from 45% to approximately 100% (#94, #95, #96, #98, #101, #103)admiraldev_environment
object under R/admiraldev_environment.R
. (#179)expect_names
argument added to assert_vars()
to check if all variables are named (#117)dplyr
function exports and migration of user facing function negate_vars()
to admiral (#83)subject_keys
(#133){admiral}
{admiral}
{admiraldev}
website created