RcppThread
R-Friendly Threading in C++
Description
Provides a C++11-style thread class and thread pool that can safely be interrupted from R. See Nagler (2021) <doi:10.18637/jss.v097.c01>.
Downloads
15.2K
Last 30 days
946th
38.7K
Last 90 days
161K
Last year
Trend: +32.3% (30d vs prior 30d)
275
Last 30 days
551
Last 90 days
4.2K
Last year
Trend: +93.7% (30d vs prior 30d)
5
Last 7 days
9
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
703
Last 30 days
1.6K
Last 90 days
8.2K
Last year
Trend: +11.2% (30d vs prior 30d)
6
Last 30 days
17
Last 90 days
561
Last year
Trend: -40% (30d vs prior 30d)
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
tests
Running 'testthat.R' [58s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(RcppThread)
>
> test_check("RcppThread")
-latomicspecified C++11
using C++ compiler: 'g++.exe (GCC) 14.3.0'
make
...[truncated]...
h("../tests.cpp"))`: Error 1 occurred building shared library.
Backtrace:
▆
1. └─Rcpp::sourceCpp(file = normalizePath("../tests.cpp")) at tests.R:6:5
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
Error:
! Test failures.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Code & tests
Open call graph →Line coverage
–
Expression
–
Tests / Examples
–
Functions
14 2 exported
Complexity
1.4 avg / 3 max
Call network
14 nodes / 17 edges
Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.
Lowest coverage
Per-function coverage is not measured for this package yet.
Code
Structure
Lines of code
838
Files
35
Compiled share
8.6%
Has compiled src
Yes
Language breakdown
API
Exported functions
2
Internal functions
9
Testing & CI
Has tests
Yes
Test-to-code ratio
5.27
testthat edition
–
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
0%
\dontrun example ratio
–
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
–
Unsafe pattern score
2
Dep constraint coverage
–
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
3.3.0
System requirements
–
C++ standard
–
License
MIT + file LICENSE
License flags
SPDX valid, OSI approved
History
Versions
26
First release
2017-10-27
Latest release
2026-06-11
Avg cadence
29 days
Cold removal rate
–
Dep drift
1
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.