This repository contains the CodeAndRoll2 R package, a collection of utility functions for vector, matrix, and list manipulations.
R/– core package functions.CodeAndRoll2.Rexposes the main utilities.deprecated.Rlists legacy helpers that should not be used in new code.
man/– roxygen2-generated documentation.DESCRIPTION&NAMESPACE– package metadata.Development/– auxiliary scripts used for building and maintenance; not required for package use.README.md– package description, installation instructions, and an extensive function catalogue.
- Use R (>= 4.0).
- After editing code in
R/, keep roxygen2-style comments and regenerate documentation with:devtools::document()
- Run checks before committing:
(or in R:
R CMD build . R CMD check CodeAndRoll2_*.tar.gz
devtools::check()). - Delete the generated
CodeAndRoll2_*.tar.gzarchive andCodeAndRoll2.Rcheckdirectory after the check. - Commit only when checks complete without errors or warnings.
- Read
README.mdfor a package overview and list of available functions. - Explore
R/CodeAndRoll2.Rto see implementation style and naming conventions. - Review
DESCRIPTIONto understand package dependencies (e.g., Stringendo, ReadWriter). - Check
deprecated.Rto avoid relying on obsolete functions. - Suggested next steps: learn roxygen2 for documentation, devtools for package development, and review dependent packages (MarkdownReports, ggExpress, Seurat.utils) to see CodeAndRoll2 in action.