Skip to content

rcpptimer

1.2.1Package record

'Rcpp' Tic-Toc Timer with 'OpenMP' Support

1packages depend
3.3Kdownloads / year
100.0%test coverage
0/13flavors OK

Overview

About

Provides 'Rcpp' bindings for 'cpptimer', a simple tic-toc timer class for benchmarking 'C++' code https://github.com/BerriJ/cpptimer. It's not just simple, it's blazing fast! This sleek tic-toc timer class supports overlapping timers as well as 'OpenMP' parallelism https://www.openmp.org/. It boasts a nanosecond-level time resolution. We did not find any overhead of the timer itself at this resolution. Results (with summary statistics) are automatically passed back to 'R' as a data frame.

Changes in 1.2.1

Fixes

  • This release fixes a bug where calling .toc() on a timer that was already stopped would cause a signed integer overflow. This a minor change in CppTimer as well as Rcpp::Timer.

From NEWS.md in the release

Install

Health

CRAN checks
13NOTE
Check messages
NOTEDESCRIPTION meta-informationr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64

r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64

Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘print.rcpptimer.R’

r-devel-windows-x86_64, r-oldrel-windows-x86_64, r-release-windows-x86_64

Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    'print.rcpptimer.R'

CRAN check page ↗

Slowest check: 4.9 min · r-devel-windows-x86_64
Status changes
  • NOTE13 NOTENow
  • NOTE3 OK, 11 NOTE2026-04-22
  • ERROR3 OK, 10 NOTE, 1 ERROR2026-04-18
  • NOTE3 OK, 11 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.2.1
READMEYes · 211 wordsVignettesYes · 5 · dynamicNEWSYes · 33% structured · mentions 1.2.1Citation fileNoWebsiteYes · pkgdown
Help pages
4 (1 internal)includes a package overview page
Examples that run
0%2 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

3.3K
CRAN downloads in the past year
Rank #9,581 · ~9/day · ~272/mo
Daily download trend is not available in this view yet.
32630 days
1K90 days
3.3K1 year
Compare downloads with other packages →
Also on410 r2u6 autocran

Repository

1Stars
0Forks
0Open issues
0Open PRs
4Releases
173Commits
2Commit identities
benchmarkingcpprrcpp
License file reads as GPL-3.0 · 173 commits · Last activity 2024-09-22
Responsiveness
How these are sampled
PRs merged (all time)
92%
Median days to close, 50 most recently updated closed issues
7
Median days to close, 50 most recently updated closed PRs
1
PracticesBeta

10 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/berrij/rcpptimer on 2026-10-22.

Continuous integration (1)
GitHub Actions
Docs source (3)
pkgdown

GitHub Pages site last deployed 2024-09-22 · The repository has a site deploy workflow

pkgdown site last built 2024-09-22

Coverage (1)
Coverage reporting
Reproducibility and dev environment (1)
Dev Container
Show all practicesHide 3 practices
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
VS Code
Git structural (1)
Submodules
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing rcpptimer adds 1 package (1 with compiled code, 1.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB.

Depends (0)
none
Imports (1)
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
1direct
0indirect
LinkingTo 1
Depends, Imports or LinkingTo, most downloaded first

People & History

People (1)
Author, Maintainer since 1.0.0 (2024)
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
  • 1.2.1Latest
    record
    2024-09-22 · current release · diff ↗
  • 1.2.0
    record
    2024-09-20 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.0
    record
    2024-03-20 · diff ↗
  • 1.0.0
    record
    2024-03-05
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2024-03-05
Total releases
4 / 2 yrs
License
GPL (>= 3) OSI
Download size
274 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("rcpptimer")
Berrisch, J. (2024). rcpptimer: 'Rcpp' Tic-Toc Timer with 'OpenMP' Support (Version 1.2.1) [Computer software]. https://doi.org/10.32614/CRAN.package.rcpptimer

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 rcpptimer version 1.2.1 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, 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