Skip to content

Commit 61009b5

Browse files
committed
Debug macOS installer when installing R
1 parent e4d78fb commit 61009b5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

setup-r/lib/installer.js

+2
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,8 @@ function acquireRMacOS(version) {
297297
try {
298298
yield exec.exec("sudo", [
299299
"installer",
300+
"-allowUntrusted",
301+
"-dumplog",
300302
"-pkg",
301303
path.join(tempDirectory, fileName),
302304
"-target",

setup-r/src/installer.ts

+2
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,8 @@ async function acquireRMacOS(version: string): Promise<string> {
278278
try {
279279
await exec.exec("sudo", [
280280
"installer",
281+
"-allowUntrusted",
282+
"-dumplog",
281283
"-pkg",
282284
path.join(tempDirectory, fileName),
283285
"-target",

0 commit comments

Comments
 (0)