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

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

source:
  url:
    - {{ cran_mirror }}/src/contrib/dynutils_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/dynutils/dynutils_{{ version }}.tar.gz
  sha256: 5d08afd3d758c31eef5ffde640f8c30eac13ee143f15c22f8ac4689d3df896ed

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}}make
    - {{posix}}sed               # [win]
    - {{posix}}coreutils         # [win]
    - {{posix}}zip               # [win]
  host:
    - r-base
    - r-matrix
    - r-rcpp
    - r-assertthat
    - r-crayon
    - r-desc
    - r-dplyr
    - r-magrittr
    - r-proxyc
    - r-purrr
    - r-remotes
    - r-stringr
    - r-tibble
  run:
    - r-base
    - {{native}}gcc-libs         # [win]
    - r-matrix
    - r-rcpp
    - r-assertthat
    - r-crayon
    - r-desc
    - r-dplyr
    - r-magrittr
    - r-proxyc
    - r-purrr
    - r-remotes
    - r-stringr
    - r-tibble

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

about:
  home: http://github.com/dynverse/dynutils
  license: GPL-3
  summary: Provides common functionality for the 'dynverse' packages. 'dynverse' is created to
    support the development, execution, and benchmarking of trajectory inference methods.
    For more information, check out <https://dynverse.org>.
  license_family: GPL3
  license_file:
    - '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'

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

# Package: dynutils
# Type: Package
# Title: Common Functionality for the 'dynverse' Packages
# Version: 1.0.4
# Authors@R: c( person( "Robrecht", "Cannoodt", email = "rcannood@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-3641-729X", github = "rcannood") ), person( "Wouter", "Saelens", email = "wouter.saelens@ugent.be", role = c("aut"), comment = c(ORCID = "0000-0002-7114-6248", github = "zouter") ) )
# Description: Provides common functionality for the 'dynverse' packages. 'dynverse' is created to support the development, execution, and benchmarking of trajectory inference methods. For more information, check out <https://dynverse.org>.
# License: GPL-3
# URL: http://github.com/dynverse/dynutils
# BugReports: https://github.com/dynverse/dynutils/issues
# LazyData: TRUE
# RoxygenNote: 6.1.1
# Depends: R (>= 3.0.0)
# Imports: assertthat, crayon, desc, dplyr, magrittr, Matrix, methods, proxyC, purrr, Rcpp, remotes, stringr, tibble
# Suggests: ggplot2, hdf5r, knitr, readr, rmarkdown, testthat
# LinkingTo: Rcpp
# Encoding: UTF-8
# VignetteBuilder: knitr
# NeedsCompilation: yes
# Packaged: 2019-10-03 09:35:39 UTC; rcannood
# Author: Robrecht Cannoodt [aut, cre] (<https://orcid.org/0000-0003-3641-729X>, rcannood), Wouter Saelens [aut] (<https://orcid.org/0000-0002-7114-6248>, zouter)
# Maintainer: Robrecht Cannoodt <rcannood@gmail.com>
# Repository: CRAN
# Date/Publication: 2019-10-03 11:40:05 UTC
