<commit_before>{% set version = '1.2-2' %}

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

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

source:
  fn: splus2R_{{ version }}.tar.gz
  url:
    - https://cran.r-project.org/src/contrib/splus2R_{{ version }}.tar.gz
    - https://cran.r-project.org/src/contrib/Archive/splus2R/splus2R_{{ version }}.tar.gz
  sha256: 5f1b3c3fc3bea998ef91478742d9215cc2d1c2d94ba17a2834ec02df37922b77
  skip: True  # [win]

build:
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/

requirements:
  build:
    - r-base
    - posix                # [win]
    - {{native}}toolchain  # [win]
    - gcc                  # [not win]

  run:
    - r-base
    - libgcc  # [not win]

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

about:
  home: https://CRAN.R-project.org/package=splus2R
  license: GPL-2
  summary: Currently there are many functions in S-PLUS that are missing in R. To facilitate
    the conversion of S-PLUS packages to R packages, this package provides some missing
    S-PLUS functionality in R.
  license_family: GPL2
  license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-2'  # [unix]
  license_file: '{{ environ["PREFIX"] }}\R\share\licenses\GPL-2'  # [win]

extra:
  recipe-maintainers:
    - cbrueffer
    - johanneskoester
    - bgruening
    - daler
    - jdblischak
<commit_msg>Move skip to the right place.<commit_after>{% set version = '1.2-2' %}

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

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

source:
  fn: splus2R_{{ version }}.tar.gz
  url:
    - https://cran.r-project.org/src/contrib/splus2R_{{ version }}.tar.gz
    - https://cran.r-project.org/src/contrib/Archive/splus2R/splus2R_{{ version }}.tar.gz
  sha256: 5f1b3c3fc3bea998ef91478742d9215cc2d1c2d94ba17a2834ec02df37922b77

build:
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/
  skip: True  # [win]

requirements:
  build:
    - r-base
    - posix                # [win]
    - {{native}}toolchain  # [win]
    - gcc                  # [not win]

  run:
    - r-base
    - libgcc  # [not win]

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

about:
  home: https://CRAN.R-project.org/package=splus2R
  license: GPL-2
  summary: Currently there are many functions in S-PLUS that are missing in R. To facilitate
    the conversion of S-PLUS packages to R packages, this package provides some missing
    S-PLUS functionality in R.
  license_family: GPL2
  license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-2'  # [unix]
  license_file: '{{ environ["PREFIX"] }}\R\share\licenses\GPL-2'  # [win]

extra:
  recipe-maintainers:
    - cbrueffer
    - johanneskoester
    - bgruening
    - daler
    - jdblischak

{'fraction_non_alphanumeric': 0.159877800407332, 'fraction_numerical': 0.04276985743380855, 'mean_word_length': 2.580801944106926, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '5871559', 'n_tokens_mistral': 1238, 'n_tokens_neox': 1159, 'n_words': 253}