now interprets empty variables with empty levels attribute as logicals to avoid returning factors with empty levels

This commit is contained in:
Andreas Gammelgaard Damsbo 2025-02-25 10:36:37 +01:00
commit 7dfbb9b549
No known key found for this signature in database
3 changed files with 31 additions and 5 deletions

View file

@ -1,3 +1,7 @@
# REDCapCAST 25.2.1
* FIX: `as_factor()` now interprets empty variables with empty levels attribute as logicals to avoid returning factors with empty levels.
# REDCapCAST 25.1.1
The newly introduced extension of `forcats::fct_drop()` has been corrected to work as intended as a method.