Skip to content

Commit 05f3a0d

Browse files
committed
Install data.table manually on GHA
1 parent 23fb69d commit 05f3a0d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,14 @@ jobs:
9999
Write-Host "::add-path::C:\ProgramData\chocolatey\bin"
100100
Write-Host "::set-env name=LIBRARY_PATH::C:\ProgramData\chocolatey\lib\curl\tools:$($env:LIBRARY_PATH)"
101101
102+
- name: Install data.table manually
103+
if: runner.os == 'macOS'
104+
run: |
105+
brew install gettext
106+
export PKG_CPPFLAGS="-I$(brew --prefix gettext)/include"
107+
export PKG_LIBS="-L$(brew --prefix gettext)/lib -lintl"
108+
R -e 'install.packages("data.table", type="source")'
109+
102110
- name: Install R package dependencies
103111
run: |
104112
local_deps <- remotes::local_package_deps(dependencies = TRUE)

0 commit comments

Comments
 (0)