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.
| Version: | 0.2.0 |
| Suggests: | knitr, rmarkdown, spelling, testthat (≥ 3.0.0), withr |
| Published: | 2026-01-30 |
| DOI: | 10.32614/CRAN.package.printtree (may not be active yet) |
| Author: | George Arthur [aut, cre, cph] |
| Maintainer: | George Arthur <prigasgenthian48 at gmail.com> |
| BugReports: | https://github.com/PrigasG/printtree/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/PrigasG/printtree |
| NeedsCompilation: | no |
| Language: | en-US |
| Materials: | README, NEWS |
| CRAN checks: | printtree results |
| Reference manual: | printtree.html , printtree.pdf |
| Vignettes: |
Printing directory trees with printtree (source, R code) |
| Package source: | printtree_0.2.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=printtree to link to this page.