caroline: A Collection of Database, Data Structure, Visualization, and Utility Functions for R

The caroline R library contains dozens of functions useful for: database migration (dbWriteTable2), database style joins & aggregation (nerge, groupBy, & bestBy), data structure conversion (nv, tab2df), legend table making (sstable & leghead), automatic legend positioning for scatter and box plots (legend.position), plot annotation (labsegs & mvlabs), data visualization (pies & raPlot), character string manipulation (m & pad), file I/O (write.delim), batch scripting, data exploration, and more. The package's greatest contributions stem from its database style merge, aggregation and interface functions as well as in it's extensive use and propagation of row, column and vector names in most functions. The latest additions are plotting functions (confound.grid & sparge) that intake a dataframe & formulas to visually resolve variable confounding.

Version: 1.1.1
Depends: R (≥ 2.0.0), methods
Suggests: MASS, RSQLite, grid
Enhances: DBI, gplots
Published: 2026-07-06
DOI: 10.32614/CRAN.package.caroline
Author: David Schruth [aut, cre]
Maintainer: David Schruth <code at anthropoidea.org>
License: Artistic-2.0
NeedsCompilation: no
Citation: caroline citation info
Materials: README, NEWS
CRAN checks: caroline results

Documentation:

Reference manual: caroline.html , caroline.pdf
Vignettes: Global Drivers of Natural Forest Loss: \\ a visual workflow for functions in the 'caroline' R-package (source, R code)

Downloads:

Package source: caroline_1.1.1.tar.gz
Windows binaries: r-devel: caroline_1.0.0.zip, r-release: caroline_1.0.0.zip, r-oldrel: caroline_1.0.0.zip
macOS binaries: r-release (arm64): caroline_1.1.1.tgz, r-oldrel (arm64): caroline_1.1.1.tgz, r-release (x86_64): caroline_1.1.1.tgz, r-oldrel (x86_64): caroline_1.1.1.tgz
Old sources: caroline archive

Reverse dependencies:

Reverse depends: primate
Reverse imports: conStruct, mmodely
Reverse suggests: MetabolSSMF

Linking:

Please use the canonical form https://CRAN.R-project.org/package=caroline to link to this page.