<commit_before>language: python
python:
  - "3.6"
install:
  - pip install --ignore-installed -r requirements.txt
script:
  - python -m pip install . --no-deps -vv
  - dsc --help
  - python test/test_parser.py
  - python test/test_query.py
<commit_msg>Add basic r environment<commit_after>language: python
python:
  - "3.6"
dist: bionic
addons:
  apt:
    update: true
    packages:
      - r-base
      - r-base-dev
      - r-cran-yaml
      - r-cran-devtools
install:
  - pip install --ignore-installed -r requirements.txt
script:
  - python -m pip install . --no-deps -vv
  - dsc --help
  - cd dscrutils && R --slave -e "devtools::install()"
  - cd test && python test_parser.py && python test/test_query.py
{'fraction_non_alphanumeric': 0.1352112676056338, 'fraction_numerical': 0.005633802816901409, 'mean_word_length': 2.418269230769231, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3767857', 'n_tokens_mistral': 256, 'n_tokens_neox': 251, 'n_words': 68}