{% set version = '3.2.1' %}

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

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

source:
  url:
    - {{ cran_mirror }}/src/contrib/tibble_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/tibble/tibble_{{ version }}.tar.gz
  sha256: 65a72d0c557fd6e7c510d150c935ed6ced5db7d05fc20236b370f11428372131

build:
  merge_build_host: True  # [win]
  # If this is a new build for the same version, increment the build number.
  number: 0
  # no skip

  # This is required to make R link correctly on Linux.
  rpaths:
    - lib/R/lib/
    - lib/

# Suggests: bench, bit64, blob, brio, callr, cli, covr, crayon (>= 1.3.4), DiagrammeR, dplyr, evaluate, formattable, ggplot2, here, hms, htmltools, knitr, lubridate, mockr, nycflights13, pkgbuild, pkgload, purrr, rmarkdown, stringi, testthat (>= 3.0.2), tidyr, withr
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-fansi >=0.4.0
    - r-lifecycle >=1.0.0
    - r-magrittr
    - r-pillar >=1.8.1
    - r-pkgconfig
    - r-rlang >=1.0.2
    - r-vctrs >=0.4.2

  run:
    - r-base
    - {{native}}gcc-libs         # [win]
    - r-fansi >=0.4.0
    - r-lifecycle >=1.0.0
    - r-magrittr
    - r-pillar >=1.8.1
    - r-pkgconfig
    - r-rlang >=1.0.2
    - r-vctrs >=0.4.2

test:
  commands:
    # You can put additional test commands to be run here.
    - $R -e "library('tibble')"           # [not win]
    - "\"%R%\" -e \"library('tibble')\""  # [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://tibble.tidyverse.org/, https://github.com/tidyverse/tibble
  license: MIT
  summary: Provides a 'tbl_df' class (the 'tibble') with stricter checking and better formatting
    than the traditional data frame.
  license_family: MIT
  license_file:
    - '{{ environ["PREFIX"] }}/lib/R/share/licenses/MIT'
    - LICENSE

extra:
  recipe-maintainers:
    - johanneskoester
    - bgruening
    - mingwandroid

# The original CRAN metadata for this package was:

# Package: tibble
# Title: Simple Data Frames
# Version: 3.2.1
# Authors@R: c(person(given = "Kirill", family = "M\u00fcller", role = c("aut", "cre"), email = "kirill@cynkra.com", comment = c(ORCID = "0000-0002-1416-3412")), person(given = "Hadley", family = "Wickham", role = "aut", email = "hadley@rstudio.com"), person(given = "Romain", family = "Francois", role = "ctb", email = "romain@r-enthusiasts.com"), person(given = "Jennifer", family = "Bryan", role = "ctb", email = "jenny@rstudio.com"), person(given = "RStudio", role = c("cph", "fnd")))
# Description: Provides a 'tbl_df' class (the 'tibble') with stricter checking and better formatting than the traditional data frame.
# License: MIT + file LICENSE
# URL: https://tibble.tidyverse.org/, https://github.com/tidyverse/tibble
# BugReports: https://github.com/tidyverse/tibble/issues
# Depends: R (>= 3.4.0)
# Imports: fansi (>= 0.4.0), lifecycle (>= 1.0.0), magrittr, methods, pillar (>= 1.8.1), pkgconfig, rlang (>= 1.0.2), utils, vctrs (>= 0.4.2)
# Suggests: bench, bit64, blob, brio, callr, cli, covr, crayon (>= 1.3.4), DiagrammeR, dplyr, evaluate, formattable, ggplot2, here, hms, htmltools, knitr, lubridate, mockr, nycflights13, pkgbuild, pkgload, purrr, rmarkdown, stringi, testthat (>= 3.0.2), tidyr, withr
# VignetteBuilder: knitr
# Encoding: UTF-8
# RoxygenNote: 7.2.3
# Config/testthat/edition: 3
# Config/testthat/parallel: true
# Config/testthat/start-first: vignette-formats, as_tibble, add, invariants
# Config/autostyle/scope: line_breaks
# Config/autostyle/strict: true
# Config/autostyle/rmd: false
# Config/Needs/website: tidyverse/tidytemplate
# NeedsCompilation: yes
# Packaged: 2023-03-19 09:23:10 UTC; kirill
# Author: Kirill Muller [aut, cre] (<https://orcid.org/0000-0002-1416-3412>), Hadley Wickham [aut], Romain Francois [ctb], Jennifer Bryan [ctb], RStudio [cph, fnd]
# Maintainer: Kirill Muller <kirill@cynkra.com>
# Repository: CRAN
# Date/Publication: 2023-03-20 06:30:02 UTC

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