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.0.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") ) Suggests: roxygen2, tinytest 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) Encoding: UTF-8 Roxygen: list(markdown = TRUE) Config/roxygen2/version: 8.0.0 Repository: https://pachadotdev.r-universe.dev Date/Publication: 2026-06-12 10:30:28 UTC RemoteUrl: https://github.com/pachadotdev/cpp4r RemoteRef: HEAD RemoteSha: 32cf616e4b4882643a6c399b06dbce6ca19787d4 NeedsCompilation: no Packaged: 2026-06-12 11:45:10 UTC; root Author: Mauricio Vargas Sepulveda [aut, cre] (ORCID: ), Posit Software, PBC [aut] (Original cpp11 package) Maintainer: Mauricio Vargas Sepulveda