<commit_before># Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
#on:
  #workflow_dispatch
on:
  push:
    branches:
      - pkgdown

name: pkgdown

jobs:
  pkgdown:
    runs-on: ubuntu-latest
    env:
      GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
    steps:
      - uses: actions/checkout@v2

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

      - uses: r-lib/actions/setup-r@v1
        with:
          use-public-rspm: true

      - uses: r-lib/actions/setup-r-dependencies@v1
        with:
          extra-packages: pkgdown
          needs: website
          working-directory: './pcgrr'

      - name: Deploy package
        run: |
          git config --local user.name "$GITHUB_ACTOR"
          git config --local user.email "$<EMAIL>"
          Rscript -e 'pkgdown::deploy_to_branch(pkg = "./pcgrr", branch = "gh-pages", new_process = FALSE)'
<commit_msg>use v2 of setup-r-dependencies<commit_after># Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
#on:
  #workflow_dispatch
on:
  push:
    branches:
      - pkgdown

name: pkgdown

jobs:
  pkgdown:
    runs-on: ubuntu-latest
    env:
      GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
    steps:
      - uses: actions/checkout@v2

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

      - uses: r-lib/actions/setup-r@v1
        with:
          use-public-rspm: true

      - uses: r-lib/actions/setup-r-dependencies@v2
        with:
          extra-packages: pkgdown
          needs: website
          working-directory: './pcgrr'

      - name: Deploy package
        run: |
          git config --local user.name "$GITHUB_ACTOR"
          git config --local user.email "$<EMAIL>"
          Rscript -e 'pkgdown::deploy_to_branch(pkg = "./pcgrr", branch = "gh-pages", new_process = FALSE)'

{'fraction_non_alphanumeric': 0.12757408337518836, 'fraction_numerical': 0.0045203415369161224, 'mean_word_length': 2.2549019607843137, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '1529717', 'n_tokens_mistral': 694, 'n_tokens_neox': 666, 'n_words': 141}