1 parent 1b46280 commit 20d9812Copy full SHA for 20d9812
1 file changed
.github/workflows/R-CMD-check.yaml
@@ -39,9 +39,16 @@ jobs:
39
r-version: ${{ matrix.config.r }}
40
http-user-agent: ${{ matrix.config.http-user-agent }}
41
42
- - name: Configure R repositories
+ - name: Include custom repository
43
+ shell: bash
44
run: |
- Rscript -e 'options(repos = c(CRAN = "https://cloud.r-project.org", lexopsdata = "https://JackEdTaylor.github.io/lexopsdata"))'
45
+ cat > "$RUNNER_TEMP/repositories" <<'EOF'
46
+ ## name URL default
47
+ CRAN https://cloud.r-project.org true
48
+ lexopsdata https://JackEdTaylor.github.io/lexopsdata true
49
+ EOF
50
+
51
+ echo "R_REPOSITORIES=$RUNNER_TEMP/repositories" >> "$GITHUB_ENV"
52
53
54
- uses: r-lib/actions/setup-r-dependencies@v2
0 commit comments