Recent Releases of cards

cards - v0.7.0

New Features and Functions

  • Updated sort_ard_hierarchical() to allow for different sorting methods at each hierarchy variable level. (#487)
  • Updated sort_ard_hierarchical() and filter_ard_hierarchical() to always keep attribute and total N rows at the bottom of the ARD.
  • Added argument var to filter_ard_hierarchical() to allow filtering by any hierarchy variable. (#467)
  • Added flexibility to filter by by variable level-specific values when using filter_ard_hierarchical() to allow for filtering of hierarchical ARDs by difference in two rates. (#438)
  • The ard_strata() function has been updated to include the strata columns in the nested data frames. (#461)
  • Similar to ard_stack_hierarchical(), ard_stack() contains an args attribute to retain information about input arguments.
  • Added an article illustrating how to summarize long data structures. (#356)
  • Added ard_stack(.by_stat) and ard_stack_hierarchical(by_stat) arguments that, when TRUE (the default), includes a univariate ARD tabulation of the by variable in the returned ARD. (#335)
  • shuffle_ard() passes down the args attribute of the input card object when present. (#484, @dragosmg)
  • shuffle_ard() fills overall or group statistics with "Overall <column_name>" or "Any <column_name>". (#337, @dragosmg)
  • shuffle_ard() messages if "Overall <column_names>" is accidentally present in the data and creates a unique label. (#465, @dragosmg)
  • Add ADLB data set. (#450) ## Lifecycle Changes
  • The following functions have been renamed. The old functions still work in the package, and will be soft deprecated in the next release. (#470)

    • ard_continuous() to ard_summary()
    • ard_complex() to ard_mvsummary()
    • ard_categorical() to ard_tabulate()
    • ard_dichotomous() to ard_tabulate_value()
  • shuffle and .shuffle arguments (for ard_stack_hierarchical() and ard_stack()) are deprecated and users encouraged to call shuffle_ard() directly. (#475, @dragosmg)

What's Changed

  • fix: Misc workflow fixes by @cicdguy in https://github.com/insightsengineering/cards/pull/472
  • Update filter_ard_hierarchical() to allow filtering by any hierarchy variable by @edelarua in https://github.com/insightsengineering/cards/pull/468
  • Update .distinct default documentation for bind_ard() Closes #469 by @malanbos in https://github.com/insightsengineering/cards/pull/473
  • Add option to filter hierarchical ARDs by difference in two rates by @edelarua in https://github.com/insightsengineering/cards/pull/439
  • Fix bug when removing empty table sections with no by by @edelarua in https://github.com/insightsengineering/cards/pull/479
  • ADD adlb dataset by @ayogasekaram in https://github.com/insightsengineering/cards/pull/481
  • 337 shuffle ard handle ard vars from stack by @dragosmg in https://github.com/insightsengineering/cards/pull/466
  • 484 shuffle_ard() preserves the args attribute by @dragosmg in https://github.com/insightsengineering/cards/pull/485
  • add by_stats options to stacking functions by @bzkrouse in https://github.com/insightsengineering/cards/pull/491
  • Add option to sort hierarchical ARDs differently at each level by @edelarua in https://github.com/insightsengineering/cards/pull/493
  • Add Malan as author and Clymb Clinical as funder by @malanbos in https://github.com/insightsengineering/cards/pull/480
  • Add args as an attribute to output of ard_stack() by @bzkrouse in https://github.com/insightsengineering/cards/pull/489
  • deprecate shuffling inside stack functions. by @dragosmg in https://github.com/insightsengineering/cards/pull/478
  • Rename core cards functions by @ddsjoberg in https://github.com/insightsengineering/cards/pull/495
  • retain strata values when nesting by @ayogasekaram in https://github.com/insightsengineering/cards/pull/496
  • make deprecated functions visible by @bzkrouse in https://github.com/insightsengineering/cards/pull/502
  • Long data ARDs Vignette by @ddsjoberg in https://github.com/insightsengineering/cards/pull/503
  • Long data ards by @ddsjoberg in https://github.com/insightsengineering/cards/pull/504

New Contributors

  • @malanbos made their first contribution in https://github.com/insightsengineering/cards/pull/473
  • @dragosmg made their first contribution in https://github.com/insightsengineering/cards/pull/466

Full Changelog: https://github.com/insightsengineering/cards/compare/v0.6.1...v0.7.0

- R
Published by insights-engineering-bot 6 months ago

cards - v0.6.1

New Features and Functions

  • Added new function ard_identity() for saving pre-calculated statistics in an ARD format. (#379) ## Lifecycle Changes
  • Updating any fmt_fn references to fmt_fun for consistency.
    • Any function with an argument cards::foo(fmt_fn) has been updated to cards::foo(fmt_fun). The old syntax will continue to function, but with a deprecation warning to users.
    • The following function names have been updated: alias_as_fmt_fun(), apply_fmt_fun(), and update_ard_fmt_fun(). The former function names are still exported from the package, and users will see a deprecation note when they are used.
    • Importantly, the ARD column named "fmt_fn" has been updated to "fmt_fun". This change cannot be formally deprecated. For users who were accessing the ARD object directly to modify this column instead of using functions like update_ard_fmt_fun(), this will be a breaking change.

Bug Fixes

  • Fix bug in sort_ard_hierarchical() when hierarchical ARD has overall=TRUE. (#431)
  • Fix bug in ard_stack_hierarchical() when id values are present in multiple levels of the by variables. (#442)
  • Fix bug in shuffle_ard() where error is thrown if input contains hierarchical results. (#447)

What's Changed

  • Create .revdeprefs.yaml by @shajoezhu in https://github.com/insightsengineering/cards/pull/410
  • Revert "Create .revdeprefs.yaml" by @kimjj93 in https://github.com/insightsengineering/cards/pull/428
  • Adding ard_identity() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/432
  • update forcats standalone script by @ayogasekaram in https://github.com/insightsengineering/cards/pull/436
  • Update options help file by @kimjj93 in https://github.com/insightsengineering/cards/pull/433
  • Fix sort_ard_hierarchical() bug when overall=TRUE by @edelarua in https://github.com/insightsengineering/cards/pull/434
  • Fix bug in ardstackhierarchical warning for non-unique ids by @bzkrouse in https://github.com/insightsengineering/cards/pull/446
  • Add TRTA to ADSL data frame by @kimjj93 in https://github.com/insightsengineering/cards/pull/441
  • Updating any fmt_fn references to fmt_fun for consistency by @ddsjoberg in https://github.com/insightsengineering/cards/pull/455
  • Add AETOXGR to ADAE by @edelarua in https://github.com/insightsengineering/cards/pull/459
  • Add R/medicine25 talk by @Melkiades in https://github.com/insightsengineering/cards/pull/460
  • 447 shuffle bug by @bzkrouse in https://github.com/insightsengineering/cards/pull/463

New Contributors

  • @Melkiades made their first contribution in https://github.com/insightsengineering/cards/pull/460

Full Changelog: https://github.com/insightsengineering/cards/compare/v0.6.0...v0.6.1

- R
Published by insights-engineering-bot 8 months ago

cards - v0.6.0

New Features and Functions

  • Added functions sort_ard_hierarchical() and filter_ard_hierarchical() to sort & filter ARDs created using ard_stack_hierarchical() and ard_stack_hierarchical_count(). (#301)
  • Updated ard_stack_hierarchical() and ard_stack_hierarchical_count() to automatically sort results alphanumerically. (#423)
  • Added new function unlist_ard_columns(). (#391)
  • Updated function rename_ard_columns(). (#380)

    • The function no longer coerces values to character.
    • The fill argument has been added to specify a value to fill in the new column when there are no levels associated with the variables (e.g. continuous summaries).
    • The unlist argument has been deprecated in favor of using the new unlist_ard_columns() function.
    • The function no longer accepts generic data frames: inputs must be a data frame of class card.
  • Added function ard_formals() to assist in adding a function's formals, that is, the arguments with their default values, along with user-passed arguments into an ARD structure.

    Bug Fixes

  • Fixed sorting order of logical variables in nest_for_ard(). (#411)

    Lifecycle Changes

  • The shuffle_ard() function no longer outputs a 'label' column, and instead retains the original 'variable' level from the cards object. It also no longer trims rows with non-numeric stats values. (#416)

What's Changed

  • pull changes from standalone script by @ayogasekaram in https://github.com/insightsengineering/cards/pull/401
  • Adding ard_formals() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/407
  • Fix in sort order in nest_for_ard() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/412
  • Add functionality to sort & filter ard_stack_hierarchical() results by @edelarua in https://github.com/insightsengineering/cards/pull/392
  • adding unlist_ard_columns() function by @ddsjoberg in https://github.com/insightsengineering/cards/pull/417
  • Closes #399 by @kimjj93 in https://github.com/insightsengineering/cards/pull/415
  • Check devtools::build_readme() also build index.Rmd ? by @kimjj93 in https://github.com/insightsengineering/cards/pull/420
  • Sort ard_stack_hierarchical() results by default by @edelarua in https://github.com/insightsengineering/cards/pull/424
  • Updates for rename_ard_columns(), adding unlist_ard_columns() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/413

Full Changelog: https://github.com/insightsengineering/cards/compare/v0.5.1...v0.6.0

- R
Published by insights-engineering-bot 11 months ago

cards - v0.5.1

  • Small update to account for a change in R-devel.

What's Changed

  • Small update to account for a change in R-devel. by @ddsjoberg in https://github.com/insightsengineering/cards/pull/403

Full Changelog: https://github.com/insightsengineering/cards/compare/v0.5.0...v0.5.1

- R
Published by insights-engineering-bot 12 months ago

cards - v0.5.0

New Features and Functions

  • Added functions rename_ard_groups_shift() and rename_ard_groups_reverse() for renaming the grouping variables in the ARD. (#344)
  • Added an option to specify the default rounding in the package: cards.round_type. See ?cards.options for details. (#384)
  • Added the print_ard_conditions(condition_type) argument, which allows users to select to return conditions as messages (the default), or have warnings returned as warnings and errors as errors. (#386)
  • Added the all_ard_group_n(types) argument to allow separate selection of groupX and groupX_level columns.
  • Added the tidy_ard_column_order(group_order) argument that allows users to specify whether the grouping variables are listed in ascending order (the default) or descending order. The output of ard_strata() now calls tidy_ard_column_order(group_order="descending"). ## Other Updates
  • A new article has been added detailing how to create new ARD functions.
  • Results are now sorted in a consistent manner, by descending groups and strata. (#342, #326) ## Lifecycle Updates
  • Function label_cards() has been renamed to label_round(), which more clearly communicates that is returns a rounding function.

What's Changed

  • Add CRAN release template by @cicdguy in https://github.com/insightsengineering/cards/pull/364
  • Replace logo.png by logo.svg by @llrs-roche in https://github.com/insightsengineering/cards/pull/367
  • Revert to png logo by @llrs-roche in https://github.com/insightsengineering/cards/pull/370
  • Adding revdepcheck Instructions to PR Template by @ddsjoberg in https://github.com/insightsengineering/cards/pull/369
  • 342 sorting by @bzkrouse in https://github.com/insightsengineering/cards/pull/368
  • adding group rename functions by @ddsjoberg in https://github.com/insightsengineering/cards/pull/376
  • Adding cumulative counts and percents to ard_categorical() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/373
  • Update ard_hierarchical() denominator argument description by @edelarua in https://github.com/insightsengineering/cards/pull/374
  • Adding links to README of slides/recordings by @ddsjoberg in https://github.com/insightsengineering/cards/pull/377
  • fixes #261 by @kimjj93 in https://github.com/insightsengineering/cards/pull/383
  • Adde print_ard_conditions(condition_type) argument by @ddsjoberg in https://github.com/insightsengineering/cards/pull/387
  • Doc Update: Clarifying proportions vs percentages by @ddsjoberg in https://github.com/insightsengineering/cards/pull/388
  • Removing some experimental badges by @ddsjoberg in https://github.com/insightsengineering/cards/pull/389
  • 173 improve contributing by @jtalboys in https://github.com/insightsengineering/cards/pull/390
  • Adding functionality to include base R rounding by @ddsjoberg in https://github.com/insightsengineering/cards/pull/385
  • 357 stat methods vignette by @jtalboys in https://github.com/insightsengineering/cards/pull/365
  • lifecycle by @ddsjoberg in https://github.com/insightsengineering/cards/pull/395
  • Updated order of grouping variables in ARDs by @ddsjoberg in https://github.com/insightsengineering/cards/pull/394

New Contributors

  • @llrs-roche made their first contribution in https://github.com/insightsengineering/cards/pull/367
  • @kimjj93 made their first contribution in https://github.com/insightsengineering/cards/pull/383

Full Changelog: https://github.com/insightsengineering/cards/compare/v0.4.0...v0.5.0

- R
Published by insights-engineering-bot about 1 year ago

cards - v0.4.0

New Features and Functions

  • Added functions as_cards_fn(), is_cards_fn(), and get_cards_fn_stat_names(). These functions assist is creating functions with attributes enumerating the expected results.
  • Updated ard_continuous() and ard_complex() to return full ARDs when functions passed are created with as_cards_fn(): instead of a single row output, we get a long ARD with rows for each of the expected statistic names. (#316)
  • Added function ard_pairwise() to ease the calculations of pairwise analyses. (#359) ## Other Updates
  • Improved messaging in print_ard_conditions() when the calling function is namespaced. (#348)
  • Updated print method for 'card' objects so extraneous columns are never printed by default. ## Lifecycle Changes
  • No longer exporting functions check_pkg_installed(), is_pkg_installed(), get_min_version_required(), get_pkg_dependencies(). These functions are now internal-only. (#330) ## Bug Fixes
  • The tidy_ard_column_order() now correctly orders grouping columns when there are 10+ groups. This also corrects an issue in the hierarchical functions where the ordering of the variables matters. (#352)

What's Changed

  • 330 update standalone@main by @ayogasekaram in https://github.com/insightsengineering/cards/pull/349
  • Update check.yaml by @shajoezhu in https://github.com/insightsengineering/cards/pull/351
  • Sorting fix for 10+ groups in tidy_ard_column_order() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/353
  • Improved msg in print_ard_conditions() when the calling function is namedspaced by @ddsjoberg in https://github.com/insightsengineering/cards/pull/354
  • print method update by @ddsjoberg in https://github.com/insightsengineering/cards/pull/355
  • Update awkward by/strata phrasing by @jtalboys in https://github.com/insightsengineering/cards/pull/358
  • Adding ard_pairwise() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/360
  • Adding as_cards_fn() function by @ddsjoberg in https://github.com/insightsengineering/cards/pull/361

New Contributors

  • @shajoezhu made their first contribution in https://github.com/insightsengineering/cards/pull/351

Full Changelog: https://github.com/insightsengineering/cards/compare/v0.3.0...v0.4.0

- R
Published by insights-engineering-bot about 1 year ago

cards - v0.3.0

New Features & Updates

  • Added functions ard_stack_hierarchical() and ard_stack_hierarchical_count() that ease the creation of ARDs for multiple nested or hierarchical structures. (#314)
  • Added functions update_ard_fmt_fn() and update_ard_stat_label() to update an ARD's formatting function and statistic label, respectively. (#253)
  • Added rename_ard_columns(unlist) argument, which unlists specified columns in the ARD data frame. (#313)
  • Added ard_strata() function to ease the task of calculating ARDs stratified by one or more other categorical variables. (#273)
  • Added functions mock_continuous(), mock_categorical(), mock_dichotomous(), mock_missing(), mock_attributes() to build ARDs in the absence of a data frame. Where applicable, the formatting functions are set to return 'xx' or 'xx.x' to aid in the construction of mock tables or table shells. (#256)
  • Added functions for printing results from eval_capture_conditions(). Captured conditions can be printed as either errors or messages with captured_condition_as_error() and captured_condition_as_message(), respectively. (#282) ## Other Updates
  • The ard_hierarchical_count() function has been updated to match the behavior of ard_hierarchical() and results are now only returned for the last column listed in the variables arguments, rather than recursively counting all variables.
  • Add columns 'fmt_fn', 'warning', and 'errors' to ard_attributes() output. (#327)
  • Add checks for factors with no levels, or any levels that are NA into ard_* functions (#255)
  • Any rows with NA or NaN values in the .by columns specified in ard_stack() are now removed from all calculations. (#320)

What's Changed

  • Adding download badge to README by @ddsjoberg in https://github.com/insightsengineering/cards/pull/318
  • Workflow propagations by @walkowif in https://github.com/insightsengineering/cards/pull/304
  • Removing NA ard_stack(.by) values from calculations by @ddsjoberg in https://github.com/insightsengineering/cards/pull/321
  • Adding fns for updating ARDs by @ddsjoberg in https://github.com/insightsengineering/cards/pull/315
  • Added functions to print conditions by @ddsjoberg in https://github.com/insightsengineering/cards/pull/322
  • Adding rename_ard_columns(unlist) argument by @ddsjoberg in https://github.com/insightsengineering/cards/pull/323
  • Added functions for mock tables by @ddsjoberg in https://github.com/insightsengineering/cards/pull/328
  • Adding ard_stack_hierarchical() function by @ddsjoberg in https://github.com/insightsengineering/cards/pull/324
  • Check factor variables for NA or completely missing levels in ard_* functions by @jtalboys in https://github.com/insightsengineering/cards/pull/331
  • Adding links to other resources in README by @ddsjoberg in https://github.com/insightsengineering/cards/pull/340
  • update AE examples by @bzkrouse in https://github.com/insightsengineering/cards/pull/339
  • Updating error message in rename_ard_columns() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/341
  • Add columns fmt_fn, warning, and errors to ard_attributes output by @jtalboys in https://github.com/insightsengineering/cards/pull/343
  • Adding ard_strata() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/303

New Contributors

  • @jtalboys made their first contribution in https://github.com/insightsengineering/cards/pull/331

Full Changelog: https://github.com/insightsengineering/cards/compare/v0.2.2...v0.3.0

- R
Published by insights-engineering-bot over 1 year ago

cards - v0.2.2

New Features & Updates

  • Converted ard_total_n() to an S3 generic and added method ard_total_n.data.frame().
  • Added the bind_ard(.quiet) argument to suppress messaging. (#299)
  • Improved ability of shuffle_ard() to populate missing group values where possible. (#306)
  • Added apply_fmt_fn(replace) argument. Use replace=FALSE to retain any previously formatted statistics in the stat_fmt column. (#285)
  • Added bind_ard(.distinct) argument, which can remove non-distinct rows from the ARD across grouping variables, primary variables, context, statistic name and value. (#286) ## Bug Fixes
  • Fix in print_ard_conditions() when the variables were factors, which did not render properly in cli::cli_format().
  • Bug fix in print_ard_conditions() and we can now print condition messages that contain curly brace pairs. (#309)

What's Changed

  • Update pkgdown site logo by @edelarua in https://github.com/insightsengineering/cards/pull/293
  • Use AEDECOD instead of AETERM in tests & examples by @edelarua in https://github.com/insightsengineering/cards/pull/294
  • add checkardstructure() function to unit tests. by @ayogasekaram in https://github.com/insightsengineering/cards/pull/289
  • Adding ard_total_n.data.frame() method by @ddsjoberg in https://github.com/insightsengineering/cards/pull/296
  • Add as_card() function to convert to class 'card' by @edelarua in https://github.com/insightsengineering/cards/pull/292
  • Fix bug introduced by returning empty ARD in ard_complex() by @edelarua in https://github.com/insightsengineering/cards/pull/297
  • Fix in print_ard_conditions() where variable not processed correctly with cli::cli_format() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/298
  • Workflow propagations by @walkowif in https://github.com/insightsengineering/cards/pull/284
  • Added the bind_ard(.quiet) argument by @ddsjoberg in https://github.com/insightsengineering/cards/pull/300
  • adding more selectors by @ddsjoberg in https://github.com/insightsengineering/cards/pull/280
  • Adding add_calculated_row() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/281
  • Added apply_fmt_fn(replace) argument by @ddsjoberg in https://github.com/insightsengineering/cards/pull/305
  • Added bind_ard(.distinct) argument by @ddsjoberg in https://github.com/insightsengineering/cards/pull/307
  • Filling NA group values for "overall" calculations during shuffle_ard() by @bzkrouse in https://github.com/insightsengineering/cards/pull/306
  • Migrated a cardx ard_shuffle() test by @ddsjoberg in https://github.com/insightsengineering/cards/pull/308
  • Bug fix in print_ard_conditions() when message had curly brace pairs by @ddsjoberg in https://github.com/insightsengineering/cards/pull/310

Full Changelog: https://github.com/insightsengineering/cards/compare/v0.2.1...v0.2.2

- R
Published by insights-engineering-bot over 1 year ago

cards - v0.2.1

  • Update in ard_categorical() to use base::order() instead of dplyr::arrange(), so the ordering of variables match the results from base::table() in some edge cases where sorted order was inconsistent.
  • Update in ard_categorical() to run base::table() output checks against coerced character columns. Previously, we relied on R to perform checks on the type it decided to check against (e.g. when it coerces to a common type). While the initial strategy worked in cases of Base R classes, there were some bespoke classes, such as times from {hms}, where Base R does not coerce as we expected.

What's Changed

  • Using base::order() in ard_categorical() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/288
  • Update in ard_categorical() for some non-Base R classes by @ddsjoberg in https://github.com/insightsengineering/cards/pull/290

Full Changelog: https://github.com/insightsengineering/cards/compare/v0.2.0...v0.2.1

- R
Published by insights-engineering-bot over 1 year ago

cards - v0.2.0

New Features & Updates

  • Converting ard_*() functions and other helpers to S3 generics to make them extendable. (#227)
  • Added helper rename_ard_columns() for renaming/coalescing group/variable columns. (#213).
  • Added new function ard_total_n() for calculating the total N in a data frame. (#236)
  • Added the nest_for_ard(include_data) argument to either include or exclude the subsetted data frames in a list-column in the returned tibble.
  • Added check_ard_structure(column_order, method) arguments to the function to check for column ordering and whether result contains a stat_name='method' row.
  • Added the optional ard_heirarchicial(id) argument. When provided we check for duplicates across the column(s) supplied here. If duplicates are found, the user is warned that the percentages and denominators are not correct. (#214)
  • Improved messaging in check_pkg_installed() that incorporates the calling function name in the case of an error. (#205)
  • Updated is_pkg_installed() and check_pkg_installed() to allow checks for more than package at a time. The get_min_version_required() function has also been updated to return a tibble instead of a list with attributes. (#201)
  • Styling from the {cli} package are now removed from errors and warnings when they are captured with eval_capture_conditions(). Styling is removed with cli::ansi_strip(). (#129) ## Bug Fixes
  • Bug fix in ard_stack() when calls to functions were namespaced. (#242)
  • The print_ard_conditions() function has been updated to no longer error out if the ARD object does not have "error" or "warning" columns. (#240)
  • Bug fix in shuffle_ard() where factors were coerced to integers instead of their labels. (#232) ## Lifecycle Changes
  • Corrected order that ard_categorical (strata) columns would appear in the ARD results. Previously, they appeared in the order they appeared in the original data, and now they are sorted properly. (#221)
  • The API for ard_continuous(statistic) and ard_missing(statistic) arguments has been updated. Previously, the RHS of these argument's passed lists would be either continuous_summary_fns() and missing_summary_fns(). Now these arguments accept simple character vectors of the statistic names. For example, ard_categorical(statistic = everything() ~ c("n", "p", "N")) and ard_missing(statistic = everything() ~ c("N_obs", "N_miss", "N_nonmiss", "p_miss", "p_nonmiss")). (#223)
  • Updated ard_stack() to return n, p, and N for the by variable when specified. Previously, it only returned N which is the same for all levels of the by variable. (#219)
  • Bug fix where ard_stack(by) argument was not passed to ard_missing() when ard_stack(.missing=TRUE). (#244)
  • The ard_stack(by) argument has been renamed to ".by" and its location moved to after the dots inputs, e.g. ard_stack(..., .by). (#243)
  • A messaging overhaul to utilize the scripts in https://github.com/ddsjoberg/standalone/blob/main/R/standalone-cli_call_env.R. This allows clear error messaging across functions and packages. (#42)
    • The print_ard_conditions(call), check_list_elements(env), cards_select(.call) arguments have been removed.

What's Changed

  • check installed updates to allow more than one pkg at a time by @ddsjoberg in https://github.com/insightsengineering/cards/pull/202
  • add unit tests for non-syntactic variable names by @ayogasekaram in https://github.com/insightsengineering/cards/pull/198
  • Removing cli styling from errors and warnings captured with eval_capture_conditions() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/203
  • Change default landing page by @cicdguy in https://github.com/insightsengineering/cards/pull/204
  • Improved messaging in check_pkg_installed() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/208
  • Remove @noRd tags from unexported functions by @edelarua in https://github.com/insightsengineering/cards/pull/210
  • Returning ard_stack(by) summary stats by @ddsjoberg in https://github.com/insightsengineering/cards/pull/220
  • print update to use n_col arg for all columns by @ddsjoberg in https://github.com/insightsengineering/cards/pull/226
  • fixing order of strata variables in ard_categorical(strata) by @ddsjoberg in https://github.com/insightsengineering/cards/pull/224
  • removing snapshot that includes error text rom dplyr by @ddsjoberg in https://github.com/insightsengineering/cards/pull/228
  • Add functions to specify correct cli call env by @edelarua in https://github.com/insightsengineering/cards/pull/217
  • Adding ard_heirarchicial(id) argument by @ddsjoberg in https://github.com/insightsengineering/cards/pull/229
  • Closes #179 improve error messaging in alias_as_fmt_fn() by @zdz2101 in https://github.com/insightsengineering/cards/pull/222
  • Create .gitlab-ci.yml for internal automations by @cicdguy in https://github.com/insightsengineering/cards/pull/237
  • Workflow propagation by @walkowif in https://github.com/insightsengineering/cards/pull/206
  • Update print_ard_conditions example to generate warnings/errors by @edelarua in https://github.com/insightsengineering/cards/pull/231
  • Adding deprecated note about dplyr::vars() as selector by @ddsjoberg in https://github.com/insightsengineering/cards/pull/239
  • 211 ard attributes gen by @rparmm in https://github.com/insightsengineering/cards/pull/238
  • shuffle_ard() to properly coerce group and variable names/levels to character by @bzkrouse in https://github.com/insightsengineering/cards/pull/233
  • progress! by @ddsjoberg in https://github.com/insightsengineering/cards/pull/241
  • Passing ard_stack(by) arg to ard_missing() when .missing=TRUE by @ddsjoberg in https://github.com/insightsengineering/cards/pull/245
  • Converting fns to generics to make them extendable by @ddsjoberg in https://github.com/insightsengineering/cards/pull/246
  • Updates to the ARD checking function by @ddsjoberg in https://github.com/insightsengineering/cards/pull/247
  • ard_stack(by) argument has been renamed to ".by" by @ddsjoberg in https://github.com/insightsengineering/cards/pull/249
  • fix in ard_stack() when calls to functions were namespaced by @ddsjoberg in https://github.com/insightsengineering/cards/pull/250
  • Improved environment handling in process_formula_selectors() for formulas by @ddsjoberg in https://github.com/insightsengineering/cards/pull/252
  • Function to rename ard columns by @bzkrouse in https://github.com/insightsengineering/cards/pull/254
  • 223 updated api for statistic argumnet by @ddsjoberg in https://github.com/insightsengineering/cards/pull/257
  • Adding ard_total_n() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/258
  • Inherit the Denominators documentation section in all relevant functions by @edelarua in https://github.com/insightsengineering/cards/pull/260
  • adding better error message for ard_stack(.by) when mis-specified with ard_stack(by) by @ddsjoberg in https://github.com/insightsengineering/cards/pull/264
  • add AE example by @bzkrouse in https://github.com/insightsengineering/cards/pull/262
  • add gsk as author by @bzkrouse in https://github.com/insightsengineering/cards/pull/267
  • Fix in compute_formula_selector() for named lists with duplicate names by @ddsjoberg in https://github.com/insightsengineering/cards/pull/270
  • Updated quartile stat labels by @ddsjoberg in https://github.com/insightsengineering/cards/pull/271
  • add unit tests for protected names by @ayogasekaram in https://github.com/insightsengineering/cards/pull/266
  • Fixes for the AE example by @bzkrouse in https://github.com/insightsengineering/cards/pull/277
  • Exporting the ispkginstalled functions (like before) by @ddsjoberg in https://github.com/insightsengineering/cards/pull/278

New Contributors

  • @cicdguy made their first contribution in https://github.com/insightsengineering/cards/pull/204
  • @walkowif made their first contribution in https://github.com/insightsengineering/cards/pull/206
  • @rparmm made their first contribution in https://github.com/insightsengineering/cards/pull/238

Full Changelog: https://github.com/insightsengineering/cards/compare/v0.1.0...v0.2.0

- R
Published by insights-engineering-bot over 1 year ago

cards - v0.1.0

  • Initial release.

What's Changed

  • initial commit by @ddsjoberg in https://github.com/insightsengineering/cards/pull/1
  • Initial commits by @ddsjoberg in https://github.com/insightsengineering/cards/pull/2
  • JSON by @ddsjoberg in https://github.com/insightsengineering/cards/pull/9
  • updates to processing functions and exporting them by @ddsjoberg in https://github.com/insightsengineering/cards/pull/32
  • Generalized the tidier to ARD pipeline by @ddsjoberg in https://github.com/insightsengineering/cards/pull/35
  • added rlang purrr standalone fns by @ddsjoberg in https://github.com/insightsengineering/cards/pull/36
  • ard_continuous() updates by @ddsjoberg in https://github.com/insightsengineering/cards/pull/37
  • readme update by @ddsjoberg in https://github.com/insightsengineering/cards/pull/41
  • added strata arg by @ddsjoberg in https://github.com/insightsengineering/cards/pull/44
  • Create version-bump.yaml by @ddsjoberg in https://github.com/insightsengineering/cards/pull/46
  • added checking by @ddsjoberg in https://github.com/insightsengineering/cards/pull/48
  • added fillformulaselectors() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/57
  • added fmt_fn argument by @ddsjoberg in https://github.com/insightsengineering/cards/pull/58
  • Adding ard_categorical(statistics) argument by @ddsjoberg in https://github.com/insightsengineering/cards/pull/61
  • Add statlabels argument to `ardcontinuous()andard_categorical()` by @bzkrouse in https://github.com/insightsengineering/cards/pull/60
  • Fix for leading space in xx.x% formats by @ddsjoberg in https://github.com/insightsengineering/cards/pull/70
  • Documenting un-exported functions by @ddsjoberg in https://github.com/insightsengineering/cards/pull/75
  • Added PR Template by @ddsjoberg in https://github.com/insightsengineering/cards/pull/76
  • adding argument type/class documentation by @ddsjoberg in https://github.com/insightsengineering/cards/pull/78
  • Adding round5() to perform standard rounding, which is now the default by @ddsjoberg in https://github.com/insightsengineering/cards/pull/77
  • Updated quantile type to match SAS by @ddsjoberg in https://github.com/insightsengineering/cards/pull/74
  • adding ard_dichotomous() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/80
  • Added ard_hierarchical() and ard_hierarchical_count() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/82
  • No longer warning when formatted value is longer than the xx.x format by @ddsjoberg in https://github.com/insightsengineering/cards/pull/87
  • Updated tbl_cross() with percent argument by @ddsjoberg in https://github.com/insightsengineering/cards/pull/84
  • Fmt fn arg by @bzkrouse in https://github.com/insightsengineering/cards/pull/83
  • Shuffle ard by @bzkrouse in https://github.com/insightsengineering/cards/pull/86
  • Checks for structures by @ddsjoberg in https://github.com/insightsengineering/cards/pull/95
  • selector updates by @ddsjoberg in https://github.com/insightsengineering/cards/pull/100
  • more unit tests for ARD column names by @ddsjoberg in https://github.com/insightsengineering/cards/pull/101
  • Updates to the counting code by @ddsjoberg in https://github.com/insightsengineering/cards/pull/94
  • Adding 'card' print method by @ddsjoberg in https://github.com/insightsengineering/cards/pull/102
  • Adding ard_complex() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/109
  • package installtion checking functions by @ddsjoberg in https://github.com/insightsengineering/cards/pull/112
  • modify class check for shuffle_ard by @bzkrouse in https://github.com/insightsengineering/cards/pull/114
  • re-org pkgdown yaml and other docs by @ddsjoberg in https://github.com/insightsengineering/cards/pull/115
  • exporting a previously internal fn by @ddsjoberg in https://github.com/insightsengineering/cards/pull/116
  • removing flatten_ard() from package by @ddsjoberg in https://github.com/insightsengineering/cards/pull/119
  • Added is_pkg_installed() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/127
  • adding tidyardrow_order() by @bzkrouse in https://github.com/insightsengineering/cards/pull/122
  • adding print_ard_conditions() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/120
  • Adding a temporary hex sticker by @ddsjoberg in https://github.com/insightsengineering/cards/pull/139
  • workflow updates by @ddsjoberg in https://github.com/insightsengineering/cards/pull/140
  • using rlang::error_call() to get calling function name for messaging by @ddsjoberg in https://github.com/insightsengineering/cards/pull/134
  • Updated API for check_list_elements() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/131
  • CONTRIBUTING.md by @ddsjoberg in https://github.com/insightsengineering/cards/pull/142
  • using the standalone pkg by @ddsjoberg in https://github.com/insightsengineering/cards/pull/141
  • selector update by @ddsjoberg in https://github.com/insightsengineering/cards/pull/130
  • Update PULLREQUESTTEMPLATE.md by @ddsjoberg in https://github.com/insightsengineering/cards/pull/148
  • Default by argument for ard_*() functions by @bzkrouse in https://github.com/insightsengineering/cards/pull/146
  • readme update by @ddsjoberg in https://github.com/insightsengineering/cards/pull/152
  • adding examples to Rd files by @ddsjoberg in https://github.com/insightsengineering/cards/pull/154
  • Removed broom/broom.helper dependencies by @ddsjoberg in https://github.com/insightsengineering/cards/pull/147
  • compute_formula_selector() now removed named elements not present in data argument by @ddsjoberg in https://github.com/insightsengineering/cards/pull/155
  • shuffleard() to handle ARDs with no grouplevel present by @bzkrouse in https://github.com/insightsengineering/cards/pull/156
  • edit vignette by @bzkrouse in https://github.com/insightsengineering/cards/pull/160
  • Adding env to processed formulas by @ddsjoberg in https://github.com/insightsengineering/cards/pull/161
  • Resize cardx logo in README by @edelarua in https://github.com/insightsengineering/cards/pull/163
  • Propagate files from insightsengineering/.github by @insights-engineering-bot in https://github.com/insightsengineering/cards/pull/165
  • [skip actions] Propagate files from insightsengineering/.github by @insights-engineering-bot in https://github.com/insightsengineering/cards/pull/166
  • Check roxygen documentation by @edelarua in https://github.com/insightsengineering/cards/pull/168
  • ard_categorical(denominator) updates for missing variables by @ddsjoberg in https://github.com/insightsengineering/cards/pull/169
  • Correcting the default width in formatting functions by @ddsjoberg in https://github.com/insightsengineering/cards/pull/164
  • add default to tidy_as_ard() by @ayogasekaram in https://github.com/insightsengineering/cards/pull/172
  • Standalone updates by @ddsjoberg in https://github.com/insightsengineering/cards/pull/180
  • Closes #144 better default formatting for dates/datetimes by @zdz2101 in https://github.com/insightsengineering/cards/pull/175
  • adding replace_null_statistic() by @ddsjoberg in https://github.com/insightsengineering/cards/pull/186
  • Arg rename by @ddsjoberg in https://github.com/insightsengineering/cards/pull/183
  • GH workflows updates by @ddsjoberg in https://github.com/insightsengineering/cards/pull/187
  • Update _pkgdown.yml by @ddsjoberg in https://github.com/insightsengineering/cards/pull/188
  • Pkgdown updates by @ddsjoberg in https://github.com/insightsengineering/cards/pull/189
  • create ard_stack() function by @bzkrouse in https://github.com/insightsengineering/cards/pull/178
  • added structural check to fns that process formula-selectors by @ddsjoberg in https://github.com/insightsengineering/cards/pull/190
  • make sure NULL and character/logical NA are processed to be numeric NA by @bzkrouse in https://github.com/insightsengineering/cards/pull/192
  • adding selecting function by @ddsjoberg in https://github.com/insightsengineering/cards/pull/193
  • shuffle trims results with length > 1 by @ddsjoberg in https://github.com/insightsengineering/cards/pull/195
  • More pre-release renaming by @ddsjoberg in https://github.com/insightsengineering/cards/pull/194
  • Getting started by @ddsjoberg in https://github.com/insightsengineering/cards/pull/197
  • Release candidate v0.1.0 [skip vbump] by @ddsjoberg in https://github.com/insightsengineering/cards/pull/199

New Contributors

  • @ddsjoberg made their first contribution in https://github.com/insightsengineering/cards/pull/1
  • @bzkrouse made their first contribution in https://github.com/insightsengineering/cards/pull/60
  • @edelarua made their first contribution in https://github.com/insightsengineering/cards/pull/163
  • @insights-engineering-bot made their first contribution in https://github.com/insightsengineering/cards/pull/165
  • @ayogasekaram made their first contribution in https://github.com/insightsengineering/cards/pull/172
  • @zdz2101 made their first contribution in https://github.com/insightsengineering/cards/pull/175

Full Changelog: https://github.com/insightsengineering/cards/commits/v0.1.0

- R
Published by insights-engineering-bot almost 2 years ago