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
1remotes::install_github("cornball-ai/tinypkgr")
Usage
Development
1library(tinypkgr)
2
3# Source all R files for interactive development
4load_all()
5
6# Install package
7install()
8
9# Reinstall and reload
10reload()
11
12# Run R CMD check
13check()
CRAN Release
1# Build tarball
2build()
3
4# Test on Windows
5check_win_devel()
6
7# Submit to CRAN
8submit_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