{% set version = '1.2.4' %}

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

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

source:
  url:
    - {{ cran_mirror }}/src/contrib/blob_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/blob/blob_{{ version }}.tar.gz
  sha256: d08922ebc4147d930fe4762b1b289935217308c6d3fcaa5ae028ce3f5cf2728f

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, crayon, pillar (>= 1.2.1), testthat
requirements:
  build:
    - {{ posix }}zip               # [win]

  host:
    - r-base
    - r-rlang
    - r-vctrs >=0.2.1

  run:
    - r-base
    - r-rlang
    - r-vctrs >=0.2.1

test:
  commands:
    # You can put additional test commands to be run here.
    - $R -e "library('blob')"           # [not win]
    - "\"%R%\" -e \"library('blob')\""  # [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://blob.tidyverse.org, https://github.com/tidyverse/blob
  license: MIT
  summary: R's raw vector is useful for storing a single binary object. What if you want to put
    a vector of them in a data frame? The 'blob' package provides the blob object, a
    list of raw vectors, suitable for use as a column in data frame.
  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: blob
# Title: A Simple S3 Class for Representing Vectors of Binary Data ('BLOBS')
# Version: 1.2.4
# Authors@R: c( person("Hadley", "Wickham", role = "aut"), person("Kirill", "Muller", , "kirill@cynkra.com", role = "cre"), person("RStudio", role = c("cph", "fnd")) )
# Description: R's raw vector is useful for storing a single binary object. What if you want to put a vector of them in a data frame? The 'blob' package provides the blob object, a list of raw vectors, suitable for use as a column in data frame.
# License: MIT + file LICENSE
# URL: https://blob.tidyverse.org, https://github.com/tidyverse/blob
# BugReports: https://github.com/tidyverse/blob/issues
# Imports: methods, rlang, vctrs (>= 0.2.1)
# Suggests: covr, crayon, pillar (>= 1.2.1), testthat
# Config/autostyle/scope: line_breaks
# Config/autostyle/strict: false
# Config/Needs/website: tidyverse/tidytemplate
# Encoding: UTF-8
# RoxygenNote: 7.2.3
# NeedsCompilation: no
# Packaged: 2023-03-17 09:42:50 UTC; kirill
# Author: Hadley Wickham [aut], Kirill Muller [cre], RStudio [cph, fnd]
# Maintainer: Kirill Muller <kirill@cynkra.com>
# Repository: CRAN
# Date/Publication: 2023-03-17 12:00:06 UTC

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