Skip to content

Commit

Permalink
Merge pull request #465 from r-lib/cranppa
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi authored Dec 22, 2021
2 parents 245dbd8 + 2b07401 commit 20307d0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
4 changes: 0 additions & 4 deletions setup-r/lib/installer.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,6 @@ function acquireRUbuntu(version) {
throw new Error("Temp directory not set");
}
try {
// Important backports needed for CRAN packages, including libgit2
yield core.group('Adding ppa:cran/travis repository', () => __awaiter(this, void 0, void 0, function* () {
yield exec.exec("sudo DEBIAN_FRONTEND=noninteractive add-apt-repository -y ppa:cran/travis");
}));
yield core.group('Updating system package data', () => __awaiter(this, void 0, void 0, function* () {
yield exec.exec("sudo DEBIAN_FRONTEND=noninteractive apt-get update -y -qq");
}));
Expand Down
7 changes: 0 additions & 7 deletions setup-r/src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,6 @@ async function acquireRUbuntu(version: string): Promise<string> {
}

try {
// Important backports needed for CRAN packages, including libgit2
await core.group('Adding ppa:cran/travis repository', async() => {
await exec.exec(
"sudo DEBIAN_FRONTEND=noninteractive add-apt-repository -y ppa:cran/travis"
);
});

await core.group('Updating system package data', async() => {
await exec.exec(
"sudo DEBIAN_FRONTEND=noninteractive apt-get update -y -qq"
Expand Down

0 comments on commit 20307d0

Please sign in to comment.