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

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

source:
  url:
    - {{ cran_mirror }}/src/contrib/mlpack_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/mlpack/mlpack_{{ version }}.tar.gz
  sha256: 7975055ed33ab156475db0b67261ed64462ada07129f27bf8c39595c9954173b

build:
  merge_build_host: true  # [win]
  skip: true  # [r_base == "3.6"]
  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]

  host:
    - llvm-openmp                  # [osx]
    - r-base
    - r-bh >=1.58
    - r-rcpp >=0.12.12
    - r-rcpparmadillo >=0.8.400.0
    - r-rcppensmallen >=0.2.10.0
    - libblas
    - libgomp      # [linux]
    - liblapack

  run:
    - r-base
    - {{ native }}gcc-libs         # [win]
    #- r-bh >=1.58
    - r-rcpp >=0.12.12
    - r-rcpparmadillo >=0.8.400.0
    - r-rcppensmallen >=0.2.10.0

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

about:
  home: https://www.mlpack.org/doc/mlpack-3.4.2/r_documentation.html, https://github.com/mlpack/mlpack

  license: BSD-3-Clause
  summary: A fast, flexible machine learning library, written in C++, that aims to provide fast, extensible implementations of cutting-edge machine learning algorithms.  See also Curtin et al. (2018) <doi:10.21105/joss.00726>.

  license_family: BSD
  license_file:
    - {{ environ["PREFIX"] }}/lib/R/share/licenses/BSD_3_clause
    - LICENSE

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

# Package: mlpack
# Title: 'Rcpp' Integration for the 'mlpack' Library
# Version: 3.4.2
# Date: 2020-12-08
# Authors@R: c( person("Yashwant", "Singh Parihar", email = "yashwantsingh.sngh@gmail.com", role = c("aut", "ctb", "cph")), person("Ryan", "Curtin", email = "ryan@ratml.org", role = c("aut", "ctb", "cph", "cre")), person("Dirk", "Eddelbuettel", email = "edd@debian.org", role = c("aut", "ctb", "cph")), person("James", "Balamuta", email = "james.balamuta@gmail.com", role = c("aut", "ctb", "cph")), person("Bill", "March", email = "march@gatech.edu", role = c("ctb", "cph")), person("Dongryeol", "Lee", email = "dongryel@cc.gatech.edu", role = c("ctb", "cph")), person("Nishant", "Mehta", email = "niche@cc.gatech.edu", role = c("ctb", "cph")), person("Parikshit", "Ram", email = "p.ram@gatech.edu", role = c("ctb", "cph")), person("James", "Cline", email = "james.cline@gatech.edu", role = c("ctb", "cph")), person("Sterling", "Peet", email = "sterling.peet@gatech.edu", role = c("ctb", "cph")), person("Matthew", "Amidon", email = "mamidon@gatech.edu", role = c("ctb", "cph")), person("Neil", "Slagle", email = "npslagle@gmail.com", role = c("ctb", "cph")), person("Ajinkya", "Kale", email = "kaleajinkya@gmail.com", role = c("ctb", "cph")), person("Vlad", "Grantcharov", email = "vlad321@gatech.edu", role = c("ctb", "cph")), person("Noah", "Kauffman", email = "notoriousnoah@gmail.com", role = c("ctb", "cph")), person("Rajendran", "Mohan", email = "rmohan88@gatech.edu", role = c("ctb", "cph")), person("Trironk", "Kiatkungwanglai", email = "trironk@gmail.com", role = c("ctb", "cph")), person("Patrick", "Mason", email = "patrick.s.mason@gmail.com", role = c("ctb", "cph")), person("Marcus", "Edel", email = "marcus.edel@fu-berlin.de", role = c("ctb", "cph")), person("Mudit", "Raj Gupta", email = "mudit.raaj.gupta@gmail.com", role = c("ctb", "cph")), person("Sumedh", "Ghaisas", email = "sumedhghaisas@gmail.com", role = c("ctb", "cph")), person("Michael", "Fox", email = "michaelfox99@gmail.com", role = c("ctb", "cph")), person("Ryan", "Birmingham", email = "birm@gatech.edu", role = c("ctb", "cph")), person("Siddharth", "Agrawal", email = "siddharth.950@gmail.com", role = c("ctb", "cph")), person("Saheb", "Motiani", email = "saheb210692@gmail.com", role = c("ctb", "cph")), person("Yash", "Vadalia", email = "yashdv@gmail.com", role = c("ctb", "cph")), person("Abhishek", "Laddha", email = "laddhaabhishek11@gmail.com", role = c("ctb", "cph")), person("Vahab", "Akbarzadeh", email = "v.akbarzadeh@gmail.com", role = c("ctb", "cph")), person("Andrew", "Wells", email = "andrewmw94@gmail.com", role = c("ctb", "cph")), person("Zhihao", "Lou", email = "lzh1984@gmail.com", role = c("ctb", "cph")), person("Udit", "Saxena", email = "saxenda.udit@gmail.com", role = c("ctb", "cph")), person("Stephen", "Tu", email = "tu.stephenl@gmail.com", role = c("ctb", "cph")), person("Jaskaran", "Singh", email = "jaskaranvirdi@ymail.com", role = c("ctb", "cph")), person("Hritik", "Jain", email = "hritik.jain.cse13@itbhu.ac.in", role = c("ctb", "cph")), person("Vladimir", "Glazachev", email = "glazachev.vladimir@gmail.com", role = c("ctb", "cph")), person("QiaoAn", "Chen", email = "kazenoyumechen@gmail.com", role = c("ctb", "cph")), person("Janzen", "Brewer", email = "jahabrewer@gmail.com", role = c("ctb", "cph")), person("Trung", "Dinh", email = "dinhanhtrung@gmail.com", role = c("ctb", "cph")), person("Tham", "Ngap Wei", email = "thamngapwei@gmail.com", role = c("ctb", "cph")), person("Grzegorz", "Krajewski", email = "krajekg@gmail.com", role = c("ctb", "cph")), person("Joseph", "Mariadassou", email = "joe.mariadassou@gmail.com", role = c("ctb", "cph")), person("Pavel", "Zhigulin", email = "pashaworking@gmail.com", role = c("ctb", "cph")), person("Andy", "Fang", email = "AndyFang.DZ@gmail.com", role = c("ctb", "cph")), person("Barak", "Pearlmutter", email = "barak+git@pearlmutter.net", role = c("ctb", "cph")), person("Ivari", "Horm", email = "ivari@risk.ee", role = c("ctb", "cph")), person("Dhawal", "Arora", email = "d.p.arora1@gmail.com", role = c("ctb", "cph")), person("Alexander", "Leinoff", email = "alexander-leinoff@uiowa.edu", role = c("ctb", "cph")), person("Palash", "Ahuja", email = "abhor902@gmail.com", role = c("ctb", "cph")), person("Yannis", "Mentekidis", email = "mentekid@gmail.com", role = c("ctb", "cph")), person("Ranjan", "Mondal", email = "ranjan.rev@gmail.com", role = c("ctb", "cph")), person("Mikhail", "Lozhnikov", email = "lozhnikovma@gmail.com", role = c("ctb", "cph")), person("Marcos", "Pividori", email = "marcos.pividori@gmail.com", role = c("ctb", "cph")), person("Keon", "Kim", email = "kwk236@gmail.com", role = c("ctb", "cph")), person("Nilay", "Jain", email = "nilayjain13@gmail.com", role = c("ctb", "cph")), person("Peter", "Lehner", email = "peter.lehner@dlr.de", role = c("ctb", "cph")), person("Anuraj", "Kanodia", email = "akanuraj200@gmail.com", role = c("ctb", "cph")), person("Ivan", "Georgiev", email = "ivan@jonan.info", role = c("ctb", "cph")), person("Shikhar", "Bhardwaj", email = "shikharbhardwaj68@gmail.com", role = c("ctb", "cph")), person("Yashu", "Seth", email = "yashuseth2503@gmail.com", role = c("ctb", "cph")), person("Mike", "Izbicki", email = "mike@izbicki.me", role = c("ctb", "cph")), person("Sudhanshu", "Ranjan", email = "sranjan.sud@gmail.com", role = c("ctb", "cph")), person("Piyush", "Jaiswal", email = "piyush.jaiswal@st.niituniversity.in", role = c("ctb", "cph")), person("Dinesh", "Raj", email = "dinu.iota@gmail.com", role = c("ctb", "cph")), person("Vivek", "Pal", email = "vivekpal.dtu@gmail.com", role = c("ctb", "cph")), person("Prasanna", "Patil", email = "prasannapatil08@gmail.com", role = c("ctb", "cph")), person("Lakshya", "Agrawal", email = "zeeshan.lakshya@gmail.com", role = c("ctb", "cph")), person("Praveen", "Ch", email = "chvsp972911@gmail.com", role = c("ctb", "cph")), person("Kirill", "Mishchenko", email = "ki.mishchenko@gmail.com", role = c("ctb", "cph")), person("Abhinav", "Moudgil", email = "abhinavmoudgil95@gmail.com", role = c("ctb", "cph")), person("Thyrix", "Yang", email = "thyrixyang@gmail.com", role = c("ctb", "cph")), person("Sagar", "B Hathwar", email = "sagarbhathwar@gmail.com", role = c("ctb", "cph")), person("Nishanth", "Hegde", email = "hegde.nishanth@gmail.com", role = c("ctb", "cph")), person("Parminder", "Singh", email = "parmsingh101@gmail.com", role = c("ctb", "cph")), person("CodeAi", "", email = "benjamin.bales@assrc.us", role = c("ctb", "cph")), person("Franciszek", "Stokowacki", email = "franek.stokowacki@gmail.com", role = c("ctb", "cph")), person("Samikshya", "Chand", email = "samikshya289@gmail.com", role = c("ctb", "cph")), person("N", "Rajiv Vaidyanathan", email = "rajivvaidyanathan4@gmail.com", role = c("ctb", "cph")), person("Kartik", "Nighania", email = "kartiknighania@gmail.com", role = c("ctb", "cph")), person("Eugene", "Freyman", email = "evg.freyman@gmail.com", role = c("ctb", "cph")), person("Manish", "Kumar", email = "manish887kr@gmail.com", role = c("ctb", "cph")), person("Haritha", "Sreedharan Nair", email = "haritha1313@gmail.com", role = c("ctb", "cph")), person("Sourabh", "Varshney", email = "sourabhvarshney111@gmail.com", role = c("ctb", "cph")), person("Projyal", "Dev", email = "projyal@gmail.com", role = c("ctb", "cph")), person("Nikhil", "Goel", email = "nikhilgoel199797@gmail.com", role = c("ctb", "cph")), person("Shikhar", "Jaiswal", email = "jaiswalshikhar87@gmail.com", role = c("ctb", "cph")), person("B", "Kartheek Reddy", email = "bkartheekreddy@gmail.com", role = c("ctb", "cph")), person("Atharva", "Khandait", email = "akhandait45@gmail.com", role = c("ctb", "cph")), person("Wenhao", "Huang", email = "wenhao.huang.work@gmail.com", role = c("ctb", "cph")), person("Roberto", "Hueso", email = "robertohueso96@gmail.com", role = c("ctb", "cph")), person("Prabhat", "Sharma", email = "prabhatsharma7298@gmail.com", role = c("ctb", "cph")), person("Tan", "Jun An", email = "yamidarkxxx@gmail.com", role = c("ctb", "cph")), person("Moksh", "Jain", email = "mokshjn00@gmail.com", role = c("ctb", "cph")), person("Manthan-R-Sheth", "", email = "manthanrsheth96@gmail.com", role = c("ctb", "cph")), person("Namrata", "Mukhija", email = "namratamukhija@gmail.com", role = c("ctb", "cph")), person("Conrad", "Conrad Sanderson", role = c("ctb", "cph")), person("Thanasis", "Mattas", email = "mattasa@auth.gr", role = c("ctb", "cph")), person("Shashank", "Shekhar", email = "contactshashankshekhar@gmail.com", role = c("ctb", "cph")), person("Yasmine", "Dumouchel", email = "yasmine.dumouchel@gmail.com", role = c("ctb", "cph")), person("German", "German Lancioni", role = c("ctb", "cph")), person("Arash", "Abghari", email = "arash.abghari@gmail.com", role = c("ctb", "cph")), person("Ayush", "Ayush Chamoli", role = c("ctb", "cph")), person("Tommi", "Laivamaa", email = "tommi.laivamaa@protonmail.com", role = c("ctb", "cph")), person("Kim", "SangYeon", email = "sy0814k@gmail.com", role = c("ctb", "cph")), person("Niteya", "Shah", email = "niteya.56@gmail.com", role = c("ctb", "cph")), person("Toshal", "Agrawal", email = "tagrawal1339@gmail.com", role = c("ctb", "cph")), person("Dan", "Dan Timson", role = c("ctb", "cph")), person("Miguel", "Canteras", email = "mcanteras@gmail.com", role = c("ctb", "cph")), person("Bishwa", "Karki", email = "karkeebishwa1@gmail.com", role = c("ctb", "cph")), person("Mehul", "Kumar Nirala", email = "mehulkumarnirala@gmail.com", role = c("ctb", "cph")), person("Heet", "Sankesara", email = "heetsankesara3@gmail.com", role = c("ctb", "cph")), person("Jeffin", "Sam", email = "sam.jeffin@gmail.com", role = c("ctb", "cph")), person("Vikas", "S Shetty", email = "shettyvikas209@gmail.com", role = c("ctb", "cph")), person("Khizir", "Siddiqui", email = "khizirsiddiqui@gmail.com", role = c("ctb", "cph")), person("Tejasvi", "Tomar", email = "tstomar@outlook.com", role = c("ctb", "cph")), person("Jai", "Agarwal", email = "jai.bhageria@gmail.com", role = c("ctb", "cph")), person("Ziyang", "Jiang", email = "zij004@alumni.stanford.edu", role = c("ctb", "cph")), person("Rohit", "Kartik", email = "rohit.audrey@gmail.com", role = c("ctb", "cph")), person("Aditya", "Viki", email = "adityaviki01@gmail.com", role = c("ctb", "cph")), person("Kartik", "Dutt", email = "kartikdutt@live.in", role = c("ctb", "cph")), person("Sriram", "S K", email = "sriramsk1999@gmail.com", role = c("ctb", "cph")), person("Manoranjan", "Kumar Bharti ( Nakul Bharti )", email = "knakul853@gmail.com", role = c("ctb", "cph")), person("Saraansh", "Tandon", email = "saraanshtandon1999@gmail.com", role = c("ctb", "cph")), person("Gaurav", "Singh", email = "gs8763076@gmail.com", role = c("ctb", "cph")), person("Lakshya", "Ojha", email = "ojhalakshya@gmail.com", role = c("ctb", "cph")), person("Bisakh", "Mondal", email = "bisakhmondal00@gmail.com", role = c("ctb", "cph")), person("Benson", "Muite", email = "benson_muite@emailplus.org", role = c("ctb", "cph")), person("Sarthak", "Bhardwaj", email = "7sarthakbhardwaj@gmail.com", role = c("ctb", "cph")), person("Aakash", "Kaushik", email = "kaushikaakash7539@gmail.com", role = c("ctb", "cph")), person("Anush", "Kini", email = "anushkini@gmail.com", role = c("ctb", "cph")), person("Nippun", "Sharma", email = "inbox.nippun@gmail.com", role = c("ctb", "cph")), person("Rishabh", "Garg", email = "rishabhgarg108@gmail.com", role = c("ctb", "cph")), person("Sudhakar", "Brar", email = "dxhrmhall1449@tutanota.com", role = c("ctb", "cph")), person("Alex", "Nguyen", email = "alexvn.edu@gmail.com", role = c("ctb", "cph")))
# Description: A fast, flexible machine learning library, written in C++, that aims to provide fast, extensible implementations of cutting-edge machine learning algorithms.  See also Curtin et al. (2018) <doi:10.21105/joss.00726>.
# SystemRequirements: A C++11 compiler. Versions 4.8.*, 4.9.* or later of GCC will be fine.
# License: BSD_3_clause + file LICENSE
# Depends: R (>= 4.0.0)
# Imports: Rcpp (>= 0.12.12)
# LinkingTo: Rcpp, RcppArmadillo (>= 0.8.400.0), BH (>= 1.58), RcppEnsmallen (>= 0.2.10.0)
# Suggests: testthat (>= 2.1.0)
# URL: https://www.mlpack.org/doc/mlpack-3.4.2/r_documentation.html, https://github.com/mlpack/mlpack
# BugReports: https://github.com/mlpack/mlpack/issues
# LazyData: true
# RoxygenNote: 7.1.1
# Encoding: UTF-8
# NeedsCompilation: yes
# Packaged: 2020-12-08 13:54:43 UTC; ryan
# Author: Yashwant Singh Parihar [aut, ctb, cph], Ryan Curtin [aut, ctb, cph, cre], Dirk Eddelbuettel [aut, ctb, cph], James Balamuta [aut, ctb, cph], Bill March [ctb, cph], Dongryeol Lee [ctb, cph], Nishant Mehta [ctb, cph], Parikshit Ram [ctb, cph], James Cline [ctb, cph], Sterling Peet [ctb, cph], Matthew Amidon [ctb, cph], Neil Slagle [ctb, cph], Ajinkya Kale [ctb, cph], Vlad Grantcharov [ctb, cph], Noah Kauffman [ctb, cph], Rajendran Mohan [ctb, cph], Trironk Kiatkungwanglai [ctb, cph], Patrick Mason [ctb, cph], Marcus Edel [ctb, cph], Mudit Raj Gupta [ctb, cph], Sumedh Ghaisas [ctb, cph], Michael Fox [ctb, cph], Ryan Birmingham [ctb, cph], Siddharth Agrawal [ctb, cph], Saheb Motiani [ctb, cph], Yash Vadalia [ctb, cph], Abhishek Laddha [ctb, cph], Vahab Akbarzadeh [ctb, cph], Andrew Wells [ctb, cph], Zhihao Lou [ctb, cph], Udit Saxena [ctb, cph], Stephen Tu [ctb, cph], Jaskaran Singh [ctb, cph], Hritik Jain [ctb, cph], Vladimir Glazachev [ctb, cph], QiaoAn Chen [ctb, cph], Janzen Brewer [ctb, cph], Trung Dinh [ctb, cph], Tham Ngap Wei [ctb, cph], Grzegorz Krajewski [ctb, cph], Joseph Mariadassou [ctb, cph], Pavel Zhigulin [ctb, cph], Andy Fang [ctb, cph], Barak Pearlmutter [ctb, cph], Ivari Horm [ctb, cph], Dhawal Arora [ctb, cph], Alexander Leinoff [ctb, cph], Palash Ahuja [ctb, cph], Yannis Mentekidis [ctb, cph], Ranjan Mondal [ctb, cph], Mikhail Lozhnikov [ctb, cph], Marcos Pividori [ctb, cph], Keon Kim [ctb, cph], Nilay Jain [ctb, cph], Peter Lehner [ctb, cph], Anuraj Kanodia [ctb, cph], Ivan Georgiev [ctb, cph], Shikhar Bhardwaj [ctb, cph], Yashu Seth [ctb, cph], Mike Izbicki [ctb, cph], Sudhanshu Ranjan [ctb, cph], Piyush Jaiswal [ctb, cph], Dinesh Raj [ctb, cph], Vivek Pal [ctb, cph], Prasanna Patil [ctb, cph], Lakshya Agrawal [ctb, cph], Praveen Ch [ctb, cph], Kirill Mishchenko [ctb, cph], Abhinav Moudgil [ctb, cph], Thyrix Yang [ctb, cph], Sagar B Hathwar [ctb, cph], Nishanth Hegde [ctb, cph], Parminder Singh [ctb, cph], CodeAi [ctb, cph], Franciszek Stokowacki [ctb, cph], Samikshya Chand [ctb, cph], N Rajiv Vaidyanathan [ctb, cph], Kartik Nighania [ctb, cph], Eugene Freyman [ctb, cph], Manish Kumar [ctb, cph], Haritha Sreedharan Nair [ctb, cph], Sourabh Varshney [ctb, cph], Projyal Dev [ctb, cph], Nikhil Goel [ctb, cph], Shikhar Jaiswal [ctb, cph], B Kartheek Reddy [ctb, cph], Atharva Khandait [ctb, cph], Wenhao Huang [ctb, cph], Roberto Hueso [ctb, cph], Prabhat Sharma [ctb, cph], Tan Jun An [ctb, cph], Moksh Jain [ctb, cph], Manthan-R-Sheth [ctb, cph], Namrata Mukhija [ctb, cph], Conrad Conrad Sanderson [ctb, cph], Thanasis Mattas [ctb, cph], Shashank Shekhar [ctb, cph], Yasmine Dumouchel [ctb, cph], German German Lancioni [ctb, cph], Arash Abghari [ctb, cph], Ayush Ayush Chamoli [ctb, cph], Tommi Laivamaa [ctb, cph], Kim SangYeon [ctb, cph], Niteya Shah [ctb, cph], Toshal Agrawal [ctb, cph], Dan Dan Timson [ctb, cph], Miguel Canteras [ctb, cph], Bishwa Karki [ctb, cph], Mehul Kumar Nirala [ctb, cph], Heet Sankesara [ctb, cph], Jeffin Sam [ctb, cph], Vikas S Shetty [ctb, cph], Khizir Siddiqui [ctb, cph], Tejasvi Tomar [ctb, cph], Jai Agarwal [ctb, cph], Ziyang Jiang [ctb, cph], Rohit Kartik [ctb, cph], Aditya Viki [ctb, cph], Kartik Dutt [ctb, cph], Sriram S K [ctb, cph], Manoranjan Kumar Bharti ( Nakul Bharti ) [ctb, cph], Saraansh Tandon [ctb, cph], Gaurav Singh [ctb, cph], Lakshya Ojha [ctb, cph], Bisakh Mondal [ctb, cph], Benson Muite [ctb, cph], Sarthak Bhardwaj [ctb, cph], Aakash Kaushik [ctb, cph], Anush Kini [ctb, cph], Nippun Sharma [ctb, cph], Rishabh Garg [ctb, cph], Sudhakar Brar [ctb, cph], Alex Nguyen [ctb, cph]
# Maintainer: Ryan Curtin <ryan@ratml.org>
# Repository: CRAN
# Date/Publication: 2020-12-08 17:40:06 UTC
