summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-rsconnect/package.py
blob: 3a3bdb535a7c857efc7f05a3b336c475f135d089 (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
# 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 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."""

    homepage = "https://github.com/rstudio/rsconnect"
    cran     = "rsconnect"

    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-packrat@0.6:', when='@0.8.18:', type=('build', 'run'))
    depends_on('r-packrat@0.5:', type=('build', 'run'))
    depends_on('r-rstudioapi@0.5:', type=('build', 'run'))
    depends_on('r-yaml@2.1.5:', type=('build', 'run'))