new package: r-cpp11 (#21015)

Provides a header only, C++11 interface to R's C interface. Compared to
other approaches 'cpp11' strives to be safe against long jumps from the
C API as well as C++ exceptions, conform to normal R function semantics
and supports interaction with 'ALTREP' vectors.
This commit is contained in:
Glenn Johnson 2021-01-17 13:57:53 -06:00 committed by GitHub
parent 8a2ee437a2
commit 1d1d4a5796
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,21 @@
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class RCpp11(RPackage):
"""cpp11: A C++11 Interface for R's C Interface
Provides a header only, C++11 interface to R's C interface. Compared to
other approaches 'cpp11' strives to be safe against long jumps from the C
API as well as C++ exceptions, conform to normal R function semantics and
supports interaction with 'ALTREP' vectors."""
homepage = "https://github.com/r-lib/cpp11"
url = "https://cloud.r-project.org/src/contrib/cpp11_0.2.5.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/cpp11"
version('0.2.5', sha256='6fef9306c0c3043252c987e77c99ef679b2ea46dffafae318dbeb38ad21a2e20')