Skip to content

Commit a9ae391

Browse files
committed
Fix GitHub Actions workflows and R CMD check warnings
1 parent 48973f3 commit a9ae391

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

.Rbuildignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,11 @@
100100
^Athlytics_.*\.tar\.gz$
101101
^tatus$
102102
^check_output\.txt$
103+
^final_check\.txt$
104+
^pkgcheck.*\.txt$
105+
^analysis_output$
106+
^Athlytics$
103107
^\.lang$
104-
^\.cursor$
105-
^\.cursor/
106108
^.*调试.*$
107109
^create_multi_athlete_sample_data\.R$
108110
^regenerate_figures\.R$

.github/workflows/pkgcheck.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ name: pkgcheck
1111
jobs:
1212
pkgcheck:
1313
runs-on: ubuntu-latest
14+
permissions:
15+
contents: read
16+
issues: write
1417
steps:
1518
- uses: actions/checkout@v4
1619

@@ -27,3 +30,4 @@ jobs:
2730
env:
2831
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
2932

33+

.github/workflows/pkgdown.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
3838
shell: Rscript {0}
3939

40+
- name: Create .nojekyll file
41+
run: touch docs/.nojekyll
42+
4043
- name: Deploy to GitHub pages 🚀
4144
if: github.event_name != 'pull_request'
4245
uses: JamesIves/github-pages-deploy-action@v4.6.8

docs/.nojekyll

Whitespace-only changes.

0 commit comments

Comments
 (0)