Note: The badge URLs above already use the
bbuchsbaumGitHub username; update them only if you publish from a different account.
An R package for efficient storage and retrieval of neuroimaging data using HDF5 format with specialized data structures for fMRI analysis.
# Install development version from GitHub
# install.packages("devtools")
# devtools::install_github("bbuchsbaum/fmristore")
install.packages("fmristore", repos = c('https://bbuchsbaum.r-universe.dev', 'https://cloud.r-project.org'))
The package requires HDF5 system libraries. Installation instructions by platform:
sudo apt-get install libhdf5-dev
# Using Homebrew
brew install hdf5
# Using MacPorts
sudo port install hdf5
HDF5 libraries are automatically handled during R package installation.
library(fmristore)
# Load neuroimaging data
# Example workflow here...
# Install test dependencies
devtools::install_dev_deps()
# Run tests
devtools::test()
# Check test coverage
covr::package_coverage()
This package strictly follows the tidyverse style guide. Style compliance is enforced through automated checks:
Automated Style Enforcement:
Checking and Fixing Style Issues:
# Check for style violations
lintr::lint_package()
# Automatically fix style issues
styler::style_pkg()
# Check what styler would change without modifying files
styler::style_pkg(dry = "on")
Setting Up Pre-commit Hooks (Recommended for Contributors):
# Install pre-commit (requires Python)
pip install pre-commit
# Install the git hook scripts
pre-commit install
# (Optional) Run against all files
pre-commit run --all-files
The pre-commit hooks will automatically:
styler according to tidyverse stylelintr to catch style violationsgit checkout -b feature/amazing-feature)pre-commit install
devtools::test())styler::style_pkg() # Auto-fix style issues
lintr::lint_package() # Check for remaining violations
git commit -m 'Add amazing feature')git push origin feature/amazing-feature)Style Requirements:
lintr::lint_package() with no violationsstyler::style_pkg() using tidyverse styleThis project is licensed under the [license specified in DESCRIPTION file].
To cite this package in publications, use:
citation("fmristore")
This package uses the albersdown theme. Vignettes are styled with vignettes/albers.css and a local vignettes/albers.js; the palette family is provided via params$family (default 'red'). The pkgdown site uses template: { package: albersdown }.
This package uses the albersdown theme. Vignettes are styled with vignettes/albers.css and a local vignettes/albers.js; the palette family is provided via params$family (default 'red'). The pkgdown site uses template: { package: albersdown }.