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:
parent
8a2ee437a2
commit
1d1d4a5796
1 changed files with 21 additions and 0 deletions
21
var/spack/repos/builtin/packages/r-cpp11/package.py
Normal file
21
var/spack/repos/builtin/packages/r-cpp11/package.py
Normal 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')
|
Loading…
Reference in a new issue