Helper Functions for Creating Tutorials
Overview
Helper functions for creating, editing, and testing tutorials created with the 'learnr' package. Provides a simple method for allowing students to download their answers to tutorial questions. For examples of its use, see the 'r4ds.tutorials' package.
- Remove
set_positron_settings()andset_rprofile_settings(). We no longer support configuring Positron or.Rprofilesettings. - Remove all tutorials except "Getting Started," which now uses VS Code on GitHub Codespaces.
- Fix bugs in the submissions functions:
submissions_summary()ignored itsemailsargument and duplicated rows for overlappingtitlepatterns, and it andcheck_membership()mishandled older submission files. - Fix
format_tutorial()anddetermine_exercise_number()bugs that produced malformed chunk labels and exercise numbers. - Improve
show_file(): empty files no longer error, code chunks of any language are recognized, and thepatternfilter applies in all modes. - Drop the
dplyr,purrr,mime, andjsonlitedependencies. Examples for thesubmissions_*functions now run on shipped sample files instead of being wrapped in\dontrun{}. - Finalize "Tutorials in the Age of AI" vignette.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 22 (2 internal)
- Examples that run
- 62%8 run in a plain check (1 of them under a condition) · 5 never run
- Exported functions with examples
- 65%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 78%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
7 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/ppbds/tutorial.helpers on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows
GitHub Pages site last deployed 2026-08-15 · The repository has a site deploy workflow
pkgdown site last built 2026-08-15
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-05-05Named in .Rbuildignore: .claudeCommits: at least 11 crediting it in the message
- Claude Fable 510 commits · Jul to Aug 2026
- Claude Opus 4.71 commit · May 2026
Dependencies
Installing tutorial.helpers adds 59 packages (31 with compiled code, 37 MB of source tarballs). Heaviest: bslib 5.6 MB, promises 3.1 MB, sass 2.9 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.7.0Latest2026-07-27 · current release · diff ↗ ·
removed 2 exports
set_positron_settings, set_rprofile_settings - RR 4.6.0 released · 2026-04-24
- 0.6.12025-12-23 · diff ↗
- 0.6.02025-09-11 · diff ↗ ·
removed 4 exports
ensure_quarto, process_submissions, set_binary_only_in_r_profile, set_rstudio_settingsadded 10 exports
check_key_vars, check_membership, download_google_drive, gather_submissions, get_submissions_from_learnr_session, match_questions, open_github_pages, set_rprofile_settings, submissions_answers, submissions_summary - 0.5.02025-05-11 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.4.2
- 0.3.12024-12-07 · diff ↗
- 0.3.0
- 0.2.7
- RR 4.4.0 released · 2024-04-24
- 0.2.62024-01-17 · diff ↗ ·
added 3 exports
determine_code_chunk_name, determine_exercise_number, make_exercise - 0.2.5
- 0.2.3
- 0.2.22023-05-08
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2023-05-08
- Total releases
- 12 / 3 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 1.1 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tutorial.helpers")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.