<commit_before>on:
  push:
    branches: [ main ]
  pull_request:
  workflow_dispatch:
  schedule:
    - cron: '0 6 * * * '

name: rev-check

jobs:
  rev-check:
    runs-on: ${{ matrix.config.os }}

    name: ${{ matrix.config.os }} (${{ matrix.config.r }})

    strategy:
      fail-fast: false
      matrix:
        config:
          - {os: macOS-latest, r: 'release'}

    env:
      GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

    steps:
      - uses: actions/checkout@v2

      - name: Checkout your package
        uses: actions/checkout@v2
        with:
          path: package
          # change the repo below to yours
          repository: yihui/knitr
          # ref: master

      - name: Clean up .Renviron
        run: |
          sed -i '' /R_LIBS_USER/d .Renviron

      - uses: r-lib/actions/setup-r@v1
        with:
          r-version: ${{ matrix.config.r }}

      - uses: r-lib/actions/setup-tinytex@v1
        env:
          TINYTEX_INSTALLER: TinyTeX

      - uses: r-lib/actions/setup-pandoc@v1

      - name: Query dependencies
        run: |
          Rscript R/deps.R

      - name: Cache R packages
        if: runner.os != 'Windows'
        uses: actions/cache@v2
        with:
          path: ${{ env.R_LIBS_USER }}
          key: ${{ runner.os }}-${{ hashFiles('.github/versions.csv') }}<commit_msg>use setup-r v2<commit_after>on:
  push:
    branches: [ main ]
  pull_request:
  workflow_dispatch:
  schedule:
    - cron: '0 6 * * * '

name: rev-check

jobs:
  rev-check:
    runs-on: ${{ matrix.config.os }}

    name: ${{ matrix.config.os }} (${{ matrix.config.r }})

    strategy:
      fail-fast: false
      matrix:
        config:
          - {os: macOS-latest, r: 'release'}

    env:
      GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

    steps:
      - uses: actions/checkout@v2

      - name: Checkout your package
        uses: actions/checkout@v2
        with:
          path: package
          # change the repo below to yours
          repository: yihui/knitr
          # ref: master

      - name: Clean up .Renviron
        run: |
          sed -i '' /R_LIBS_USER/d .Renviron

      - uses: r-lib/actions/setup-r@v2
        with:
          r-version: ${{ matrix.config.r }}

      - uses: r-lib/actions/setup-tinytex@v1
        env:
          TINYTEX_INSTALLER: TinyTeX

      - uses: r-lib/actions/setup-pandoc@v1

      - name: Query dependencies
        run: |
          Rscript R/deps.R

      - name: Cache R packages
        if: runner.os != 'Windows'
        uses: actions/cache@v2
        with:
          path: ${{ env.R_LIBS_USER }}
          key: ${{ runner.os }}-${{ hashFiles('.github/versions.csv') }}
{'fraction_non_alphanumeric': 0.1337099811676083, 'fraction_numerical': 0.0064030131826741995, 'mean_word_length': 1.6828282828282828, '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': '3080833', 'n_tokens_mistral': 930, 'n_tokens_neox': 889, 'n_words': 192}