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

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

source:
  url:
    - {{ cran_mirror }}/src/contrib/VIM_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/VIM/VIM_{{ version }}.tar.gz
  sha256: ca1430103b6bd658e318bbbbd9c25763d11d0b3f52706b1a7ea7fafd408e4270

build:
  merge_build_host: true  # [win]
  number: 1
  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]
  host:
    - r-base
    - r-mass
    - r-rcpp
    - r-car
    - r-colorspace
    - r-data.table >=1.9.4
    - r-e1071
    - r-laeken
    - r-magrittr
    - r-nnet
    - r-ranger
    - r-robustbase
    - r-sp
    - r-vcd
  run:
    - r-base
    - {{ native }}gcc-libs         # [win]
    - r-mass
    - r-rcpp
    - r-car
    - r-colorspace
    - r-data.table >=1.9.4
    - r-e1071
    - r-laeken
    - r-magrittr
    - r-nnet
    - r-ranger
    - r-robustbase
    - r-sp
    - r-vcd

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

about:
  home: https://github.com/statistikat/VIM
  license: GPL-2
  summary: New tools for the visualization of missing and/or imputed values are introduced, which can be used for exploring the data and the structure of the missing
    and/or imputed values. Depending on this structure of the missing values, the corresponding methods may help to identify the mechanism generating the missing
    values and allows to explore the data including missing values. In addition, the quality of imputation can be visually explored using various univariate, bivariate,
    multiple and multivariate plot methods (<doi:10.1007/s11634-011-0102-y>). A graphical user interface available in the separate package VIMGUI allows an easy handling
    of the implemented plot methods. Fast imputation methods such as k-nearest neighbor imputation (<doi:10.18637/jss.v074.i07>) and imputation using robust methods
    are provided (<doi:10.1016/j.csda.2011.04.012>).
  license_family: GPL2
  license_file:
    - {{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-2

extra:
  recipe-maintainers:
    - conda-forge/r
    - MathiasHaudgaard
    - FrodePedersen
    - ArneKr


# Package: VIM
# Version: 5.1.0
# Date: 2020-02-04
# Title: Visualization and Imputation of Missing Values
# Authors@R: c( person("Matthias", "Templ", email = "matthias.templ@gmail.com", role = c("aut","cre"), comment=c(ORCID="0000-0002-8638-5276")), person("Alexander", "Kowarik", email = "alexander.kowarik@statistik.gv.at", role = c("aut"), comment=c(ORCID="0000-0001-8598-4130")), person("Andreas", "Alfons", role = c("aut")), person("Bernd", "Prantner", role = c("ctb")))
# Depends: R (>= 3.5.0),colorspace,grid,data.table(>= 1.9.4)
# Imports: car, grDevices, magrittr, robustbase, stats, sp, vcd,MASS,nnet,e1071,methods,Rcpp,utils,graphics,laeken,ranger
# Suggests: dplyr, testthat
# Description: New tools for the visualization of missing and/or imputed values are introduced, which can be used for exploring the data and the structure of the missing and/or imputed values. Depending on this structure of the missing values, the corresponding methods may help to identify the mechanism generating the missing values and allows to explore the data including missing values. In addition, the quality of imputation can be visually explored using various univariate, bivariate, multiple and multivariate plot methods (<doi:10.1007/s11634-011-0102-y>). A graphical user interface available in the separate package VIMGUI allows an easy handling of the implemented plot methods. Fast imputation methods such as k-nearest neighbor imputation (<doi:10.18637/jss.v074.i07>) and imputation using robust methods are provided (<doi:10.1016/j.csda.2011.04.012>).
# LazyData: TRUE
# ByteCompile: TRUE
# License: GPL (>= 2)
# URL: https://github.com/statistikat/VIM
# Repository: CRAN
# LinkingTo: Rcpp
# RoxygenNote: 7.0.2
# NeedsCompilation: yes
# Packaged: 2020-02-04 10:48:24 UTC; matthias
# Author: Matthias Templ [aut, cre] (<https://orcid.org/0000-0002-8638-5276>), Alexander Kowarik [aut] (<https://orcid.org/0000-0001-8598-4130>), Andreas Alfons [aut], Bernd Prantner [ctb]
# Maintainer: Matthias Templ <matthias.templ@gmail.com>
# Date/Publication: 2020-02-05 16:10:07 UTC
