printtree: Print Directory Trees for R Projects and Folders
Abstract
Provides tools to print a compact, readable directory tree for a folder or project. The package can automatically detect common project roots (e.g., 'RStudio' '.Rproj' files) and formats output for quick inspection of code and data organization. It supports typical tree customizations such as limiting depth, excluding files using ignore patterns, and producing clean, aligned text output suitable for console use, reports, and reproducible documentation. A snapshot helper can also render the tree output to a PNG image for sharing in issues, teaching material, or project documentation.
Fields of Study & Subjects
Data Analysis with R
Scientific Computing and Data Management
Software Engineering Research
Publication details
- Publication date
- 30 January 2026
- Document type
- Dataset