kstools carpenter's tool tray logo

kstools

Version

Clinical and data science utilities for R.

Current package version is maintained in DESCRIPTION; detailed release history is in NEWS.md.

Repository: github.com/crow16384/kstools

Installation

From a local checkout (package root):

install.packages(".", repos = NULL, type = "source")

From GitHub:

# remotes::install_github("crow16384/kstools")
install.packages("kstools", repos = c('https://crow16384.r-universe.dev', 'https://cloud.r-project.org'))

Key Features

Descriptive Statistics

Inference and Comparative Methods

SDTM / ADaM Helpers

Data Loading and Export

Utility Functions

Examples

source("inst/examples/run_all_examples.R")

Documentation Workflow

From the package root:

# 1) Regenerate Rd files and NAMESPACE from roxygen comments
roxygen2::roxygenise()

# 2) Build vignettes
devtools::build_vignettes()

# 3) Build package site (pkgdown)
pkgdown::build_site()

The pkgdown configuration is in _pkgdown.yml, and vignettes are in vignettes.

Dependencies

Primary imports and suggested packages are declared in DESCRIPTION.

License

GNU General Public License v3.0 (GPL-3).

See DESCRIPTION and the GPL-3.0 text.