{% set version = "1.3-30" %}
{% 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: 5509d62bd6e6c21b6ef352ab7846d89027bddbfb727fd0cf55da59558bd3fe97

build:
  merge_build_host: true  # [win]
  number: 0
  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
