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

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

source:
  url:
    - {{ cran_mirror }}/src/contrib/Rdpack_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/Rdpack/Rdpack_{{ version }}.tar.gz
  sha256: 7652add12b30fcba1f3a12493a089a4166079e78c47b95802a98595a3ff53581

build:
  merge_build_host: true  # [win]
  number: 2
  noarch: generic
  rpaths:
    - lib/R/lib/
    - lib/

requirements:
  build:
    - {{ posix }}zip               # [win]
  host:
    - r-base
    - r-gbrd
    - r-rbibutils >=1.3
  run:
    - r-base
    - r-gbrd
    - r-rbibutils >=1.3

test:
  commands:
    - $R -e "library('Rdpack')"           # [not win]
    - "\"%R%\" -e \"library('Rdpack')\""  # [win]

about:
  home: https://github.com/GeoBosh/Rdpack https://geobosh.github.io/Rdpack/
  license: GPL-2.0-or-later
  summary: Functions for manipulation of R documentation objects, including functions reprompt() and ereprompt() for updating 'Rd' documentation for functions, methods and classes; 'Rd' macros for citations and import of references from 'bibtex' files for use in 'Rd' files and 'roxygen2' comments; 'Rd' macros for evaluating
    and inserting snippets of 'R' code and the results of its evaluation or creating graphics on the fly; and many functions for manipulation of references and Rd files.
  license_family: GPL3
  license_file:
    - {{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-2

extra:
  recipe-maintainers:
    - conda-forge/r
    - MathiasHaudgaard
    - FrodePedersen
    - ArneKr

# Package: Rdpack
# Type: Package
# Title: Update and Manipulate Rd Documentation Objects
# Version: 0.11-0
# Date: 2019-04-14
# Authors@R: c( person(given = c("Georgi", "N."),  family = "Boshnakov",  role = c("aut", "cre"),  email = "georgi.boshnakov@manchester.ac.uk"),  person(given = "Duncan",  family = "Murdoch",  role = "ctb", email = "murdoch.duncan@gmail.com") )
# Description: Functions for manipulation of R documentation objects, including functions reprompt() and ereprompt() for updating 'Rd' documentation for functions, methods and classes; 'Rd' macros for citations and import of references from 'bibtex' files for use in 'Rd' files and 'roxygen2' comments; 'Rd' macros for evaluating and inserting snippets of 'R' code and the results of its evaluation or creating graphics on the fly; and many functions for manipulation of references and Rd files.
# URL: https://github.com/GeoBosh/Rdpack https://geobosh.github.io/Rdpack/
# BugReports: https://github.com/GeoBosh/Rdpack/issues
# Depends: R (>= 2.15.0), methods
# Imports: tools, utils, grDevices, bibtex (>= 0.4.0), gbRd
# Suggests: testthat, rstudioapi, rprojroot
# License: GPL (>= 2)
# LazyLoad: yes
# RoxygenNote: 6.1.1
# NeedsCompilation: no
# Packaged: 2019-04-14 17:47:24 UTC; mcbssgb2
# Author: Georgi N. Boshnakov [aut, cre], Duncan Murdoch [ctb]
# Maintainer: Georgi N. Boshnakov <georgi.boshnakov@manchester.ac.uk>
# Repository: CRAN
# Date/Publication: 2019-04-14 21:12:43 UTC
