CLAUDE.md

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

ClinicoPathDescriptives is a hybrid R package that serves as both a standalone R package and a jamovi module for descriptive analysis in clinicopathological research. It provides 11 analysis functions covering descriptive statistics, visualizations, and specialized medical research tools.

Architecture

Dual Architecture Pattern

Each analysis function follows a three-file pattern: - .b.R files: Business logic and implementation (e.g., tableone.b.R) - .h.R files: jamovi interface definitions (auto-generated, don't edit manually) - .a.yaml files: jamovi GUI configuration in jamovi/ directory

Key Directories

Analysis Functions

Development Commands

Standard R Package Development

# Load package for testing
devtools::load_all()

# Generate documentation from roxygen2 comments
devtools::document()

# Run R CMD check
devtools::check()

# Build package
devtools::build()

# Build and install locally
devtools::install()

# Build vignettes
devtools::build_vignettes()

# Generate pkgdown website
pkgdown::build_site()

Dependencies

Testing and Quality Assurance

No formal test suite exists. Testing is done through: - devtools::check() for R CMD check - Manual testing in jamovi GUI for module functionality - GitHub Actions CI/CD on multiple platforms

jamovi Development Notes

Website and Documentation



sbalci/ClinicoPathDescriptives documentation built on July 4, 2025, 5:25 p.m.