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

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

source:
  url:
    - {{ cran_mirror }}/src/contrib/quanteda_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/quanteda/quanteda_{{ version }}.tar.gz
  sha256: bc9e74daedf5552dafbb1ffffe4957de6a1da34d5f008ccba096aa6f9896e260

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]
  host:
    - r-base
    - r-matrix >=1.2
    - r-rcpp >=0.12.12
    - r-rcpparmadillo >=0.7.600.1.0
    - r-rcppparallel
    - r-snowballc
    - r-fastmatch
    - r-magrittr
    - r-stopwords
    - r-stringi
    - r-xml2
    - r-yaml
  run:
    - r-base
    - {{ native }}gcc-libs         # [win]
    - r-matrix >=1.2
    - r-rcpp >=0.12.12
    - r-rcpparmadillo >=0.7.600.1.0
    - r-rcppparallel
    - r-snowballc
    - r-fastmatch
    - r-magrittr
    - r-stopwords
    - r-stringi
    - r-xml2
    - r-yaml

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

about:
  home: https://quanteda.io
  license: GPL-3.0-only
  summary: A fast, flexible, and comprehensive framework for quantitative text analysis in R.  Provides functionality for corpus management, creating and manipulating tokens and ngrams, exploring keywords in context, forming and manipulating sparse matrices of documents by features and feature co-occurrences, analyzing keywords,
    computing feature similarities and distances, applying content dictionaries, applying supervised and unsupervised machine learning, visually representing text and text analyses, and more.
  license_family: GPL3
  license_file:
    - {{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3

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

# Package: quanteda
# Version: 1.5.1
# Title: Quantitative Analysis of Textual Data
# Description: A fast, flexible, and comprehensive framework for quantitative text analysis in R.  Provides functionality for corpus management, creating and manipulating tokens and ngrams, exploring keywords in context, forming and manipulating sparse matrices of documents by features and feature co-occurrences, analyzing keywords, computing feature similarities and distances, applying content dictionaries, applying supervised and unsupervised machine learning, visually representing text and text analyses, and more.
# Authors@R: c( person("Kenneth", "Benoit", email = "kbenoit@lse.ac.uk", role = c("cre", "aut", "cph"), comment = c(ORCID = "0000-0002-0797-564X")), person("Kohei", "Watanabe", email = "watanabe.kohei@gmail.com", role = "aut", comment = c(ORCID = "0000-0001-6519-5265")), person("Haiyan", "Wang", email = "whyinsa@yahoo.com", role = "aut", comment = c(ORCID = "0000-0003-4992-4311")), person("Paul", "Nulty", email = "paul.nulty@gmail.com", role = "aut", comment = c(ORCID = "0000-0002-7214-4666")), person("Adam", "Obeng", email = "quanteda@binaryeagle.com", role = "aut", comment = c(ORCID = "0000-0002-2906-4775")), person("Stefan", "Muller", email = "mullers@tcd.ie", role = "aut", comment = c(ORCID = "0000-0002-6315-4125")), person("Akitaka", "Matsuo", email = "a.matsuo@lse.ac.uk", role = "aut", comment = c(ORCID = "0000-0002-3323-6330")), person("Jiong Wei", "Lua", email = "J.W.Lua@lse.ac.uk", role = "aut"), person("Patrick O.", "Perry", email = "patperry@gmail.com", role = "aut", comment = c(ORCID = "0000-0001-7460-127X")), person("Jouni", "Kuha", email = "j.kuha@lse.ac.uk", role = "aut", comment = c(ORCID = "0000-0002-1156-8465")), person("Benjamin", "Lauderdale", email = "b.e.lauderdale@lse.ac.uk", role = "aut", comment = c(ORCID = "0000-0003-3090-0969")), person("William", "Lowe", email = "wlowe@princeton.edu", role = "aut", comment = c(ORCID = "0000-0002-1549-6163")), person("Christian", "Muller", email = "C.Mueller@lse.ac.uk", role = "ctb"), person("Lori", "Young", role = "dtc", comment = "Lexicoder Sentiment Dictionary 2015"), person("Stuart", "Soroka", role = "dtc", comment = "Lexicoder Sentiment Dictionary 2015"), person("Ian", "Fellows", email = "ian@fellstat.com", role = "cph", comment = "authored wordcloud C source code (modified)"), person("European Research Council", role = "fnd", comment = "ERC-2011-StG 283794-QUANTESS") )
# License: GPL-3
# Depends: R (>= 3.1.0), methods
# Imports: data.table (>= 1.9.6), extrafont, fastmatch, ggplot2 (>= 2.2.0), ggrepel, lubridate, magrittr, Matrix (>= 1.2), network, RSpectra, Rcpp (>= 0.12.12), RcppParallel, sna, SnowballC, spacyr, stopwords, stringi, xml2, yaml, proxyC (>= 0.1.4)
# LinkingTo: Rcpp, RcppParallel, RcppArmadillo (>= 0.7.600.1.0)
# Suggests: ca, dplyr, DT, e1071, entropy, ExPosition, lda, lsa, proxy, purrr, RColorBrewer, rmarkdown, slam, spelling, stm, svs, testthat, text2vec, tibble, tidytext, tm (>= 0.6), topicmodels, xtable, knitr, igraph, wordcloud
# URL: https://quanteda.io
# Encoding: UTF-8
# BugReports: https://github.com/quanteda/quanteda/issues
# LazyData: TRUE
# VignetteBuilder: knitr
# Language: en-GB
# Collate: 'RcppExports.R' 'View.R' 'bootstrap_dfm.R' 'casechange-functions.R' 'directionchange-functions.R' 'character-methods.R' 'convert.R' 'corpus-methods-base.R' 'corpus-methods-quanteda.R' 'corpus-methods-tm.R' 'corpus.R' 'corpus_reshape.R' 'corpus_sample.R' 'corpus_segment.R' 'corpus_subset.R' 'corpus_trim.R' 'corpuszip.R' 'data-deprecated.R' 'data-documentation.R' 'defunct-functions.R' 'dfm-classes.R' 'dfm-methods.R' 'dfm-print.R' 'dfm-subsetting.R' 'dfm.R' 'dfm_compress.R' 'dfm_group.R' 'dfm_lookup.R' 'dfm_replace.R' 'dfm_sample.R' 'dfm_select.R' 'dfm_sort.R' 'dfm_subset.R' 'dfm_trim.R' 'dfm_weight.R' 'dfm_match.R' 'dictionaries.R' 'docnames.R' 'dimnames.R' 'docvars.R' 'fcm-classes.R' 'fcm-methods.R' 'fcm-subsetting.R' 'fcm.R' 'kwic.R' 'nfunctions.R' 'nscrabble.R' 'nsyllable.R' 'pattern2fixed.R' 'phrases.R' 'quanteda-documentation.R' 'quanteda_options.R' 'readtext-methods.R' 'settings.R' 'spacyr-methods.R' 'stopwords.R' 'textmodel-methods.R' 'textmodel_affinity.R' 'textmodel_ca.R' 'textmodel_lsa.R' 'textmodel_nb.R' 'textmodel_wordfish.R' 'textmodel_wordscores.R' 'textplot_influence.R' 'textplot_keyness.R' 'textplot_network.R' 'textplot_scale1d.R' 'textplot_wordcloud.R' 'textplot_xray.R' 'textstat-methods.R' 'textstat_collocations.R' 'textstat_dist_old.R' 'textstat_frequency.R' 'textstat_keyness.R' 'textstat_lexdiv.R' 'textstat_readability.R' 'textstat_simil.R' 'textstat_simil_old.R' 'textstat_entropy.R' 'tokens.R' 'tokens_compound.R' 'tokens_group.R' 'tokens_lookup.R' 'tokens_ngrams.R' 'tokens_replace.R' 'tokens_segment.R' 'tokens_select.R' 'tokens_subset.R' 'tokens_sample.R' 'tokens_split.R' 'tokens_chunk.R' 'utils.R' 'wordstem.R' 'zzz.R'
# RoxygenNote: 6.1.1
# SystemRequirements: C++11
# NeedsCompilation: yes
# Packaged: 2019-07-29 14:33:00 UTC; kbenoit
# Author: Kenneth Benoit [cre, aut, cph] (<https://orcid.org/0000-0002-0797-564X>), Kohei Watanabe [aut] (<https://orcid.org/0000-0001-6519-5265>), Haiyan Wang [aut] (<https://orcid.org/0000-0003-4992-4311>), Paul Nulty [aut] (<https://orcid.org/0000-0002-7214-4666>), Adam Obeng [aut] (<https://orcid.org/0000-0002-2906-4775>), Stefan Muller [aut] (<https://orcid.org/0000-0002-6315-4125>), Akitaka Matsuo [aut] (<https://orcid.org/0000-0002-3323-6330>), Jiong Wei Lua [aut], Patrick O. Perry [aut] (<https://orcid.org/0000-0001-7460-127X>), Jouni Kuha [aut] (<https://orcid.org/0000-0002-1156-8465>), Benjamin Lauderdale [aut] (<https://orcid.org/0000-0003-3090-0969>), William Lowe [aut] (<https://orcid.org/0000-0002-1549-6163>), Christian Muller [ctb], Lori Young [dtc] (Lexicoder Sentiment Dictionary 2015), Stuart Soroka [dtc] (Lexicoder Sentiment Dictionary 2015), Ian Fellows [cph] (authored wordcloud C source code (modified)), European Research Council [fnd] (ERC-2011-StG 283794-QUANTESS)
# Maintainer: Kenneth Benoit <kbenoit@lse.ac.uk>
# Repository: CRAN
# Date/Publication: 2019-07-30 09:30:02 UTC
