summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-bookdown/package.py
blob: 6757a11babb0693e00a2eb8205bfc67faa6a38a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2019 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 RBookdown(RPackage):
    """Output formats and utilities for authoring books and technical
    documents with R Markdown."""

    homepage = "https://cran.r-project.org/package=bookdown"
    url      = "https://cran.rstudio.com/src/contrib/bookdown_0.5.tar.gz"
    list_url = "https://cran.rstudio.com/src/contrib/Archive/bookdown"

    version('0.5', '7bad360948e2b22d28397870b9319f17')

    depends_on('r-yaml@2.1.14:', type=('build', 'run'))
    depends_on('r-rmarkdown@1.5:', type=('build', 'run'))
    depends_on('r-knitr@1.16:', type=('build', 'run'))
    depends_on('r-htmltools@0.3.6:', type=('build', 'run'))