Skip to content

Commit 60d0d70

Browse files
committed
Check with XQuartz on macOS
1 parent e26a061 commit 60d0d70

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
env:
2929
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
3030
R_KEEP_PKG_SOURCE: yes
31+
R_DONT_USE_TK: 1
3132

3233
steps:
3334
- uses: actions/checkout@v4
@@ -40,6 +41,11 @@ jobs:
4041
http-user-agent: ${{ matrix.config.http-user-agent }}
4142
use-public-rspm: true
4243

44+
- name: Install X11 dependencies on MacOS
45+
if: runner.os == 'macOS'
46+
run: |
47+
brew install --cask xquartz
48+
4349
- uses: r-lib/actions/setup-r-dependencies@v2
4450
with:
4551
extra-packages: any::rcmdcheck

R/tk2reg.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
#' tk2reg.setkey(Rsubkey)
8282
#' # Add a couple of keys in it
8383
#' tk2reg.set(Rsubkey, "test", "a key added in the registry!", type = "sz")
84-
#' tk2reg.set(Rsubkey, "test exp", "\%SystemRoot\%\\\\system32", type = "expand_sz")
84+
#' #tk2reg.set(Rsubkey, "test exp", "\%SystemRoot\%\\\\system32", type = "expand_sz")
8585
#' tk2reg.set(Rsubkey, "test multi", LETTERS[1:5], type = "multi_sz")
8686
#' tk2reg.set(Rsubkey, "test dword", 1024, type = "dword")
8787
#' tk2reg.set(Rsubkey, "test big end", 1024, type = "dword_big_endian")

man/tk2reg.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)