Package: psychdsish 0.2.3

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.
Authors:
psychdsish_0.2.3.tar.gz
psychdsish_0.2.3.zip(r-4.7-any)psychdsish_0.2.3.zip(r-4.6-any)
psychdsish_0.2.3.tar.gz(r-4.7-any)psychdsish_0.2.3.tar.gz(r-4.6-any)
psychdsish_0.2.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
psychdsish/json (API)
| # Install 'psychdsish' in R: |
| install.packages('psychdsish', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ianhussey/psychdsish/issues
Last updated from:0d2fc911f7. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 145 | ||
| source / vignettes | OK | 215 | ||
| linux-release | OK | 126 | ||
| windows-devel | OK | 107 | ||
| windows-release | OK | 146 | ||
| wasm-release | OK | 114 |
Exports:check_unused_dependenciescheck_unused_objectscheck_unused_objects_single_filecreate_project_skeletoncreate_psychdsish_projectdelete_project_skeletonpoorly_styled_codestyle_all_filesvalidatorvalidator_addinwrite_dataset_description
Dependencies:base64encbslibcachemclidigestdplyrevaluatefastmapfontawesomefsgenericsgluehighrhtmltoolsjquerylibjsonliteknitrlaterlifecyclemagrittrmemoisemimepillarpkgconfigprocessxpspurrrquartoR.cacheR.methodsS3R.ooR.utilsR6rappdirsRcpprlangrmarkdownrprojrootrstudioapisassstringistringrstylertibbletidyselecttinytexutf8vctrswithrxfunyaml
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Scan a project for possibly-unused packages across all QMD/RMD files | check_unused_dependencies |
| Check all project files for objects that are created but never used | check_unused_objects |
| Check for objects that are created but never used within a file | check_unused_objects_single_file |
| Create an opinionated project directory skeleton following psych-ds-ish standard | create_project_skeleton |
| Delete a project skeleton while protecting the running file | delete_project_skeleton |
| A deliberately poorly styled tidyverse code example | poorly_styled_code |
| Style All Code in R, R Markdown, and Quarto Files in a Project | style_all_files |
| Validate a project directory structure against psych-ds-ish requirements | validator |
| Write a psych-DS dataset_description.json from the project's codebooks | write_dataset_description |
