{% set version = '2.25' %}

{% set posix = 'm2-' if win else '' %}
{% set native = 'm2w64-' if win else '' %}

package:
  name: r-rmarkdown
  version: {{ version|replace("-", "_") }}

source:
  url:
    - {{ cran_mirror }}/src/contrib/rmarkdown_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/rmarkdown/rmarkdown_{{ version }}.tar.gz
  sha256: 06e4662666fe018fbe3bef3531280a461c7bc24bb00f34b9d4c7b08d52210155

build:
  merge_build_host: True  # [win]
  # If this is a new build for the same version, increment the build number.
  number: 0
  # no skip
  noarch: generic

  # This is required to make R link correctly on Linux.
  rpaths:
    - lib/R/lib/
    - lib/

# Suggests: digest, dygraphs, fs, rsconnect, downlit (>= 0.4.0), katex (>= 1.4.0), sass (>= 0.4.0), shiny (>= 1.6.0), testthat (>= 3.0.3), tibble, vctrs, cleanrmd, withr (>= 2.4.2)
requirements:
  build:
    - {{ posix }}zip               # [win]

  host:
    - r-base
    - r-bslib >=0.2.5.1
    - r-evaluate >=0.13
    - r-fontawesome >=0.5.0
    - r-htmltools >=0.5.1
    - r-jquerylib
    - r-jsonlite
    - r-knitr >=1.22
    - r-stringr >=1.2.0
    - r-tinytex >=0.31
    - r-xfun >=0.36
    - r-yaml >=2.1.19

  run:
    - r-base
    - r-bslib >=0.2.5.1
    - r-evaluate >=0.13
    - r-fontawesome >=0.5.0
    - r-htmltools >=0.5.1
    - r-jquerylib
    - r-jsonlite
    - r-knitr >=1.22
    - r-stringr >=1.2.0
    - r-tinytex >=0.31
    - r-xfun >=0.36
    - r-yaml >=2.1.19
    - pandoc

test:
  commands:
    # You can put additional test commands to be run here.
    - $R -e "library('rmarkdown')"           # [not win]
    - "\"%R%\" -e \"library('rmarkdown')\""  # [win]

  # You can also put a file called run_test.py, run_test.sh, or run_test.bat
  # in the recipe that will be run at test time.

  # requires:
    # Put any additional test requirements here.

about:
  home: https://github.com/rstudio/rmarkdown, https://pkgs.rstudio.com/rmarkdown/
  license: GPL-3
  summary: Convert R Markdown documents into a variety of formats.
  license_family: GPL3
  license_file:
    - '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'

extra:
  recipe-maintainers:
    - johanneskoester
    - bgruening
    - mdehollander
    - jdblischak
    - mingwandroid

# The original CRAN metadata for this package was:

# Type: Package
# Package: rmarkdown
# Title: Dynamic Documents for R
# Version: 2.25
# Authors@R: c( person("JJ", "Allaire", , "jj@posit.co", role = "aut"), person("Yihui", "Xie", , "xie@yihui.name", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-0645-5666")), person("Christophe", "Dervieux", , "cderv@posit.co", role = "aut", comment = c(ORCID = "0000-0003-4474-2498")), person("Jonathan", "McPherson", , "jonathan@posit.co", role = "aut"), person("Javier", "Luraschi", role = "aut"), person("Kevin", "Ushey", , "kevin@posit.co", role = "aut"), person("Aron", "Atkins", , "aron@posit.co", role = "aut"), person("Hadley", "Wickham", , "hadley@posit.co", role = "aut"), person("Joe", "Cheng", , "joe@posit.co", role = "aut"), person("Winston", "Chang", , "winston@posit.co", role = "aut"), person("Richard", "Iannone", , "rich@posit.co", role = "aut", comment = c(ORCID = "0000-0003-3925-190X")), person("Andrew", "Dunning", role = "ctb", comment = c(ORCID = "0000-0003-0464-5036")), person("Atsushi", "Yasumoto", role = c("ctb", "cph"), comment = c(ORCID = "0000-0002-8335-495X", cph = "Number sections Lua filter")), person("Barret", "Schloerke", role = "ctb"), person("Carson", "Sievert", role = "ctb", comment = c(ORCID = "0000-0002-4958-2844")), person("Devon", "Ryan", , "dpryan79@gmail.com", role = "ctb", comment = c(ORCID = "0000-0002-8549-0971")), person("Frederik", "Aust", , "frederik.aust@uni-koeln.de", role = "ctb", comment = c(ORCID = "0000-0003-4900-788X")), person("Jeff", "Allen", , "jeff@posit.co", role = "ctb"), person("JooYoung", "Seo", role = "ctb", comment = c(ORCID = "0000-0002-4064-6012")), person("Malcolm", "Barrett", role = "ctb"), person("Rob", "Hyndman", , "Rob.Hyndman@monash.edu", role = "ctb"), person("Romain", "Lesur", role = "ctb"), person("Roy", "Storey", role = "ctb"), person("Ruben", "Arslan", , "ruben.arslan@uni-goettingen.de", role = "ctb"), person("Sergio", "Oller", role = "ctb"), person(given = "Posit Software, PBC", role = c("cph", "fnd")), person(, "jQuery UI contributors", role = c("ctb", "cph"), comment = "jQuery UI library; authors listed in inst/rmd/h/jqueryui/AUTHORS.txt"), person("Mark", "Otto", role = "ctb", comment = "Bootstrap library"), person("Jacob", "Thornton", role = "ctb", comment = "Bootstrap library"), person(, "Bootstrap contributors", role = "ctb", comment = "Bootstrap library"), person(, "Twitter, Inc", role = "cph", comment = "Bootstrap library"), person("Alexander", "Farkas", role = c("ctb", "cph"), comment = "html5shiv library"), person("Scott", "Jehl", role = c("ctb", "cph"), comment = "Respond.js library"), person("Ivan", "Sagalaev", role = c("ctb", "cph"), comment = "highlight.js library"), person("Greg", "Franko", role = c("ctb", "cph"), comment = "tocify library"), person("John", "MacFarlane", role = c("ctb", "cph"), comment = "Pandoc templates"), person(, "Google, Inc.", role = c("ctb", "cph"), comment = "ioslides library"), person("Dave", "Raggett", role = "ctb", comment = "slidy library"), person(, "W3C", role = "cph", comment = "slidy library"), person("Dave", "Gandy", role = c("ctb", "cph"), comment = "Font-Awesome"), person("Ben", "Sperry", role = "ctb", comment = "Ionicons"), person(, "Drifty", role = "cph", comment = "Ionicons"), person("Aidan", "Lister", role = c("ctb", "cph"), comment = "jQuery StickyTabs"), person("Benct Philip", "Jonsson", role = c("ctb", "cph"), comment = "pagebreak Lua filter"), person("Albert", "Krewinkel", role = c("ctb", "cph"), comment = "pagebreak Lua filter") )
# Maintainer: Yihui Xie <xie@yihui.name>
# Description: Convert R Markdown documents into a variety of formats.
# License: GPL-3
# URL: https://github.com/rstudio/rmarkdown, https://pkgs.rstudio.com/rmarkdown/
# BugReports: https://github.com/rstudio/rmarkdown/issues
# Depends: R (>= 3.0)
# Imports: bslib (>= 0.2.5.1), evaluate (>= 0.13), fontawesome (>= 0.5.0), htmltools (>= 0.5.1), jquerylib, jsonlite, knitr (>= 1.22), methods, stringr (>= 1.2.0), tinytex (>= 0.31), tools, utils, xfun (>= 0.36), yaml (>= 2.1.19)
# Suggests: digest, dygraphs, fs, rsconnect, downlit (>= 0.4.0), katex (>= 1.4.0), sass (>= 0.4.0), shiny (>= 1.6.0), testthat (>= 3.0.3), tibble, vctrs, cleanrmd, withr (>= 2.4.2)
# VignetteBuilder: knitr
# Config/Needs/website: rstudio/quillt, pkgdown
# Encoding: UTF-8
# RoxygenNote: 7.2.3
# SystemRequirements: pandoc (>= 1.14) - http://pandoc.org
# NeedsCompilation: no
# Packaged: 2023-09-15 16:52:22 UTC; yihui
# Author: JJ Allaire [aut], Yihui Xie [aut, cre] (<https://orcid.org/0000-0003-0645-5666>), Christophe Dervieux [aut] (<https://orcid.org/0000-0003-4474-2498>), Jonathan McPherson [aut], Javier Luraschi [aut], Kevin Ushey [aut], Aron Atkins [aut], Hadley Wickham [aut], Joe Cheng [aut], Winston Chang [aut], Richard Iannone [aut] (<https://orcid.org/0000-0003-3925-190X>), Andrew Dunning [ctb] (<https://orcid.org/0000-0003-0464-5036>), Atsushi Yasumoto [ctb, cph] (<https://orcid.org/0000-0002-8335-495X>, Number sections Lua filter), Barret Schloerke [ctb], Carson Sievert [ctb] (<https://orcid.org/0000-0002-4958-2844>), Devon Ryan [ctb] (<https://orcid.org/0000-0002-8549-0971>), Frederik Aust [ctb] (<https://orcid.org/0000-0003-4900-788X>), Jeff Allen [ctb], JooYoung Seo [ctb] (<https://orcid.org/0000-0002-4064-6012>), Malcolm Barrett [ctb], Rob Hyndman [ctb], Romain Lesur [ctb], Roy Storey [ctb], Ruben Arslan [ctb], Sergio Oller [ctb], Posit Software, PBC [cph, fnd], jQuery UI contributors [ctb, cph] (jQuery UI library; authors listed in inst/rmd/h/jqueryui/AUTHORS.txt), Mark Otto [ctb] (Bootstrap library), Jacob Thornton [ctb] (Bootstrap library), Bootstrap contributors [ctb] (Bootstrap library), Twitter, Inc [cph] (Bootstrap library), Alexander Farkas [ctb, cph] (html5shiv library), Scott Jehl [ctb, cph] (Respond.js library), Ivan Sagalaev [ctb, cph] (highlight.js library), Greg Franko [ctb, cph] (tocify library), John MacFarlane [ctb, cph] (Pandoc templates), Google, Inc. [ctb, cph] (ioslides library), Dave Raggett [ctb] (slidy library), W3C [cph] (slidy library), Dave Gandy [ctb, cph] (Font-Awesome), Ben Sperry [ctb] (Ionicons), Drifty [cph] (Ionicons), Aidan Lister [ctb, cph] (jQuery StickyTabs), Benct Philip Jonsson [ctb, cph] (pagebreak Lua filter), Albert Krewinkel [ctb, cph] (pagebreak Lua filter)
# Repository: CRAN
# Date/Publication: 2023-09-18 09:30:02 UTC

# See
# https://docs.conda.io/projects/conda-build for
# more information about meta.yaml
