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

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

source:
  url:
    - {{ cran_mirror }}/src/contrib/profvis_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/profvis/profvis_{{ version }}.tar.gz
  sha256: 60a51afa38e8194905cfd0ca5b3b8d43beefa0e0612928ecb6ebd8b28a696f39

build:
  merge_build_host: True  # [win]
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/

requirements:
  build:
    - {{ compiler('c') }}              # [not win]
    - {{ compiler('m2w64_c') }}        # [win]
    - {{posix}}filesystem        # [win]
    - {{posix}}make
    - {{posix}}sed               # [win]
    - {{posix}}coreutils         # [win]
    - {{posix}}zip               # [win]
  host:
    - r-base
    - r-htmlwidgets >=0.3.2
    - r-stringr
  run:
    - r-base
    - {{native}}gcc-libs         # [win]
    - r-htmlwidgets >=0.3.2
    - r-stringr

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

about:
  home: https://rstudio.github.io/profvis/
  license: GPL-3
  summary: Interactive visualizations for profiling R code.
  license_family: GPL3

extra:
  recipe-maintainers:
    - conda-forge/r
    - halldc

# Package: profvis
# Title: Interactive Visualizations for Profiling R Code
# Version: 0.3.6
# Authors@R: c( person("Winston", "Chang", email = "winston@rstudio.com", role = c("aut", "cre")), person("Javier", "Luraschi", email = "javier@rstudio.com", role = "aut"), person("Timothy", "Mastny", role = "aut"), person(family = "RStudio", role = "cph"), person(family = "jQuery Foundation", role = "cph", comment = "jQuery library"), person(family = "jQuery contributors", role = c("ctb", "cph"), comment = "jQuery library; authors listed in inst/www/shared/jquery-AUTHORS.txt"), person("Mike", "Bostock", role = c("ctb", "cph"), comment = "D3 library"), person(family = "D3 contributors", role = "ctb", comment = "D3 library"), person("Ivan", "Sagalaev", role = c("ctb", "cph"), comment = "highlight.js library") )
# Description: Interactive visualizations for profiling R code.
# Depends: R (>= 3.0)
# Imports: htmlwidgets (>= 0.3.2), stringr
# License: GPL-3 | file LICENSE
# Suggests: knitr, ggplot2, rmarkdown, testthat, devtools, shiny, htmltools
# RoxygenNote: 6.1.1
# URL: https://rstudio.github.io/profvis/
# Encoding: UTF-8
# NeedsCompilation: yes
# Packaged: 2019-05-14 13:42:46 UTC; barret
# Author: Winston Chang [aut, cre], Javier Luraschi [aut], Timothy Mastny [aut], RStudio [cph], jQuery Foundation [cph] (jQuery library), jQuery contributors [ctb, cph] (jQuery library; authors listed in inst/www/shared/jquery-AUTHORS.txt), Mike Bostock [ctb, cph] (D3 library), D3 contributors [ctb] (D3 library), Ivan Sagalaev [ctb, cph] (highlight.js library)
# Maintainer: Winston Chang <winston@rstudio.com>
# Repository: CRAN
# Date/Publication: 2019-05-14 14:20:03 UTC
