<commit_before>{% set version = '0.5.4' %}

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

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

source:
  url:
    - {{ cran_mirror }}/src/contrib/BEST_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/BEST/BEST_{{ version }}.tar.gz
  sha256: 4985d4400594841fc801f47b46515006a9161ca870d41bac6a7685bf52a23f81

build:
  merge_build_host: True  # [win]
  number: 0

  rpaths:
    - lib/R/lib/
    - lib/

requirements:
  build:
    - {{ posix }}zip  # [win]

  host:
    - r-base
    - r-hdinterval
    - r-coda
    - r-rjags

  run:
    - r-base
    - r-hdinterval
    - r-coda
    - r-rjags

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

about:
  home: https://CRAN.R-project.org/package=BEST
  dev_url: https://github.com/mikemeredith/BEST
  license: GPL-3.0-or-later
  summary: 'An alternative to t-tests, producing posterior estimates for group means and standard
    deviations and their differences and effect sizes. It implements the method of Kruschke
    (2013) Bayesian estimation supersedes the t test. Journal of Experimental Psychology:
    General, 142(2):573-603 <doi: 10.1037/a0029146>.'
  license_file:
    - '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'

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


# The original CRAN metadata for this package was:

# Package: BEST
# Type: Package
# Title: Bayesian Estimation Supersedes the t-Test
# Version: 0.5.4
# Depends: HDInterval
# Imports: coda, rjags
# Date: 2021-10-13
# Authors@R: c( person("John", "Kruschke", role="aut"), person("Mike", "Meredith", role=c("aut", "cre"), email="<EMAIL>") )
# BugReports: https://github.com/mikemeredith/BEST/issues
# Description: An alternative to t-tests, producing posterior estimates for group means and standard deviations and their differences and effect sizes. It implements the method of Kruschke (2013) Bayesian estimation supersedes the t test. Journal of Experimental Psychology: General, 142(2):573-603 <doi: 10.1037/a0029146>.
# License: GPL (>= 3)
# Language: en-US
# NeedsCompilation: no
# Packaged: 2021-10-13 02:59:14 UTC; User
# Author: <NAME> [aut], <NAME> [aut, cre]
# Maintainer: <NAME> <<EMAIL>>
# Repository: CRAN
# Date/Publication: 2021-10-13 04:30:10 UTC

# See
# https://docs.conda.io/projects/conda-build for
# more information about meta.yaml
<commit_msg>Skip for win due to r-rjags not available for win<commit_after>{% set version = '0.5.4' %}

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

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

source:
  url:
    - {{ cran_mirror }}/src/contrib/BEST_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/BEST/BEST_{{ version }}.tar.gz
  sha256: 4985d4400594841fc801f47b46515006a9161ca870d41bac6a7685bf52a23f81

build:
  skip: True  # [win]
  merge_build_host: True  # [win]
  number: 0

  rpaths:
    - lib/R/lib/
    - lib/

requirements:
  build:
    - {{ posix }}zip  # [win]

  host:
    - r-base
    - r-hdinterval
    - r-coda
    - r-rjags

  run:
    - r-base
    - r-hdinterval
    - r-coda
    - r-rjags

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

about:
  home: https://CRAN.R-project.org/package=BEST
  dev_url: https://github.com/mikemeredith/BEST
  license: GPL-3.0-or-later
  summary: 'An alternative to t-tests, producing posterior estimates for group means and standard
    deviations and their differences and effect sizes. It implements the method of Kruschke
    (2013) Bayesian estimation supersedes the t test. Journal of Experimental Psychology:
    General, 142(2):573-603 <doi: 10.1037/a0029146>.'
  license_file:
    - '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'

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


# The original CRAN metadata for this package was:

# Package: BEST
# Type: Package
# Title: Bayesian Estimation Supersedes the t-Test
# Version: 0.5.4
# Depends: HDInterval
# Imports: coda, rjags
# Date: 2021-10-13
# Authors@R: c( person("John", "Kruschke", role="aut"), person("Mike", "Meredith", role=c("aut", "cre"), email="<EMAIL>") )
# BugReports: https://github.com/mikemeredith/BEST/issues
# Description: An alternative to t-tests, producing posterior estimates for group means and standard deviations and their differences and effect sizes. It implements the method of Kruschke (2013) Bayesian estimation supersedes the t test. Journal of Experimental Psychology: General, 142(2):573-603 <doi: 10.1037/a0029146>.
# License: GPL (>= 3)
# Language: en-US
# NeedsCompilation: no
# Packaged: 2021-10-13 02:59:14 UTC; User
# Author: <NAME> [aut], <NAME> [aut, cre]
# Maintainer: <NAME> <<EMAIL>>
# Repository: CRAN
# Date/Publication: 2021-10-13 04:30:10 UTC

# See
# https://docs.conda.io/projects/conda-build for
# more information about meta.yaml

{'fraction_non_alphanumeric': 0.14998013508144617, 'fraction_numerical': 0.06158124751688518, 'mean_word_length': 3.47158081705151, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 21, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4977508', 'n_tokens_mistral': 2068, 'n_tokens_neox': 1809, 'n_words': 486}