vazul 1.2.0
CRAN release: 2026-09-04
2026-09-04
- New Feature:
mask_names()gains akeep_suffixesparameter to preserve a fixed suffix (e.g._rfor reverse-scored items) verbatim in masked names, instead of masking it away. When multiple supplied suffixes match the same column, the longest match is kept and a warning reports the affected column(s). - Behavior Change:
mask_names()now sorts masked columns alphabetically by their masked name within their original positions, so column position no longer leaks which original variable a masked name refers to. Unmasked columns keep their original positions. - Bug Fix:
scramble_variables()now selects target columns by name instead of by numeric index, fixing a bug where a.groupscolumn positioned before or between target columns could cause the wrong column to be scrambled. - Validation:
mask_names(),mask_variables(), andscramble_variables()now reject data frames with duplicate column names with a clear error, instead of relying on inconsistent errors from underlying dependencies. - Documentation: Corrected the source citations for the
williamsandmarpexample datasets, and removed a placeholder OSF link. - Update documentation and vignettes to reflect the new
keep_suffixesparameter.
vazul 1.1.0
CRAN release: 2026-02-07
2026-02-06
- Breaking Change: Removed
mask_variables_rowwise()as row-wise masking is methodologically inconsistent with analysis blinding. - Breaking Change:
scramble_variables_rowwise()is now internal. Its functionality has been consolidated intoscramble_variables(..., .byrow = TRUE). - API Improvement: Arguments in
scramble_variables()andmask_variables()parameters now use leading dots (e.g., .groups, .together) to avoid naming conflicts with data columns. - Update documentation, vignettes, and website to reflect changes in function names and parameters.
vazul 0.4.0
2025-09-29
- Add
togetherparameter toscramble_variables()function. - Update documentation
- Add new tests
vazul 0.3.0
2025-09-25
- Add
mask_labels(),mask_variables(),mask_variables_rowwise(),mask_names()functions to mask factor levels and variable names. - Add unit tests for all new functions
- Add lifecycle badge to README
vazul 0.1.0
2025-09-18
-
scramble_values()can now use tidyselect helpers - Improved unit tests
- Add imports: {tidyselect}, {utils}
vazul 0.0.1
2025-09-15
- Unit tests added using
testthat. - Add error handling to
scramble_variables() - Add imports: {dplyr}, {rlang} ## 2025-09-09
- Add
scramble_values()andscramble_variables()functions. - Build package using
pkgdown::build_site(). - Add README
vazul 0.0.0.9000
2025-08-29
- Package skeleton created with
usethis::create_package(). - Add Williams et. al dataset.
- Add MARP dataset.
