{% set version = '1.0.8' %}

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

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

source:
  url:
    - {{ cran_mirror }}/src/contrib/recipes_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/recipes/recipes_{{ version }}.tar.gz
  sha256: d3d20824b36e1195ed072b632c3be89714c335f56c0a2e942386fdadcd78a00d

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: covr, ddalpha, dials (>= 1.2.0), ggplot2, igraph, kernlab, knitr, modeldata (>= 0.1.1), parsnip (>= 0.1.7), RANN, RcppRoll, rmarkdown, rpart, rsample, RSpectra, splines2, testthat (>= 3.0.0), workflows, xml2
requirements:
  build:
    - {{ posix }}zip               # [win]

  host:
    - r-base
    - r-matrix
    - r-cli
    - r-clock >=0.6.1
    - r-dplyr >=1.1.0
    - r-ellipsis
    - r-generics >=0.1.2
    - r-glue
    - r-gower
    - r-hardhat >=1.3.0
    - r-ipred >=0.9_12
    - r-lifecycle >=1.0.3
    - r-lubridate >=1.8.0
    - r-magrittr
    - r-purrr >=1.0.0
    - r-rlang >=1.0.3
    - r-tibble
    - r-tidyr >=1.0.0
    - r-tidyselect >=1.2.0
    - r-timedate
    - r-vctrs >=0.5.0
    - r-withr

  run:
    - r-base
    - r-matrix
    - r-cli
    - r-clock >=0.6.1
    - r-dplyr >=1.1.0
    - r-ellipsis
    - r-generics >=0.1.2
    - r-glue
    - r-gower
    - r-hardhat >=1.3.0
    - r-ipred >=0.9_12
    - r-lifecycle >=1.0.3
    - r-lubridate >=1.8.0
    - r-magrittr
    - r-purrr >=1.0.0
    - r-rlang >=1.0.3
    - r-tibble
    - r-tidyr >=1.0.0
    - r-tidyselect >=1.2.0
    - r-timedate
    - r-vctrs >=0.5.0
    - r-withr

test:
  commands:
    # You can put additional test commands to be run here.
    - $R -e "library('recipes')"           # [not win]
    - "\"%R%\" -e \"library('recipes')\""  # [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/tidymodels/recipes, https://recipes.tidymodels.org/
  license: MIT
  summary: A recipe prepares your data for modeling. We provide an extensible framework for pipeable
    sequences of feature engineering steps provides preprocessing tools to be applied
    to data. Statistical parameters for the steps can be estimated from an initial data
    set and then applied to other data sets. The resulting processed output can then
    be used as inputs for statistical or machine learning models.
  license_family: MIT
  license_file:
    - '{{ environ["PREFIX"] }}/lib/R/share/licenses/MIT'
    - LICENSE

extra:
  recipe-maintainers:
    - mingwandroid

# The original CRAN metadata for this package was:

# Package: recipes
# Title: Preprocessing and Feature Engineering Steps for Modeling
# Version: 1.0.8
# Authors@R: c( person("Max", "Kuhn", , "max@posit.co", role = c("aut", "cre")), person("Hadley", "Wickham", , "hadley@posit.co", role = "aut"), person("Emil", "Hvitfeldt", , "emil.hvitfeldt@posit.co", role = "aut"), person(given = "Posit Software, PBC", role = c("cph", "fnd")) )
# Description: A recipe prepares your data for modeling. We provide an extensible framework for pipeable sequences of feature engineering steps provides preprocessing tools to be applied to data. Statistical parameters for the steps can be estimated from an initial data set and then applied to other data sets. The resulting processed output can then be used as inputs for statistical or machine learning models.
# License: MIT + file LICENSE
# URL: https://github.com/tidymodels/recipes, https://recipes.tidymodels.org/
# BugReports: https://github.com/tidymodels/recipes/issues
# Depends: dplyr (>= 1.1.0), R (>= 3.6)
# Imports: cli, clock (>= 0.6.1), ellipsis, generics (>= 0.1.2), glue, gower, hardhat (>= 1.3.0), ipred (>= 0.9-12), lifecycle (>= 1.0.3), lubridate (>= 1.8.0), magrittr, Matrix, purrr (>= 1.0.0), rlang (>= 1.0.3), stats, tibble, tidyr (>= 1.0.0), tidyselect (>= 1.2.0), timeDate, utils, vctrs (>= 0.5.0), withr
# Suggests: covr, ddalpha, dials (>= 1.2.0), ggplot2, igraph, kernlab, knitr, modeldata (>= 0.1.1), parsnip (>= 0.1.7), RANN, RcppRoll, rmarkdown, rpart, rsample, RSpectra, splines2, testthat (>= 3.0.0), workflows, xml2
# VignetteBuilder: knitr
# RdMacros: lifecycle
# Config/Needs/website: tidyverse/tidytemplate
# Config/testthat/edition: 3
# Encoding: UTF-8
# RoxygenNote: 7.2.3
# NeedsCompilation: no
# Packaged: 2023-08-25 22:07:09 UTC; max
# Author: Max Kuhn [aut, cre], Hadley Wickham [aut], Emil Hvitfeldt [aut], Posit Software, PBC [cph, fnd]
# Maintainer: Max Kuhn <max@posit.co>
# Repository: CRAN
# Date/Publication: 2023-08-25 22:50:06 UTC

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