Enhancement request from dogfooding washr 1.0.2 on a package with seven datasets (larnsce/aboutme).
Two places hardcode the one-dataset case:
- The
data_processing.R template ends with usethis::use_data(<packagename>, overwrite = TRUE) and CSV/XLSX exports for that single object. With several datasets the whole export block needs rewriting by hand.
setup_readme() documents only the alphabetically first dataset in data/; the other datasets need their preview and dictionary sections copied in manually.
The dictionary already knows every dataset (file_name column), so both templates could loop: the export block over the objects passed to use_data(), and the README data section over distinct(file_name). Alternatively, document the multi-dataset path in the vignette so the hand-editing is expected.
Enhancement request from dogfooding washr 1.0.2 on a package with seven datasets (larnsce/aboutme).
Two places hardcode the one-dataset case:
data_processing.Rtemplate ends withusethis::use_data(<packagename>, overwrite = TRUE)and CSV/XLSX exports for that single object. With several datasets the whole export block needs rewriting by hand.setup_readme()documents only the alphabetically first dataset indata/; the other datasets need their preview and dictionary sections copied in manually.The dictionary already knows every dataset (
file_namecolumn), so both templates could loop: the export block over the objects passed touse_data(), and the README data section overdistinct(file_name). Alternatively, document the multi-dataset path in the vignette so the hand-editing is expected.