1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Copyright 2013-2023 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.package import *
class RPool(RPackage):
"""Object Pooling.
Enables the creation of object pools, which make it less computationally
expensive to fetch a new object. Currently the only supported pooled
objects are 'DBI' connections."""
cran = "pool"
license("MIT")
version("1.0.1", sha256="73d5dffd55e80fdadb88401f12570fcf08e932c4c86761931241f9841fddadbf")
version("0.1.6", sha256="cdbe5f6c7f757c01893dc9870df0fb8d300829da0e427f6c2559b01caa52d9e1")
depends_on("r@3.0.0:", type=("build", "run"))
depends_on("r-dbi", type=("build", "run"))
depends_on("r-r6", type=("build", "run"))
depends_on("r-withr", type=("build", "run"), when="@1.0.1:")
depends_on("r-rlang@1.0.0:", type=("build", "run"), when="@1.0.1:")
depends_on("r-later@1.0.0:", type=("build", "run"))
|