summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-tweenr/package.py
blob: 04ceec1cb083bae57b5de655bf39936932018935 (plain) (blame)
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
# Copyright 2013-2022 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 RTweenr(RPackage):
    """Interpolate Data for Smooth Animations.

    In order to create smooth animation between states of data, tweening is
    necessary. This package provides a range of functions for creating tweened
    data that can be used as basis for animation. Furthermore it adds a number
    of vectorized interpolaters for common R data types such as numeric, date
    and colour."""

    cran = "tweenr"

    version('1.0.2', sha256='1805f575da6705ca4e5ec1c4605222fc826ba806d9ff9af41770294fe08ff69f')
    version('1.0.1', sha256='efd68162cd6d5a4f6d833dbf785a2bbce1cb7b9f90ba3fb060931a4bd705096b')

    depends_on('r@3.2.0:', type=('build', 'run'))
    depends_on('r-rcpp@0.12.3:', type=('build', 'run'))
    depends_on('r-farver', type=('build', 'run'))
    depends_on('r-magrittr', type=('build', 'run'))
    depends_on('r-rlang', type=('build', 'run'))