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

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

source:
  url:
    - {{ cran_mirror }}/src/contrib/bamlss_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/bamlss/bamlss_{{ version }}.tar.gz
  sha256: ece4cd7c478897145069a098b87d2b4e806283b641a3c6107fd2272002e8705c

build:
  merge_build_host: true  # [win]
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/

requirements:
  build:
    - {{ compiler('c') }}              # [not win]
    - {{ compiler('m2w64_c') }}        # [win]
    - {{ posix }}filesystem        # [win]
    - {{ posix }}make
    - {{ posix }}sed               # [win]
    - {{ posix }}coreutils         # [win]
    - {{ posix }}zip               # [win]
    - cross-r-base {{ r_base }}    # [build_platform != target_platform]
  host:
    - r-base
    - r-formula
    - r-mba
    - r-matrix
    - r-coda
    - r-colorspace
    - r-mgcv
    - r-mvtnorm
    - r-sp
    - r-survival
    - libblas
    - liblapack
  run:
    - r-base
    - {{ native }}gcc-libs         # [win]
    - r-formula
    - r-mba
    - r-matrix
    - r-coda
    - r-colorspace
    - r-mgcv
    - r-mvtnorm
    - r-sp
    - r-survival

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

about:
  home: http://www.bamlss.org/
  license: GPL-2.0-or-later
  summary: Infrastructure for estimating probabilistic distributional regression models in a Bayesian framework. The distribution parameters may capture location, scale, shape, etc. and every parameter may depend on complex additive terms (fixed, random, smooth, spatial, etc.) similar to a generalized additive model. The
    conceptual and computational framework is introduced in Umlauf, Klein, Zeileis (2019) <doi:10.1080/10618600.2017.1407325> and the R package in Umlauf, Klein, Simon, Zeileis (2019) <arXiv:1909.11784>.
  license_family: GPL3
  license_file:
    - {{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-2
    - {{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3

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

# Package: bamlss
# Version: 1.1-5
# Date: 2021-09-21
# Title: Bayesian Additive Models for Location, Scale, and Shape (and Beyond)
# Authors@R: c(person(given = "Nikolaus", family = "Umlauf", role = c("aut", "cre"), email = "Nikolaus.Umlauf@uibk.ac.at", comment = c(ORCID = "0000-0003-2160-9803")), person(given = "Nadja", family = "Klein", role = "aut", email = "nklein@uni-goettingen.de", comment = c(ORCID = "0000-0002-5072-5347")), person(given = "Achim", family = "Zeileis", role = "aut", email = "Achim.Zeileis@R-project.org", comment = c(ORCID = "0000-0003-0918-3766")), person(given = "Meike", family = "Koehler", role = "ctb", email = "meike_koehler@gmx.de"), person(given = "Thorsten", family = "Simon", role = "aut", email = "Thorsten.Simon@uibk.ac.at", comment = c(ORCID = "0000-0002-3778-7738")), person(given = "Stanislaus", family = "Stadlmann", role = "ctb", email = "stadlmann@uni-goettingen.de"))
# Description: Infrastructure for estimating probabilistic distributional regression models in a Bayesian framework. The distribution parameters may capture location, scale, shape, etc. and every parameter may depend on complex additive terms (fixed, random, smooth, spatial, etc.) similar to a generalized additive model. The conceptual and computational framework is introduced in Umlauf, Klein, Zeileis (2019) <doi:10.1080/10618600.2017.1407325> and the R package in Umlauf, Klein, Simon, Zeileis (2019) <arXiv:1909.11784>.
# Depends: R (>= 3.5.0), coda, colorspace, mgcv
# Imports: Formula, MBA, mvtnorm, sp, Matrix, survival, methods, parallel
# Suggests: akima, bit, ff, ffbase, fields, gamlss, gamlss.dist, geoR, rjags, BayesX, mapdata, maps, maptools, nnet, spatstat, spdep, zoo, keras, splines2, sdPrior, statmod, glogis, glmnet, scoringRules, knitr, rmarkdown, MASS, tensorflow
# License: GPL-2 | GPL-3
# LazyLoad: yes
# RoxygenNote: 7.1.1
# URL: http://www.bamlss.org/
# VignetteBuilder: knitr
# NeedsCompilation: yes
# Packaged: 2021-09-21 04:10:16 UTC; nik
# Author: Nikolaus Umlauf [aut, cre] (<https://orcid.org/0000-0003-2160-9803>), Nadja Klein [aut] (<https://orcid.org/0000-0002-5072-5347>), Achim Zeileis [aut] (<https://orcid.org/0000-0003-0918-3766>), Meike Koehler [ctb], Thorsten Simon [aut] (<https://orcid.org/0000-0002-3778-7738>), Stanislaus Stadlmann [ctb]
# Maintainer: Nikolaus Umlauf <Nikolaus.Umlauf@uibk.ac.at>
# Repository: CRAN
# Date/Publication: 2021-09-21 05:20:02 UTC
