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

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

source:
  url:
    - {{ cran_mirror }}/src/contrib/mlr3proba_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/mlr3proba/mlr3proba_{{ version }}.tar.gz
  sha256: 79533e5536b72bac4ec103e67f7ed6231ce5aef9ccbb5039dea83859f321056a

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

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]
    - cross-r-base {{ r_base }}    # [build_platform != target_platform]
  host:
    - r-base
    - r-r6
    - r-rcpp >=1.0.4
    - r-checkmate
    - r-data.table
    - r-distr6 >=1.4.5
    - r-mlr3 >=0.6.0
    - r-mlr3misc >=0.1.7
    - r-paradox >=0.1.0
    - r-survival
  run:
    - r-base
    - {{ native }}gcc-libs         # [win]
    - r-r6
    - r-rcpp >=1.0.4
    - r-checkmate
    - r-data.table
    - r-distr6 >=1.4.5
    - r-mlr3 >=0.6.0
    - r-mlr3misc >=0.1.7
    - r-paradox >=0.1.0
    - r-survival

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

about:
  home: https://mlr3proba.mlr-org.com, https://github.com/mlr-org/mlr3proba
  license: LGPL-3.0-only
  summary: Provides extensions for probabilistic supervised learning for 'mlr3'.  This includes extending the regression task to probabilistic and interval regression, adding a survival task, and other specialized models, predictions, and measures. mlr3extralearners is available from <https://github.com/mlr-org/mlr3extralearners>.
  license_family: LGPL
  license_file:
    - {{ environ["PREFIX"] }}/lib/R/share/licenses/LGPL-3

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

# Package: mlr3proba
# Title: Probabilistic Supervised Learning for 'mlr3'
# Version: 0.2.6
# Authors@R: c(person(given = "Raphael", family = "Sonabend", role = c("aut", "cre"), email = "raphael.sonabend.15@ucl.ac.uk", comment = c(ORCID = "0000-0001-9225-4654")), person(given = "Franz", family = "Kiraly", role = "aut", email = "f.kiraly@ucl.ac.uk"), person(given = "Michel", family = "Lang", role = "aut", email = "michellang@gmail.com", comment = c(ORCID = "0000-0001-9754-0393")), person(given = "Nurul Ain", family = "Toha", role = "ctb", email = "nurul.toha.15@ucl.ac.uk"), person(given = "Andreas", family = "Bender", role = "ctb", email = "bender.at.R@gmail.com", comment = c(ORCID = "0000-0001-5628-8611")))
# Description: Provides extensions for probabilistic supervised learning for 'mlr3'.  This includes extending the regression task to probabilistic and interval regression, adding a survival task, and other specialized models, predictions, and measures. mlr3extralearners is available from <https://github.com/mlr-org/mlr3extralearners>.
# License: LGPL-3
# URL: https://mlr3proba.mlr-org.com, https://github.com/mlr-org/mlr3proba
# BugReports: https://github.com/mlr-org/mlr3proba/issues
# Depends: R (>= 3.5.0)
# Imports: checkmate, data.table, distr6 (>= 1.4.5), mlr3 (>= 0.6.0), mlr3misc (>= 0.1.7), paradox (>= 0.1.0), R6, Rcpp (>= 1.0.4), survival
# Suggests: bujar, cubature, ggplot2, knitr, lgr, mlr3extralearners, mlr3pipelines (>= 0.3.0), pracma, rpart, set6 (>= 0.1.7), simsurv, survAUC, testthat
# LinkingTo: Rcpp
# ByteCompile: true
# Encoding: UTF-8
# LazyData: true
# NeedsCompilation: yes
# RoxygenNote: 7.1.1
# Collate: 'LearnerDens.R' 'LearnerDensHistogram.R' 'LearnerDensKDE.R' 'LearnerRegrGaussian.R' 'LearnerSurv.R' 'LearnerSurvCoxPH.R' 'LearnerSurvKaplan.R' 'LearnerSurvRpart.R' 'MeasureDens.R' 'MeasureDensLogloss.R' 'MeasureRegrLogloss.R' 'MeasureSurv.R' 'MeasureSurvIntegrated.R' 'MeasureSurvAUC.R' 'MeasureSurvBeggC.R' 'MeasureSurvCalibrationAlpha.R' 'MeasureSurvCalibrationBeta.R' 'MeasureSurvChamblessAUC.R' 'MeasureSurvCindex.R' 'MeasureSurvGonenHellersC.R' 'MeasureSurvGraf.R' 'MeasureSurvGrafSE.R' 'MeasureSurvHarrellC.R' 'MeasureSurvHungAUC.R' 'MeasureSurvIntLogloss.R' 'MeasureSurvIntLoglossSE.R' 'MeasureSurvLogloss.R' 'MeasureSurvLoglossSE.R' 'MeasureSurvMAE.R' 'MeasureSurvMAESE.R' 'MeasureSurvMSE.R' 'MeasureSurvMSESE.R' 'MeasureSurvNagelkR2.R' 'MeasureSurvOQuigleyR2.R' 'MeasureSurvRMSE.R' 'MeasureSurvRMSESE.R' 'MeasureSurvSchmid.R' 'MeasureSurvSongAUC.R' 'MeasureSurvSongTNR.R' 'MeasureSurvSongTPR.R' 'MeasureSurvUnoAUC.R' 'MeasureSurvUnoC.R' 'MeasureSurvUnoTNR.R' 'MeasureSurvUnoTPR.R' 'MeasureSurvXuR2.R' 'PipeOpCrankCompositor.R' 'PipeOpDistrCompositor.R' 'PipeOpTransformer.R' 'PipeOpPredTransformer.R' 'PipeOpPredRegrSurv.R' 'PipeOpPredSurvRegr.R' 'PipeOpProbregrCompositor.R' 'PipeOpSurvAvg.R' 'PipeOpTaskRegrSurv.R' 'PipeOpTaskSurvRegr.R' 'PipeOpTaskTransformer.R' 'PredictionDataDens.R' 'PredictionDataSurv.R' 'PredictionDens.R' 'PredictionSurv.R' 'RcppExports.R' 'TaskDens.R' 'TaskDens_X.R' 'TaskGeneratorSimdens.R' 'TaskGeneratorSimsurv.R' 'TaskSurv.R' 'TaskSurv_X.R' 'assertions.R' 'bibentries.R' 'cindex.R' 'data.R' 'helpers.R' 'histogram.R' 'integrated_scores.R' 'pecs.R' 'pipelines.R' 'plot.R' 'surv_measures.R' 'surv_return.R' 'zzz.R'
# Packaged: 2020-12-04 18:35:01 UTC; raphael
# Author: Raphael Sonabend [aut, cre] (<https://orcid.org/0000-0001-9225-4654>), Franz Kiraly [aut], Michel Lang [aut] (<https://orcid.org/0000-0001-9754-0393>), Nurul Ain Toha [ctb], Andreas Bender [ctb] (<https://orcid.org/0000-0001-5628-8611>)
# Maintainer: Raphael Sonabend <raphael.sonabend.15@ucl.ac.uk>
# Repository: CRAN
# Date/Publication: 2020-12-04 23:40:06 UTC
