Last updated: 2026-02-06
Minimal R package development utilities - base R + curl.
What it does
tinypkgr provides lightweight wrappers around R CMD INSTALL, R CMD check, and CRAN submission utilities.
Installation
remotes::install_github("cornball-ai/tinypkgr")
Usage
Development
library(tinypkgr)
# Source all R files for interactive development
load_all()
# Install package
install()
# Reinstall and reload
reload()
# Run R CMD check
check()
CRAN Release
# Build tarball
build()
# Test on Windows
check_win_devel()
# Submit to CRAN
submit_cran()
Functions
| Function | Purpose |
|---|---|
install() | R CMD INSTALL wrapper |
load_all() | Source R/ files for dev |
reload() | Reinstall and reload |
check() | R CMD check wrapper |
build() | R CMD build wrapper |
maintainer() | Extract maintainer from DESCRIPTION |
check_win_devel() | Upload to win-builder |
submit_cran() | Submit to CRAN |
Philosophy
Follows tinyverse principles. Only dependency is curl (for CRAN/win-builder uploads).
License
GPL-3
Reference
See Function Reference for complete API documentation.
Functions
tinypkgr Reference
Function reference for tinypkgr