summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-rsconnect/package.py
blob: 78b9d85dc7ab801b09ccb2ca3b02e7ae2273bd66 (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
28
29
30
31
32
# 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.package import *


class RRsconnect(RPackage):
    """Deployment Interface for R Markdown Documents and Shiny Applications.

    Programmatic deployment interface for 'RPubs', 'shinyapps.io', and 'RStudio
    Connect'. Supported content types include R Markdown documents, Shiny
    applications, Plumber APIs, plots, and static web content."""

    cran = "rsconnect"

    version('0.8.26', sha256='faafabbed803743799b345051f221aef2b4497b421fc98092ca41c05ef6b5fed')
    version('0.8.25', sha256='3c055277f745f2ca37a73e2f425249307cea4dc95ecc59fbe05ee8b6cf26d9cf')
    version('0.8.17', sha256='64767a4d626395b7871375956a9f0455c3d64ff6e779633b0e554921d85da231')

    depends_on('r@3.0.0:', type=('build', 'run'))
    depends_on('r-curl', type=('build', 'run'))
    depends_on('r-digest', type=('build', 'run'))
    depends_on('r-jsonlite', type=('build', 'run'))
    depends_on('r-openssl', type=('build', 'run'))
    depends_on('r-openssl@2.0.0:', type=('build', 'run'), when='@0.8.26:')
    depends_on('r-packrat@0.6:', type=('build', 'run'), when='@0.8.18:')
    depends_on('r-packrat@0.5:', type=('build', 'run'))
    depends_on('r-packrat@0.6:', type=('build', 'run'), when='@0.8.26:')
    depends_on('r-rstudioapi@0.5:', type=('build', 'run'))
    depends_on('r-yaml@2.1.5:', type=('build', 'run'))