Skip to content

admiraldev 1.1.0

Latest
Compare
Choose a tag to compare
@bms63 bms63 released this 07 Jun 00:46
· 14 commits to main since this release
174b450

admiraldev 1.1.0

Updates of Existing Functions

  • Updated arg_name parameter in assert_filter_cond, assert_symbol, and assert_expr with gsub("^enexpr\\((\\w+)\\)$", "\\1", rlang::caller_arg(arg)) argument so that error messages return a quoted argument without enexpr(), e.g. filter_add instead of enexpr(filter_add). (#2404)

  • Error messaging throughout the package have been updated from rlang::abort() to cli::cli_abort(). As a part of the update, each of the assert_*() functions have new arguments assert_*(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 to assert_s3_class(cls). (#367)

    • Functions arg_name(), enumerate(), what_is_it(), and friendly_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)

Other

  • Removed dependencies not needed to build package or package documentation. (#426)

  • Increased minimum R version required to 4.0 to match {admiral}. (#382)

  • addin_format_testthat addin has been moved to {pharmaverse4devs} package. (#419)