Skip to content

cppally

A 'C++20' API for R

v0.1.0 · Apr 28, 2026 · MIT + file LICENSE

Description

A header-only 'C++20' API for manipulating R data structures from 'C++'. Provides 'C++20' concepts specific to R, custom scalar and vector classes with built-in NA handling, automatic object protection, 'SIMD' (single-instruction-multiple-data), parallelisation, and a streamlined system for registering 'C++' functions, including templates, to R. Full API reference and documentation are available at <https://nicchr.github.io/cppally/>.

Downloads

CRAN

278

Last 30 days

14566th

672

Last 90 days

672

Last year

Trend: -22.4% (30d vs prior 30d)

r2u CRAN

12

Last 30 days

16

Last 90 days

16

Last year

Trend: +200% (30d vs prior 30d)

CRAN Check Status

3 ERROR
10 OK
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 ERROR
r-oldrel-macos-x86_64 ERROR
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 ERROR
r-release-windows-x86_64 OK
Check details (3 non-OK)
ERROR r-oldrel-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘cppally.Rmd’ using rmarkdown

Quitting from cppally.Rmd:86-365 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Compilation failed.
---
Backtrace:
    ▆
 1. └─global cpp_source(code = paste(examples, collapse = "\n"), debug = TRUE)
 2.   └─cppally::cpp_source(debug = debug, env = env, code = code, ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'cppally.Rmd' failed with diagnostics:
Compilation failed.
--- failed re-building ‘cppally.Rmd’

--- re-building ‘protection.Rmd’ using rmarkdown

Quitting from protection.Rmd:50-240 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Compilation failed.
---
Backtrace:
    ▆
 1. └─global cpp_source(code = paste(examples, collapse = "\n"))
 2.   └─cppally::cpp_source(debug = debug, env = env, code = code, ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'protection.Rmd' failed with diagnostics:
Compilation failed.
--- failed re-building ‘protection.Rmd’

SUMMARY: processing the following files failed:
  ‘cppally.Rmd’ ‘protection.Rmd’

Error: Vignette re-building failed.
Execution halted
ERROR r-oldrel-macos-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘cppally.Rmd’ using rmarkdown

Quitting from cppally.Rmd:86-365 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Compilation failed.
---
Backtrace:
    ▆
 1. └─global cpp_source(code = paste(examples, collapse = "\n"), debug = TRUE)
 2.   └─cppally::cpp_source(debug = debug, env = env, code = code, ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'cppally.Rmd' failed with diagnostics:
Compilation failed.
--- failed re-building ‘cppally.Rmd’

--- re-building ‘protection.Rmd’ using rmarkdown

Quitting from protection.Rmd:50-240 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Compilation failed.
---
Backtrace:
    ▆
 1. └─global cpp_source(code = paste(examples, collapse = "\n"))
 2.   └─cppally::cpp_source(debug = debug, env = env, code = code, ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'protection.Rmd' failed with diagnostics:
Compilation failed.
--- failed re-building ‘protection.Rmd’

SUMMARY: processing the following files failed:
  ‘cppally.Rmd’ ‘protection.Rmd’

Error: Vignette re-building failed.
Execution halted
ERROR r-release-macos-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘cppally.Rmd’ using rmarkdown

Quitting from cppally.Rmd:86-365 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Compilation failed.
---
Backtrace:
    ▆
 1. └─global cpp_source(code = paste(examples, collapse = "\n"), debug = TRUE)
 2.   └─cppally::cpp_source(debug = debug, env = env, code = code, ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'cppally.Rmd' failed with diagnostics:
Compilation failed.
--- failed re-building ‘cppally.Rmd’

--- re-building ‘protection.Rmd’ using rmarkdown

Quitting from protection.Rmd:50-240 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Compilation failed.
---
Backtrace:
    ▆
 1. └─global cpp_source(code = paste(examples, collapse = "\n"))
 2.   └─cppally::cpp_source(debug = debug, env = env, code = code, ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'protection.Rmd' failed with diagnostics:
Compilation failed.
--- failed re-building ‘protection.Rmd’

SUMMARY: processing the following files failed:
  ‘cppally.Rmd’ ‘protection.Rmd’

Error: Vignette re-building failed.
Execution halted

Check History

ERROR 4 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 29, 2026
ERROR r-oldrel-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘cppally.Rmd’ using rmarkdown

Quitting from cppally.Rmd:86-365 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Compila
...[truncated]...
ing vignette 'protection.Rmd' failed with diagnostics:
Compilation failed.
--- failed re-building ‘protection.Rmd’

SUMMARY: processing the following files failed:
  ‘cppally.Rmd’ ‘protection.Rmd’

Error: Vignette re-building failed.
Execution halted

Version History

1 tracked
new 0.1.0 Apr 28, 2026