{% set version = '1.6.4' %}

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

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

source:
  url:
    - {{ cran_mirror }}/src/contrib/vroom_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/vroom/vroom_{{ version }}.tar.gz
  sha256: 8d46f96b2621409838a5d0bfa86a70146cc31f375bf3c8f66b64bbdcc62ae24d

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: archive, bench (>= 1.1.0), covr, curl, dplyr, forcats, fs, ggplot2, knitr, patchwork, prettyunits, purrr, rmarkdown, rstudioapi, scales, spelling, testthat (>= 2.1.0), tidyr, utils, waldo, xml2
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-bit64
    - r-cli >=3.2.0
    - r-cpp11 >=0.2.0
    - r-crayon
    - r-glue
    - r-hms
    - r-lifecycle >=1.0.3
    - r-progress >=1.2.1
    - r-rlang >=0.4.2
    - r-tibble >=2.0.0
    - r-tidyselect
    - r-tzdb >=0.1.1
    - r-vctrs >=0.2.0
    - r-withr

  run:
    - r-base
    - {{native}}gcc-libs         # [win]
    - r-bit64
    - r-cli >=3.2.0
    - r-cpp11 >=0.2.0
    - r-crayon
    - r-glue
    - r-hms
    - r-lifecycle >=1.0.3
    - r-progress >=1.2.1
    - r-rlang >=0.4.2
    - r-tibble >=2.0.0
    - r-tidyselect
    - r-tzdb >=0.1.1
    - r-vctrs >=0.2.0
    - r-withr

test:
  commands:
    # You can put additional test commands to be run here.
    - $R -e "library('vroom')"           # [not win]
    - "\"%R%\" -e \"library('vroom')\""  # [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://vroom.r-lib.org, https://github.com/tidyverse/vroom
  license: MIT
  summary: The goal of 'vroom' is to read and write data (like 'csv', 'tsv' and 'fwf') quickly.
    When reading it uses a quick initial indexing step, then reads the values lazily
    , so only the data you actually use needs to be read.  The writer formats the data
    in parallel and writes to disk asynchronously from formatting.
  license_family: MIT
  license_file:
    - '{{ environ["PREFIX"] }}/lib/R/share/licenses/MIT'
    - LICENSE

# The original CRAN metadata for this package was:

# Package: vroom
# Title: Read and Write Rectangular Text Data Quickly
# Version: 1.6.4
# Authors@R: c( person("Jim", "Hester", role = "aut", comment = c(ORCID = "0000-0002-2739-7082")), person("Hadley", "Wickham", , "hadley@posit.co", role = "aut", comment = c(ORCID = "0000-0003-4757-117X")), person("Jennifer", "Bryan", , "jenny@posit.co", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-6983-2759")), person("Shelby", "Bearrows", role = "ctb"), person("https://github.com/mandreyel/", role = "cph", comment = "mio library"), person("Jukka", "Jylanki", role = "cph", comment = "grisu3 implementation"), person("Mikkel", "Jrgensen", role = "cph", comment = "grisu3 implementation"), person("Posit Software, PBC", role = c("cph", "fnd")) )
# Description: The goal of 'vroom' is to read and write data (like 'csv', 'tsv' and 'fwf') quickly. When reading it uses a quick initial indexing step, then reads the values lazily , so only the data you actually use needs to be read.  The writer formats the data in parallel and writes to disk asynchronously from formatting.
# License: MIT + file LICENSE
# URL: https://vroom.r-lib.org, https://github.com/tidyverse/vroom
# BugReports: https://github.com/tidyverse/vroom/issues
# Depends: R (>= 3.6)
# Imports: bit64, cli (>= 3.2.0), crayon, glue, hms, lifecycle (>= 1.0.3), methods, rlang (>= 0.4.2), stats, tibble (>= 2.0.0), tidyselect, tzdb (>= 0.1.1), vctrs (>= 0.2.0), withr
# Suggests: archive, bench (>= 1.1.0), covr, curl, dplyr, forcats, fs, ggplot2, knitr, patchwork, prettyunits, purrr, rmarkdown, rstudioapi, scales, spelling, testthat (>= 2.1.0), tidyr, utils, waldo, xml2
# LinkingTo: cpp11 (>= 0.2.0), progress (>= 1.2.1), tzdb (>= 0.1.1)
# VignetteBuilder: knitr
# Config/Needs/website: nycflights13, tidyverse/tidytemplate
# Config/testthat/edition: 3
# Config/testthat/parallel: false
# Copyright: file COPYRIGHTS
# Encoding: UTF-8
# Language: en-US
# RoxygenNote: 7.2.3
# NeedsCompilation: yes
# Packaged: 2023-10-02 04:48:51 UTC; jenny
# Author: Jim Hester [aut] (<https://orcid.org/0000-0002-2739-7082>), Hadley Wickham [aut] (<https://orcid.org/0000-0003-4757-117X>), Jennifer Bryan [aut, cre] (<https://orcid.org/0000-0002-6983-2759>), Shelby Bearrows [ctb], https://github.com/mandreyel/ [cph] (mio library), Jukka Jylanki [cph] (grisu3 implementation), Mikkel Jrgensen [cph] (grisu3 implementation), Posit Software, PBC [cph, fnd]
# Maintainer: Jennifer Bryan <jenny@posit.co>
# Repository: CRAN
# Date/Publication: 2023-10-02 14:30:02 UTC

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