psychdsish: Keep Data, R Code, and Outputs Organized and Reproducible
Creates a standardised project skeleton for research projects
in R that is loosely inspired by the 'psych-DS' data standard
(<https://psych-ds.github.io/>) for psychological data, and checks
whether an existing project follows the same conventions. The layout is
not fully 'psych-DS' compliant – most notably the
'dataset_description.json' metadata file is optional rather than
required, and can be generated from the 'codebook' files – hence
'psych-DS-ish'. Single- and
multi-study projects are supported. Alongside the directory structure
it generates 'Quarto' templates for processing and analysis code (including a
'codebook' for the processed data), a 'README', a licence, a citation file,
a '.gitignore' with sensible defaults, and a 'Quarto' project file that
renders the code in order. A 'validator' function reports whether a
project follows the conventions, including whether raw data have
changed since they were first committed to 'Git' and whether rendered
reports are up to date, and, where it does not, how to fix it. 'RStudio'
users can create projects from the New Project wizard and validate them
from the 'Addins' menu. See 'Hussey' (2026) <doi:10.5281/zenodo.21441984>
for the archived software record.
| Version: |
0.2.3 |
| Depends: |
R (≥ 4.1) |
| Imports: |
cli, dplyr, fs, jsonlite, purrr, quarto, rmarkdown, stats, stringr, styler, tibble, utils |
| Suggests: |
covr, knitr, kableExtra, rstudioapi, spelling, testthat (≥
3.0.0) |
| Published: |
2026-11-29 |
| DOI: |
10.32614/CRAN.package.psychdsish (may not be active yet) |
| Author: |
Ian Hussey [aut,
cre, cph] |
| Maintainer: |
Ian Hussey <ian.hussey at unibe.ch> |
| BugReports: |
https://github.com/ianhussey/psychdsish/issues |
| License: |
MIT + file LICENSE |
| URL: |
https://github.com/ianhussey/psychdsish |
| NeedsCompilation: |
no |
| SystemRequirements: |
Quarto command line tools (<https://quarto.org>)
for rendering projects and check_unused_dependencies(); Git
(<https://git-scm.com>) for the raw data check in validator()
(both optional) |
| Language: |
en-US |
| Materials: |
README, NEWS |
| CRAN checks: |
psychdsish results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=psychdsish
to link to this page.