Skip to content

Commit d6a6bc5

Browse files
committed
Address error with hombrew install of rig.
New trust policy for homebrew casks (https://docs.brew.sh/Tap-Trust) causes rig installation to fail with the following error: Error: Refusing to load cask r-lib/rig/rig from untrusted tap r-lib/rig. Run `brew trust --cask r-lib/rig/rig` or `brew trust r-lib/rig` to trust it. This change in the installation process addresses the error by directly installing the rig cask without tapping the repository first, which avoids the trust issue.
1 parent 069e241 commit d6a6bc5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.circleci/config.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ jobs:
4141
R_VERSION="<< parameters.r-version >>"
4242
# Install rig, R Installation Manager (https://github.com/r-lib/rig) to control installed R version
4343
if [ "$RUNNER_OS" == "macos" ]; then
44-
brew tap r-lib/rig
45-
brew install --cask rig
44+
brew install --cask r-lib/rig/rig
4645
rig add $R_VERSION
4746
# on macOS the R package is installed into a MAJOR.MINOR directory
4847
# the PATCH is ignored (only one patch version supported) the

0 commit comments

Comments
 (0)