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

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

source:
  url:
    - {{ cran_mirror }}/src/contrib/ggiraph_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/ggiraph/ggiraph_{{ version }}.tar.gz
  sha256: 62d3e95390e948dffb96b21962707e496e0c39d83eb12f31c3254632c628c9ac

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

requirements:
  build:
    - {{ compiler('c') }}              # [not win]
    - {{ compiler('m2w64_c') }}        # [win]
    - {{ compiler('cxx') }}            # [not win]
    - {{ compiler('m2w64_cxx') }}      # [win]
    - {{ posix }}filesystem        # [win]
    - {{ posix }}sed               # [win]
    - {{ posix }}grep              # [win]
    - {{ posix }}autoconf
    - {{ posix }}automake          # [not win]
    - {{ posix }}automake-wrapper  # [win]
    - {{ posix }}pkg-config
    - {{ posix }}make
    - {{ posix }}coreutils         # [win]
    - {{ posix }}zip               # [win]
    - cross-r-base {{ r_base }}    # [build_platform != target_platform]
  host:
    - r-base
    - r-rcpp >=0.12.12
    - r-ggplot2 >=3.3.0
    - r-htmltools
    - r-htmlwidgets >=0.6
    - r-purrr
    - r-rlang
    - r-systemfonts
    - r-uuid
  run:
    - r-base
    - {{ native }}gcc-libs         # [win]
    - r-rcpp >=0.12.12
    - r-ggplot2 >=3.3.0
    - r-htmltools
    - r-htmlwidgets >=0.6
    - r-purrr
    - r-rlang
    - r-systemfonts
    - r-uuid

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

about:
  home: https://davidgohel.github.io/ggiraph
  license: GPL-3.0-only
  summary: Create interactive 'ggplot2' graphics using 'htmlwidgets'.
  license_family: GPL3
  license_file:
    - {{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3

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

# Package: ggiraph
# Type: Package
# Title: Make 'ggplot2' Graphics Interactive
# Description: Create interactive 'ggplot2' graphics using 'htmlwidgets'.
# Version: 0.7.0
# Authors@R: c( person("David", "Gohel", role = c("aut", "cre"), email = "david.gohel@ardata.fr"), person("Panagiotis", "Skintzos", role = c("aut"), email = "dev@pskintzos.net"), person("Mike", "Bostock", role = c("cph"), comment = "d3.js"), person("Speros", "Kokenes", role = c("cph"), comment = "d3-lasso"), person("Eric", "Shull", role = c("cph"), comment = "saveSvgAsPng js library"), person("Eric", "Book", role = c("ctb"), comment = "hline and vline geoms") )
# License: GPL-3
# Copyright: See file COPYRIGHTS.
# Encoding: UTF-8
# Imports: grid, ggplot2 (>= 3.2.0), htmlwidgets (>= 0.6), stats, xml2 (>= 1.0.0), htmltools, Rcpp (>= 0.12.12), gdtools (>= 0.2.1), purrr, rlang, uuid
# LinkingTo: Rcpp, gdtools
# Suggests: knitr, testthat, rmarkdown, maps, shiny, sf (>= 0.7-3), quantreg, dplyr
# VignetteBuilder: knitr
# URL: https://davidgohel.github.io/ggiraph
# BugReports: https://github.com/davidgohel/ggiraph/issues
# RoxygenNote: 6.1.1
# Collate: 'RcppExports.R' 'ipar.R' 'utils_ggplot2_performance.R' 'utils_ggplot2.R' 'utils.R' 'annotate_interactive.R' 'annotation_raster_interactive.R' 'dsvg.R' 'dsvg_view.R' 'element_interactive.R' 'fonts.R' 'geom_abline_interactive.R' 'geom_path_interactive.R' 'geom_polygon_interactive.R' 'geom_rect_interactive.R' 'geom_bar_interactive.R' 'geom_boxplot_interactive.R' 'geom_col_interactive.R' 'geom_contour_interactive.R' 'geom_crossbar_interactive.R' 'geom_density_2d_interactive.R' 'geom_density_interactive.R' 'geom_errorbar_interactive.R' 'geom_errorbarh_interactive.R' 'geom_freqpoly_interactive.R' 'geom_histogram_interactive.R' 'geom_hline_interactive.R' 'geom_jitter_interactive.R' 'geom_label_interactive.R' 'geom_linerange_interactive.R' 'geom_map_interactive.R' 'geom_point_interactive.R' 'geom_pointrange_interactive.R' 'geom_quantile_interactive.R' 'geom_raster_interactive.R' 'geom_ribbon_interactive.R' 'geom_segment_interactive.R' 'geom_sf_interactive.R' 'geom_smooth_interactive.R' 'geom_text_interactive.R' 'geom_tile_interactive.R' 'geom_vline_interactive.R' 'ggiraph.R' 'girafe.R' 'girafe_options.R' 'grob_interactive.R' 'guide_colourbar_interactive.R' 'guide_interactive.R' 'guide_legend_interactive.R' 'interactive_path_grob.R' 'interactive_points_grob.R' 'interactive_polygon_grob.R' 'interactive_polyline_grob.R' 'interactive_raster_grob.R' 'interactive_rect_grob.R' 'interactive_roundrect_grob.R' 'interactive_segments_grob.R' 'interactive_text_grob.R' 'layer_interactive.R' 'scale_alpha_interactive.R' 'scale_brewer_interactive.R' 'scale_colour_interactive.R' 'scale_gradient_interactive.R' 'scale_interactive.R' 'scale_linetype_interactive.R' 'scale_manual_interactive.R' 'scale_shape_interactive.R' 'scale_size_interactive.R' 'scale_viridis_interactive.R' 'svg.R' 'tracers.R'
# NeedsCompilation: yes
# Packaged: 2019-10-31 15:30:06 UTC; davidgohel
# Author: David Gohel [aut, cre], Panagiotis Skintzos [aut], Mike Bostock [cph] (d3.js), Speros Kokenes [cph] (d3-lasso), Eric Shull [cph] (saveSvgAsPng js library), Eric Book [ctb] (hline and vline geoms)
# Maintainer: David Gohel <david.gohel@ardata.fr>
# Repository: CRAN
# Date/Publication: 2019-10-31 18:20:02 UTC
