Skip to content

cpp4r

1.1.0

Header-Only 'C++' and 'R' Interface

7packages depend
20.1Kdownloads / year
78.4%test coverage
13/13checks pass

Overview

About
Maintained by Mauricio Vargas SepulvedaFirst published 2025-10-167 releasesCRAN page ↗GitHub ↗

Provides a header only, 'C++' interface to 'R' with enhancements over 'cpp11'. Enforces copy-on-write semantics consistent with 'R' behavior. Offers native support for ALTREP objects, 'UTF-8' string handling, modern 'C++' features and idioms, and reduced memory requirements. Allows for vendoring, making it useful for restricted environments. Compared to 'cpp11', it adds support for converting 'C++' maps to 'R' lists, 'Roxygen' documentation directly in 'C++' code, proper handling of matrix attributes, support for nullable external pointers, bidirectional copy of complex number types, flexibility in type conversions, use of nullable pointers, and various performance optimizations.

Install

Health

CRAN checks
13OK
Slowest check: 1.4 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.00
78.4%
Coverage · measured lines
100%
Documentation · exports
0
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

20.1K
CRAN downloads in the past year
Rank #1,959 · ~55/day · ~1.7K/mo
Daily download trend is not available in this view yet.
4.3K30 days
12K90 days
20.1K1 year
Compare downloads with other packages →
Also on521 r2u191 conda_forge

Repository

Repository
7Stars
0Forks
0Open issues
0Open PRs
0Releases
38Commits
1Contributors
cpprstats
License Apache-2.0 · 38 commits · Last activity 2026-07-27 · 0% stars, 30d

Stars over time

2025-10-01 · 22026-07-07 · 7

Repository practices

Upstream repositoryBeta

6 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/pachadotdev/cpp4r on 2026-07-30.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
Makefile
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Governance and community (2)
Issue templatesSupport guide
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0.0
Imports (0)
none
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Package Timeline

7 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 1.1.0Latest
    2026-07-21 · current release · diff ↗
  • 1.0.0
    2026-06-12 · diff ↗
  • 0.6.0
    2026-05-17 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.5.1
    2026-04-15 · diff ↗
  • 0.5.0
    2026-04-13 · diff ↗
  • 0.4.0
    2025-12-04 · diff ↗
  • 0.3.0
    2025-10-16
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-10-16
Total releases
7 / 1 yrs
License
Apache License (>= 2)
Minimum R
≥ 4.0.0
Download size
56 KB
Installed size
not tracked yet
With dependencies
not tracked yet
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