CHOP-CGTInformatics / REDCapTidieR

Makes it easy to read REDCap Projects into R
https://chop-cgtinformatics.github.io/REDCapTidieR/
Other
32 stars 8 forks source link

[BUG] rlang change to supertbl label #157

Closed rsh52 closed 6 months ago

rsh52 commented 1 year ago

Expected Behavior

As cited in #155, during testing of make_labelled(), a label assigned to supertibbles changed from <redcap_supertbl> to <rdcp_spr>.

https://github.com/CHOP-CGTInformatics/REDCapTidieR/blob/2d1b4f12a5aa3561fa032d69ed9ad15a3bab0ad5/utility/cli_message_examples_reprex.md?plain=1#L201-L209

How to Reproduce the Bug:

It's expected this change took place during one of the rlang updates. An underlying component of rlang::as_label() is the pillar and vctrs packages, specifically vctrs::vec_ptype_full() which takes the first element of a class vector ("redcap_supertbl") and by default abbreviates it to 8 characters.

TBD if this is an issue we need to address or if it is acceptable as is.

Checklist

Before submitting this issue, please check and verify below that the submission meets the below criteria: