Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd80d596

Browse files
authored
Merge pull request#44 from alwinw/fix-gh-workflows
Fix GitHub Workflows
2 parents9c3d077 +4f03dfe commitd80d596

File tree

15 files changed

+2704
-22
lines changed

15 files changed

+2704
-22
lines changed

‎.Rprofile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
source("renv/activate.R")

‎.cz.toml‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
[tool.commitizen]
2-
version ="0.9.9"
2+
name ="cz_conventional_commits"
3+
version_scheme ="semver"
34
tag_format ="v$version"
5+
update_changelog_on_bump =false
6+
changelog_incremental =false
7+
use_shortcuts =true
8+
major_version_zero =true
9+
version ="0.9.9"
410
version_files = ["DESCRIPTION:Version"]

‎.github/workflows/R-CMD-check.yaml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
push:
99
branches:[main, master]
1010
pull_request:
11-
branches:[main, master]
1211

1312
name:R-CMD-check.yaml
1413

‎.github/workflows/lint.yaml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:[main, master]
66
pull_request:
7-
branches:[main, master]
87

98
name:lint.yaml
109

‎.github/workflows/pkgdown.yaml‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ on:
44
push:
55
branches:[main, master]
66
pull_request:
7-
branches:[main, master]
87
release:
98
types:[published]
109
workflow_dispatch:
1110

12-
name:pkgdown
11+
name:pkgdown.yaml
12+
13+
permissions:read-all
1314

1415
jobs:
1516
pkgdown:
@@ -19,8 +20,10 @@ jobs:
1920
group:pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
2021
env:
2122
GITHUB_PAT:${{ secrets.GITHUB_TOKEN }}
23+
permissions:
24+
contents:write
2225
steps:
23-
-uses:actions/checkout@v3
26+
-uses:actions/checkout@v4
2427

2528
-uses:r-lib/actions/setup-pandoc@v2
2629

@@ -39,7 +42,7 @@ jobs:
3942

4043
-name:Deploy to GitHub pages 🚀
4144
if:github.event_name != 'pull_request'
42-
uses:JamesIves/github-pages-deploy-action@v4.4.1
45+
uses:JamesIves/github-pages-deploy-action@v4.5.0
4346
with:
4447
clean:false
4548
branch:gh-pages

‎.github/workflows/render-rmarkdown.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
-uses:r-lib/actions/setup-pandoc@v2
2525

2626
-uses:r-lib/actions/setup-r@v2
27+
with:
28+
r-version:renv
2729

2830
-uses:r-lib/actions/setup-renv@v2
2931

‎.github/workflows/style.yaml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,10 @@ jobs:
2626
with:
2727
use-public-rspm:true
2828

29-
-name:Installdependencies
29+
-name:Installstyler and roxygen2
3030
uses:r-lib/actions/setup-r-dependencies@v2
3131
with:
32-
extra-packages:any::styler, any::roxygen2
33-
needs:styler
32+
packages:styler, roxygen2
3433

3534
-name:Enable styler cache
3635
run:styler::cache_activate()

‎.github/workflows/test-coverage.yaml‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:[main, master]
66
pull_request:
7-
branches:[main, master]
87

98
name:test-coverage.yaml
109

@@ -35,14 +34,16 @@ jobs:
3534
clean = FALSE,
3635
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
3736
)
37+
print(cov)
3838
covr::to_cobertura(cov)
3939
shell:Rscript {0}
4040

41-
-uses:codecov/codecov-action@v4
41+
-uses:codecov/codecov-action@v5
4242
with:
43-
fail_ci_if_error:${{ github.event_name != 'pull_request' && true || false }}
44-
file:./cobertura.xml
45-
plugin:noop
43+
# Fail if error if not on PR, or if on PR and token is given
44+
fail_ci_if_error:${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }}
45+
files:./cobertura.xml
46+
plugins:noop
4647
disable_search:true
4748
token:${{ secrets.CODECOV_TOKEN }}
4849

‎.gitignore‎

Lines changed: 216 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,206 @@
1-
# Custom
1+
#---------------------------------------------------------------------------------------
2+
# Custom.gitignore
3+
#---------------------------------------------------------------------------------------
24
resources/
3-
renv/
4-
renv.lock
55
docs
6-
.Rprofile
76
CRAN-RELEASE
87
CRAN-SUBMISSION
98
check/
109

10+
#---------------------------------------------------------------------------------------
11+
# Archives.gitignore
12+
#---------------------------------------------------------------------------------------
13+
# It's better to unpack these files and commit the raw source because
14+
# git has its own built in compression methods.
15+
*.7z
16+
*.jar
17+
*.rar
18+
*.zip
19+
*.gz
20+
*.gzip
21+
*.tgz
22+
*.bzip
23+
*.bzip2
24+
*.bz2
25+
*.xz
26+
*.lzma
27+
*.cab
28+
*.xar
29+
*.zst
30+
*.tzst
31+
32+
# Packing-only formats
33+
*.iso
34+
*.tar
35+
36+
# Package management formats
37+
*.dmg
38+
*.xpi
39+
*.gem
40+
*.egg
41+
*.deb
42+
*.rpm
43+
*.msi
44+
*.msm
45+
*.msp
46+
*.txz
47+
48+
#---------------------------------------------------------------------------------------
49+
# Backup.gitignore
50+
#---------------------------------------------------------------------------------------
51+
*.bak
52+
*.gho
53+
*.ori
54+
*.orig
55+
*.tmp
56+
57+
#---------------------------------------------------------------------------------------
58+
# Images.gitignore
59+
#---------------------------------------------------------------------------------------
60+
# JPEG
61+
*.jpg
62+
*.jpeg
63+
*.jpe
64+
*.jif
65+
*.jfif
66+
*.jfi
67+
68+
# JPEG 2000
69+
*.jp2
70+
*.j2k
71+
*.jpf
72+
*.jpx
73+
*.jpm
74+
*.mj2
75+
76+
# JPEG XR
77+
*.jxr
78+
*.hdp
79+
*.wdp
80+
81+
# Graphics Interchange Format
82+
*.gif
83+
84+
# RAW
85+
*.raw
86+
87+
# Web P
88+
*.webp
89+
90+
# Portable Network Graphics
91+
*.png
92+
93+
# Animated Portable Network Graphics
94+
*.apng
95+
96+
# Multiple-image Network Graphics
97+
*.mng
98+
99+
# Tagged Image File Format
100+
*.tiff
101+
*.tif
102+
103+
# Scalable Vector Graphics
104+
*.svg
105+
*.svgz
106+
107+
# Portable Document Format
108+
*.pdf
109+
110+
# X BitMap
111+
*.xbm
112+
113+
# BMP
114+
*.bmp
115+
*.dib
116+
117+
# ICO
118+
*.ico
119+
120+
# 3D Images
121+
*.3dm
122+
*.max
123+
124+
#---------------------------------------------------------------------------------------
125+
# Linux.gitignore
126+
#---------------------------------------------------------------------------------------
127+
*~
128+
129+
# temporary files which can be created if a process still has a handle open of a deleted file
130+
.fuse_hidden*
131+
132+
# KDE directory preferences
133+
.directory
134+
135+
# Linux trash folder which might appear on any partition or disk
136+
.Trash-*
137+
138+
# .nfs files are created when an open file is removed but is still being accessed
139+
.nfs*
140+
141+
#---------------------------------------------------------------------------------------
142+
# macOS.gitignore
143+
#---------------------------------------------------------------------------------------
144+
# General
145+
.DS_Store
146+
.AppleDouble
147+
.LSOverride
148+
149+
# Icon must end with two \r
150+
Icon
151+
152+
# Thumbnails
153+
._*
154+
155+
# Files that might appear in the root of a volume
156+
.DocumentRevisions-V100
157+
.fseventsd
158+
.Spotlight-V100
159+
.TemporaryItems
160+
.Trashes
161+
.VolumeIcon.icns
162+
.com.apple.timemachine.donotpresent
163+
164+
# Directories potentially created on remote AFP share
165+
.AppleDB
166+
.AppleDesktop
167+
NetworkTrashFolder
168+
TemporaryItems
169+
.apdisk
170+
171+
#---------------------------------------------------------------------------------------
172+
# MicrosoftOffice.gitignore
173+
#---------------------------------------------------------------------------------------
174+
*.tmp
175+
176+
# Word temporary
177+
~$*.doc*
178+
179+
# Word Auto Backup File
180+
Backupof*.doc*
181+
182+
# Excel temporary
183+
~$*.xls*
184+
185+
# Excel Backup File
186+
*.xlk
187+
188+
# PowerPoint temporary
189+
~$*.ppt*
190+
191+
# Visio autosave temporary files
192+
*.~vsd*
193+
194+
#---------------------------------------------------------------------------------------
195+
# R.gitignore
196+
#---------------------------------------------------------------------------------------
11197
# History files
12198
.Rhistory
13199
.Rapp.history
14200

15201
# Session Data files
16202
.RData
203+
.RDataTmp
17204

18205
# User-specific files
19206
.Ruserdata
@@ -47,5 +234,28 @@ vignettes/*.pdf
47234

48235
# R Environment Variables
49236
.Renviron
50-
.Rproj.user
51-
inst/doc
237+
238+
# pkgdown site
239+
docs/
240+
241+
# translation temp files
242+
po/*~
243+
244+
# RStudio Connect folder
245+
rsconnect/
246+
247+
#---------------------------------------------------------------------------------------
248+
# VSCode.gitignore
249+
#---------------------------------------------------------------------------------------
250+
.vscode/*
251+
!.vscode/settings.json
252+
!.vscode/tasks.json
253+
!.vscode/launch.json
254+
!.vscode/extensions.json
255+
!.vscode/*.code-snippets
256+
257+
# Local History for Visual Studio Code
258+
.history/
259+
260+
# Built Visual Studio Code Extensions
261+
*.vsix

‎DESCRIPTION‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ Authors@R:
1515
person(given = "Davis",
1616
family = "Vaughan",
1717
role = "ctb",
18-
email = "davis@rstudio.com"))
18+
email = "davis@rstudio.com"),
19+
person(given = "olivroy",
20+
role = "ctb"))
1921
Description: Clinical coding and diagnosis of patients with kidney using
2022
clinical practice guidelines. The guidelines used are the evidence-based
2123
KDIGO guidelines, see <https://kdigo.org/guidelines/> for more information.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp