Skip to content

roxut

0.4.0Package record

Document Unit Tests Roxygen-Style

0packages dependsuggested by 3
9.2Kdownloads / year
80.3%test coverage
13/13flavors OK

Overview

About

Much as 'roxygen2' allows one to document functions in the same file as the function itself, 'roxut' allows one to write the unit tests in the same file as the function. Once processed, the unit tests are moved to the appropriate directory. Currently supports 'testthat' and 'tinytest' frameworks. The 'roxygen2' package provides much of the infrastructure.

Changes in 0.4.0

Bugs

  • The unit test files were missing a comment marker on Windows (in spite of passing all tests on Win-Builder; reported by Vilmantas Gegzna).

Improvements

  • Much more robust unit tests were added. See tests_roclet.R.
  • Unit test files now have a line giving the location of the unit test in the original file. Helpful if a *.R file contains more than one function with unit tests. Suggested with initial code by Claudia Beleites (was actually added in the previous version).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.4 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.4.0
README· In the repository, left out of the releaseVignettesNoNEWSYes · 100% structured · mentions 0.4.0Citation fileNo
Help pages
6includes a package overview page
Examples that run
100%1 run in a plain check
Exported functions with examples
100%
Documented parameters
not tracked
Return-value docs
100%
Help pages citing references
0%

Downloads

9.2K
CRAN downloads in the past year
Rank #8,046 · ~25/day · ~765/mo
Daily download trend is not available in this view yet.
39630 days
1.1K90 days
9.2K1 year
Compare downloads with other packages →
Also on70 r2u1 autocran

Repository

8Stars
1Forks
0Open issues
0Open PRs
0Releases
82Commits
2Commit identities
82 commits · Last activity 2022-12-12 · Default branch at 0.4.3, ahead of CRAN 0.4.0 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
1
Median days to close, 50 most recently updated closed PRs
4

Stars over time

2023-10-18 · 72026-07-07 · 8
PracticesBeta

5 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/bryanhanson/roxut on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
pkgdown

GitHub Pages site last deployed 2022-12-12 · The repository has a site deploy workflow

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing roxut adds 26 packages (12 with compiled code, 5.8 MB of source tarballs). Heaviest: fs 1.4 MB, rlang 766 KB, cli 629 KB.

Depends (1)
Imports (0)
none
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 3
Suggests, most downloaded first

People & History

People (7)
Author, Maintainer since 0.2.23 (2020)
Author
roxygen2 code
Author, Copyright holder
roxygen2 code
Author, Copyright holder
roxygen2 code
Author, Copyright holder
roxygen2 code
Contributor · added in 0.3.23
Copyright holder
roxygen2 code
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.0Latest
    record
    2021-08-22 · current release · diff ↗
  • 0.3.23
    record
    2021-08-15 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.40
    record
    2021-04-26 · diff ↗
  • 0.2.23
    record
    2020-07-06
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-07-06
Total releases
4 / 6 yrs
License
GPL-3 OSI
Download size
9.2 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("roxut")
Hanson, B. A., RStudio, Beleites, C., Csárdi, G., Danenberg, P., Eugster, M., & Wickham, H. (2021). roxut: Document Unit Tests Roxygen-Style (Version 0.4.0) [Computer software]. https://doi.org/10.32614/CRAN.package.roxut

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for roxut version 0.4.0 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy