From 6aa06a844ba508f05d586cd8feee7c6af27dde0a Mon Sep 17 00:00:00 2001 From: Trevor Riley Date: Fri, 8 Nov 2024 15:06:24 -0500 Subject: [PATCH] set mirror globally --- .github/workflows/document-and-deploy.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/document-and-deploy.yaml b/.github/workflows/document-and-deploy.yaml index be2c115..ed80716 100644 --- a/.github/workflows/document-and-deploy.yaml +++ b/.github/workflows/document-and-deploy.yaml @@ -9,6 +9,7 @@ on: env: _R_CHECK_FORCE_SUGGESTS_: "false" + R_DEFAULT_REPOS: 'https://cloud.r-project.org/' jobs: document-and-deploy: @@ -40,6 +41,7 @@ jobs: - name: Create documentation run: | R -e " + options(repos = c(CRAN = 'https://cloud.r-project.org/')); install.packages(c('rcmdcheck', 'roxygen2', 'devtools')); file.remove('NAMESPACE'); descr <- readLines('DESCRIPTION');