Package: toolero 0.6.0

Erwin Lares

toolero: A Toolkit for Research Workflows

Provides utility functions to help researchers implement best practices for their coding projects. Includes tools for reading and cleaning data files, initializing R projects with a standard folder structure and optional YAML configuration, recording the resolved structure in a project configuration file that downstream tools can read, recording the outputs an analysis produces and the commit that produced them, creating 'Quarto' documents from reproducible templates with optional sample data and custom styling, detecting the execution context across interactive, 'Quarto', and script-based workflows, splitting data frames into group-level output files, applying analysis functions to each group with optional parallel execution, and rendering syntactic tree diagrams as standalone PNG images via 'Typst'.

Authors:Erwin Lares [aut, cre]

toolero_0.6.0.tar.gz
toolero_0.6.0.zip(r-4.7-any)toolero_0.6.0.zip(r-4.6-any)toolero_0.6.0.zip(r-4.5-any)
toolero_0.6.0.tgz(r-4.6-any)toolero_0.6.0.tgz(r-4.5-any)
toolero_0.6.0.tar.gz(r-4.7-any)toolero_0.6.0.tar.gz(r-4.6-any)
toolero_0.6.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
toolero/json (API)

# Install 'toolero' in R:
install.packages('toolero', repos = c('https://erwinlares.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/erwinlares/toolero/issues

Pkgdown/docs site:https://erwinlares.github.io

On CRAN:

Conda:

6.01 score 2 stars 20 scripts 291 downloads 20 exports 62 dependencies

Last updated from:36d604d95a. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK156
source / vignettesOK259
linux-releaseOK198
macos-releaseOK133
macos-oldrelOK153
windows-develOK179
windows-releaseOK153
windows-oldrelOK167
wasm-releaseOK108

Exports:arborizecheck_projectcreate_qmddetect_execution_contextgenerate_citationgenerate_data_docgenerate_kb_xmlgenerate_licensegenerate_manifestgenerate_profilegenerate_project_configinit_projectqmd_to_rread_clean_csvread_output_recordsresolve_input_pathrun_by_groupsave_outputwrite_by_groupwrite_clean_csv

Dependencies:askpassbitbit64clicliprcpp11crayoncredentialscurldescdplyrfsgenericsgertgitcredsglueherehmshttrhttr2inijanitorjsonlitelifecyclelubridatemagrittrmimeopensslpakparallellypillarpkgconfigprettyunitsprogresspurrrR6rappdirsreadrrenvrlangrprojrootrstudioapirvestselectrsnakecasestringistringrsystibbletidyrtidyselecttimechangetzdbusethisutf8vctrsvroomwhiskerwithrxml2yamlzip

Getting started with toolero
Background and motivation | Who is this for? | Installation | Project setup: init_project() and create_qmd() | Starting with init_project() | Adding a Quarto document with create_qmd() | With examples (the default) | Without examples | Custom styling | The purl hook | Pre-populating the YAML header | Summary of what gets created | Working with data | Reading and writing clean data: read_clean_csv() and write_clean_csv() | Splitting and applying: write_by_group() and run_by_group() | Recording what an analysis produced: save_output() and generate_manifest() | Reading output records back: read_output_records() | Auditing a project: check_project() | Execution context: detect_execution_context() and resolve_input_path() | Knowledge Base export: generate_kb_xml() | Citation metadata: generate_citation() | Syntactic trees: arborize() | Quick reference | Citation

Last update: 2026-10-09
Started: 2026-04-07

Rendering Syntactic Trees with arborize()
The problem | How arborize() solves it | A note on first use | Two rendering backends | tree_notation = "simple" -- bracket notation | tree_notation = "structured" -- lingotree notation | Getting the crop right: papersize and margin | Choosing a papersize | Choosing a margin | The general workflow | Examples | A simple NP | A clausal tree | Aspectual classes | Print-quality output | Tight crop with a narrow margin | Structured notation with lingotree | Suppressing the provenance file | Working with provenance files | Embedding trees in documents | Argument reference | References

Last update: 2026-09-30
Started: 2026-05-02

Writing context-aware R code with detect_execution_context()
The problem | The three contexts | The solution | A worked example | Connecting to create_qmd() and qmd_to_r() | Summary

Last update: 2026-09-29
Started: 2026-05-12