Development Setup
setwd("path/to/pizzarr")
install.packages("devtools")
devtools::install()
devtools::load_all()Building Documentation
devtools::document()
pkgdown::build_site()Coding Conventions
- Style: snake_case everywhere (functions, methods, variables). 2-space indent.
-
Errors:
stop("ErrorName(details)")— mimics Python Zarr error names. No rlang. -
Warnings/info:
warning()andmessage()from base R. -
Assertions: direct
if (...) stop()— no assertion library. -
R6 docs: roxygen2 with
@title,@docType class,@format [R6::R6Class]. Seer6-roxygen-convention.mdfor the full style guide. -
Tests: testthat 3e with
test_that("description", { ... }).
Resources
- Discussion of Zarr in R
-
blosc
- Note:
pizzarrhas an optional dependency onbloscfor Blosc (de)compression.
- Note:
- R package development
- Zarr implementation
