{% set version = '0.2.0' %}

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

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

source:
  url:
    - {{ cran_mirror }}/src/contrib/argonDash_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/argonDash/argonDash_{{ version }}.tar.gz
  sha256: 4db447b740c749a771efbc3d90734724b5da195bde7a14960daf9c51fcc9d3f3

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: magrittr
requirements:
  build:
    - {{ posix }}zip               # [win]

  host:
    - r-base
    - r-argonr
    - r-htmltools
    - r-shiny

  run:
    - r-base
    - r-argonr
    - r-htmltools
    - r-shiny

test:
  commands:
    # You can put additional test commands to be run here.
    - $R -e "library('argonDash')"           # [not win]
    - "\"%R%\" -e \"library('argonDash')\""  # [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/RinteRface/argonDash
  license: GPL-2
  summary: Create awesome 'Bootstrap 4' dashboards powered by 'Argon'. See more here <https://rinterface.github.io/argonDash/>.
  license_family: GPL2
  license_file:
    - '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-2'

extra:
  recipe-maintainers:
    - katietz

# The original CRAN metadata for this package was:

# Package: argonDash
# Type: Package
# Title: Argon Shiny Dashboard Template
# Version: 0.2.0
# Authors@R: c( person("David", "Granjon", email = "dgranjon@ymail.com", role = c("aut", "cre")), person(family = "RinteRface", role = "cph"), person(family = "Creative Tim", role = c("ctb", "cph"), comment = "Argon theme for Bootstrap 4"))
# Maintainer: David Granjon <dgranjon@ymail.com>
# Description: Create awesome 'Bootstrap 4' dashboards powered by 'Argon'. See more here <https://rinterface.github.io/argonDash/>.
# License: GPL-2
# Imports: shiny, htmltools, argonR
# Suggests: magrittr
# URL: https://github.com/RinteRface/argonDash
# BugReports: https://github.com/RinteRface/argonDash/issues
# Encoding: UTF-8
# LazyData: true
# RoxygenNote: 7.0.1
# NeedsCompilation: no
# Packaged: 2019-11-27 08:16:21 UTC; davidgranjon
# Author: David Granjon [aut, cre], RinteRface [cph], Creative Tim [ctb, cph] (Argon theme for Bootstrap 4)
# Repository: CRAN
# Date/Publication: 2019-11-27 08:30:07 UTC

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