<commit_before>{% set name = "r-ricu" %}
{% set version = "0.5.3" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: 
   - {{ cran_mirror }}/src/contrib/ricu_{{ version }}.tar.gz
   - {{ cran_mirror }}/src/contrib/Archive/ricu/ricu_{{ version }}.tar.gz
  sha256: fd6d6f5b41f9b684972c0fe542fdd605393515911caa091ea51373c3a120bbf8

build:
  merge_build_host: true  # [win]
  number: 0
  noarch: generic
  rpaths:
    - lib/R/lib/
    - lib/

requirements:
  build:
    - {{ posix }}zip               # [win]
  host:
    - r-base
    - r-data.table
    - r-curl
    - r-readr
    - r-fst
    - r-prt >=0.1.2
    - r-assertthat
    - r-tibble
    - r-backports
    - r-rlang
    - r-vctrs
    - r-cli
    - r-fansi
    - r-openssl
  run:
    - r-base
    - r-data.table
    - r-curl
    - r-readr
    - r-fst
    - r-prt >=0.1.2
    - r-assertthat
    - r-tibble
    - r-backports
    - r-rlang
    - r-vctrs
    - r-cli
    - r-fansi
    - r-openssl

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

about:
  home: https://github.com/eth-mds/ricu
  summary: 'ICU data with R'
  description: |
    Working with ICU datasets, especially with publicly available ones as provided by
    PhysioNet in R is facilitated by ricu, which provides data access, a level of
    abstraction to encode clinical concepts in a data source agnostic way, as well as
    classes and utilities for working with the arising types of time series datasets.
  license_family: GPL3
  license_file:
    - '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'
  doc_url: https://eth-mds.github.io/ricu/
  dev_url: https://github.com/eth-mds/ricu

extra:
  recipe-maintainers:
    # GitHub IDs for maintainers of the recipe.
    # Always check with the people listed below if they are OK becoming maintainers of the recipe. (There will be spam!)
    - mlondschien<commit_msg>Add license entry.<commit_after>{% set name = "r-ricu" %}
{% set version = "0.5.3" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: 
   - {{ cran_mirror }}/src/contrib/ricu_{{ version }}.tar.gz
   - {{ cran_mirror }}/src/contrib/Archive/ricu/ricu_{{ version }}.tar.gz
  sha256: fd6d6f5b41f9b684972c0fe542fdd605393515911caa091ea51373c3a120bbf8

build:
  merge_build_host: true  # [win]
  number: 0
  noarch: generic
  rpaths:
    - lib/R/lib/
    - lib/

requirements:
  build:
    - {{ posix }}zip               # [win]
  host:
    - r-base
    - r-data.table
    - r-curl
    - r-readr
    - r-fst
    - r-prt >=0.1.2
    - r-assertthat
    - r-tibble
    - r-backports
    - r-rlang
    - r-vctrs
    - r-cli
    - r-fansi
    - r-openssl
  run:
    - r-base
    - r-data.table
    - r-curl
    - r-readr
    - r-fst
    - r-prt >=0.1.2
    - r-assertthat
    - r-tibble
    - r-backports
    - r-rlang
    - r-vctrs
    - r-cli
    - r-fansi
    - r-openssl

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

about:
  home: https://github.com/eth-mds/ricu
  summary: 'ICU data with R'
  description: |
    Working with ICU datasets, especially with publicly available ones as provided by
    PhysioNet in R is facilitated by ricu, which provides data access, a level of
    abstraction to encode clinical concepts in a data source agnostic way, as well as
    classes and utilities for working with the arising types of time series datasets.
  license: GPL-3.0-only
  license_family: GPL3
  license_file:
    - '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'
  doc_url: https://eth-mds.github.io/ricu/
  dev_url: https://github.com/eth-mds/ricu

extra:
  recipe-maintainers:
    # GitHub IDs for maintainers of the recipe.
    # Always check with the people listed below if they are OK becoming maintainers of the recipe. (There will be spam!)
    - mlondschien
{'fraction_non_alphanumeric': 0.13335039672382903, 'fraction_numerical': 0.029178397747632454, 'mean_word_length': 2.179820992676973, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '3592424', 'n_tokens_mistral': 1575, 'n_tokens_neox': 1483, 'n_words': 371}