Package: cpp4r Type: Package Title: Header-Only 'C++' and 'R' Interface Description: 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. Version: 1.3.0 Authors@R: c(person("Mauricio", "Vargas Sepulveda", , "m.vargas.sepulveda@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-1017-7574")), person(, "Posit Software, PBC", role = "aut", comment = "Original cpp11 package")) License: Apache License (>= 2) URL: https://cpp4r.org, https://github.com/pachadotdev/cpp4r BugReports: https://github.com/pachadotdev/cpp4r/issues Depends: R (>= 4.0.0) Suggests: tinytest, rbibutils, litedown Encoding: UTF-8 VignetteBuilder: litedown Repository: https://pachadotdev.r-universe.dev Date/Publication: 2026-09-23 14:30:49 UTC RemoteUrl: https://github.com/pachadotdev/cpp4r RemoteRef: HEAD RemoteSha: 7a375e1d8474cd059df228a2d9e1b66a88c054c5 NeedsCompilation: no Packaged: 2026-10-23 11:26:58 UTC; root Author: Mauricio Vargas Sepulveda [aut, cre] (ORCID: ), Posit Software, PBC [aut] (Original cpp11 package) Maintainer: Mauricio Vargas Sepulveda