<commit_before># DO NOT CHANGE the "init" and "install" sections below

# Download script file from GitHub
init:
  ps: |
        $ErrorActionPreference = "Stop"
        Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
        Import-Module '..\appveyor-tool.ps1'

install:
  ps: Bootstrap

environment:
  global:
    CRAN: http://cloud.r-project.org/
    WARNINGS_ARE_ERRORS: 1
    USE_RTOOLS: true
    GCC_PATH: mingw_64
# Default GCC_PATH appears to be gcc-4.6.3 which is now unsupported as from Rtools.exe v3.4
    R_CHECK_ARGS: --no-manual
# R_CHECK_ARGS specified in order to turn off --as-cran as that can be slow

  matrix:
  - R_VERSION: release
    R_ARCH: x64

#  - R_VERSION: devel
#    R_ARCH: x64
# Windows r-devel temporarily off due to 'The process cannot access the file because it is being used by another process'
# which started after R 3.4.0 being released.

build_script:
  - set _R_CHECK_FORCE_SUGGESTS_=false
  - travis-tool.sh r_install bit64
  - travis-tool.sh r_install fastmatch

test_script:
  - travis-tool.sh run_tests

on_failure:
  - 7z a failure.zip *.Rcheck\*
  - appveyor PushArtifact failure.zip

artifacts:
  - path: '*.Rcheck\**\*.log'
    name: Logs

  - path: '*.Rcheck\**\*.out'
    name: Logs

  - path: '*.Rcheck\**\*.fail'
    name: Logs

  - path: '*.Rcheck\**\*.Rout'
    name: Logs

  - path: '\*_*.tar.gz'
    name: Bits

  - path: '\*_*.zip'
    name: Bits
<commit_msg>Added knitr and nanotime to appveyor to have those checked on windows in dev<commit_after># DO NOT CHANGE the "init" and "install" sections below

# Download script file from GitHub
init:
  ps: |
        $ErrorActionPreference = "Stop"
        Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
        Import-Module '..\appveyor-tool.ps1'

install:
  ps: Bootstrap

environment:
  global:
    CRAN: http://cloud.r-project.org/
    WARNINGS_ARE_ERRORS: 1
    USE_RTOOLS: true
    GCC_PATH: mingw_64
# Default GCC_PATH appears to be gcc-4.6.3 which is now unsupported as from Rtools.exe v3.4
    R_CHECK_ARGS: --no-manual
# R_CHECK_ARGS specified in order to turn off --as-cran as that can be slow

  matrix:
  - R_VERSION: release
    R_ARCH: x64

#  - R_VERSION: devel
#    R_ARCH: x64
# Windows r-devel temporarily off due to 'The process cannot access the file because it is being used by another process'
# which started after R 3.4.0 being released.

build_script:
  - set _R_CHECK_FORCE_SUGGESTS_=false
  - travis-tool.sh r_install bit64
  - travis-tool.sh r_install fastmatch
  - travis-tool.sh r_install knitr
  - travis-tool.sh r_install nanotime

test_script:
  - travis-tool.sh run_tests

on_failure:
  - 7z a failure.zip *.Rcheck\*
  - appveyor PushArtifact failure.zip

artifacts:
  - path: '*.Rcheck\**\*.log'
    name: Logs

  - path: '*.Rcheck\**\*.out'
    name: Logs

  - path: '*.Rcheck\**\*.fail'
    name: Logs

  - path: '*.Rcheck\**\*.Rout'
    name: Logs

  - path: '\*_*.tar.gz'
    name: Bits

  - path: '\*_*.zip'
    name: Bits

{'fraction_non_alphanumeric': 0.12115384615384615, 'fraction_numerical': 0.013461538461538462, 'mean_word_length': 2.8818407960199006, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7095348', 'n_tokens_mistral': 1220, 'n_tokens_neox': 1143, 'n_words': 317}