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

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

source:
  url:
    - {{ cran_mirror }}/src/contrib/boot_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/boot/boot_{{ version }}.tar.gz
  sha256: d4cde76fcc8ccc7ffa329de69147b66a6a93a10188e89342fd18207b1d02ff53

build:
  merge_build_host: true  # [win]
  number: 1
  noarch: generic
  rpaths:
    - lib/R/lib/
    - lib/

requirements:
  build:
    - {{ posix }}zip               # [win]
  host:
    - r-base
  run:
    - r-base

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

about:
  home: https://CRAN.R-project.org/package=boot
  license: Unlimited
  summary: Functions and datasets for bootstrapping from the book "Bootstrap Methods and Their Application" by A. C. Davison and  D. V. Hinkley (1997, CUP), originally written by Angelo Canty for S.
  license_family: MIT

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

# Package: boot
# Priority: recommended
# Version: 1.3-23
# Date: 2019-07-02
# Authors@R: c(person("Angelo", "Canty", role = "aut", email = "cantya@mcmaster.ca"), person("Brian", "Ripley", role = c("aut", "trl", "cre"), email = "ripley@stats.ox.ac.uk", comment = "author of parallel support"))
# Maintainer: Brian Ripley <ripley@stats.ox.ac.uk>
# Note: Maintainers are not available to give advice on using a package they did not author.
# Description: Functions and datasets for bootstrapping from the book "Bootstrap Methods and Their Application" by A. C. Davison and  D. V. Hinkley (1997, CUP), originally written by Angelo Canty for S.
# Title: Bootstrap Functions (Originally by Angelo Canty for S)
# Depends: R (>= 3.0.0), graphics, stats
# Suggests: MASS, survival
# LazyData: yes
# ByteCompile: yes
# License: Unlimited
# NeedsCompilation: no
# Packaged: 2019-07-02 21:00:31 UTC; ripley
# Author: Angelo Canty [aut], Brian Ripley [aut, trl, cre] (author of parallel support)
# Repository: CRAN
# Date/Publication: 2019-07-05 13:41:45 UTC
