Software

rdocdump: dump ‘R’ package source, documentation, and vignettes into one file

The Comprehensive R Archive Network, CRAN (June 2025)
Open Source

Abstract

Dump source code, documentation and vignettes of an R package into a single file. Supports installed packages, tar.gz archives, and package source directories. If the package is not installed, only its source is automatically downloaded from CRAN for processing. The output is a single plain text file or a character vector, which is useful to ingest complete package documentation and source into a large language model (LLM) or pass it further to other tools, such as {ragnar} to create a Retrieval-Augmented Generation (RAG) workflow.

Keywords: automation, languages, software
Max-Planck-Gesellschaft - Logo
The Max Planck Institute for Demographic Research (MPIDR) in Rostock is one of the leading demographic research centers in the world. It's part of the Max Planck Society, the internationally renowned German research society.