Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
cb2b197
PPM SSO
gaborcsardi Feb 18, 2026
9e33d3d
Merged origin/main into feature/ppm-sso
gaborcsardi May 8, 2026
793d1cf
Suggest http2, RcppTOML, openssl
gaborcsardi May 8, 2026
12a0e48
Default service to PPM URL
gaborcsardi May 8, 2026
d6d4dde
Fix httr2 function name
gaborcsardi May 8, 2026
c121a42
Add webfakes app for SSO
gaborcsardi May 8, 2026
094a302
Remove PPM-SSO code, it lives in pkgcache now
gaborcsardi May 8, 2026
c73e66f
Update embedded pkgcache for PPM SSO
gaborcsardi May 8, 2026
262f51a
Copy PACKAGEMANAGER_ADDRESS env var to subprocess
gaborcsardi May 8, 2026
752ee15
Update embedded curl
gaborcsardi May 8, 2026
1b887ea
Update embedded pkgcache
gaborcsardi May 8, 2026
7bd9152
Revert "Update embedded curl"
gaborcsardi May 8, 2026
95c59a1
Update embedded pkgcache
gaborcsardi May 8, 2026
855f375
GHA: update action versions
gaborcsardi May 9, 2026
c96e74d
Embed ts and tstoml
gaborcsardi May 13, 2026
802fa01
Update embedded pkgcache@feature/ppm-sso
gaborcsardi May 13, 2026
4464fe0
Update embedded pkgcache
gaborcsardi May 13, 2026
c1fc2cd
Fix automatic browser open
gaborcsardi May 13, 2026
cf6d74b
PPM SSO functions
gaborcsardi May 13, 2026
f3e750e
Update embedded pkgcache
gaborcsardi May 13, 2026
62a1a74
Fix link within Rmd docs
gaborcsardi May 14, 2026
cf6d138
ppm_sso_log{in,out} returns invisibly
gaborcsardi May 14, 2026
27bbb2f
Fix R CMD check issues
gaborcsardi May 14, 2026
a83921a
Docs fixes for R CMD check
gaborcsardi May 14, 2026
01fb1c1
Update embedded pkgdepends
gaborcsardi May 14, 2026
b74b223
Remove broken test-coverate workflow
gaborcsardi May 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
^src/library/curl/tools/option_table[.]txt$
^src/library/jsonlite/src/yajl/libstatyajl[.]a$
^src/library/pkgdepends/man/macros/eval2[.]Rd$
^src/library/ts/man/macros/eval2[.]Rd$
^src/library/tstoml/man/macros/eval2[.]Rd$
^src/library/processx/src/supervisor/supervisor$
^src/library/processx/src/tools/px$
^src/library/processx/src/tools/sock$
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
R_KEEP_PKG_SOURCE: yes

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- uses: r-lib/actions/setup-pandoc@v2

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/linux-builder-containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand Down Expand Up @@ -69,10 +69,10 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 10

Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 10

Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 10

Expand Down Expand Up @@ -291,7 +291,7 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 10

Expand Down Expand Up @@ -325,13 +325,13 @@ jobs:

steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 10

Expand Down Expand Up @@ -364,7 +364,7 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 10

Expand Down Expand Up @@ -412,7 +412,7 @@ jobs:
sudo apt-get update

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 10

Expand All @@ -439,7 +439,7 @@ jobs:

- name: Deploy to GitHub pages (test)
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4.5.0
uses: JamesIves/github-pages-deploy-action@v4.8.0
with:
repository-name: r-lib/r-lib.github.io
token: ${{ secrets.PAK_GHCR_TOKEN }}
Expand All @@ -457,7 +457,7 @@ jobs:

- name: Deploy to GitHub Pages (prod)
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4.5.0
uses: JamesIves/github-pages-deploy-action@v4.8.0
with:
repository-name: r-lib/r-lib.github.io
token: ${{ secrets.PAK_GHCR_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- uses: r-lib/actions/setup-pandoc@v2

Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4.5.0
uses: JamesIves/github-pages-deploy-action@v4.8.0
with:
clean: false
branch: gh-pages
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-commands.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- uses: r-lib/actions/pr-fetch@v2
with:
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- uses: r-lib/actions/pr-fetch@v2
with:
Expand Down
62 changes: 0 additions & 62 deletions .github/workflows/test-coverage.yaml

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
/src/library/curl/tools/option_table.txt
/src/library/jsonlite/src/yajl/libstatyajl.a
/src/library/pkgdepends/man/macros/eval2.Rd
/src/library/ts/man/macros/eval2.Rd
/src/library/tstoml/man/macros/eval2.Rd
/src/library/processx/src/supervisor/supervisor
/src/library/processx/src/supervisor/supervisor.dSYM/
/src/library/processx/src/tools/px
Expand Down
6 changes: 4 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,13 @@ Config/needs/dependencies:
keyring,
lpSolve,
pkgbuild,
pkgcache,
pkgdepends,
r-lib/pkgcache@feature/ppm-sso,
r-lib/pkgdepends,
pkgsearch,
processx,
ps,
r-lib/ts,
gaborcsardi/tstoml,
yaml
Config/Needs/website:
r-lib/asciicast,
Expand Down
3 changes: 3 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ export(ppm_platforms)
export(ppm_r_versions)
export(ppm_repo_url)
export(ppm_snapshots)
export(ppm_sso_login)
export(ppm_sso_logout)
export(ppm_sso_status)
export(repo_add)
export(repo_auth)
export(repo_auth_key_get)
Expand Down
2 changes: 2 additions & 0 deletions R/auth.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#'
#' ```{r child = "man/chunks/auth.Rmd"}
#' ```
#'
#' @seealso [repo_auth()], [ppm_sso_login()].
NULL

#' Query or set repository password in the system credential store
Expand Down
15 changes: 13 additions & 2 deletions R/embed.R
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,15 @@ embed <- local({
)

lib <- lib_dir()

if (grepl("@", pkg)) {
pkgsplit <- strsplit(pkg, "@")[[1]]
pkg <- pkgsplit[1]
ref <- pkgsplit[2]
} else {
ref <- "main"
}

pkg_name <- sub("^.*/", "", pkg)
if (mode == "add") {
if (file.exists(file.path(lib, pkg_name))) {
Expand All @@ -236,8 +245,9 @@ embed <- local({
on.exit(unlink(tmp, recursive = TRUE), add = TRUE)
if (grepl("/", pkg)) {
url <- sprintf(
"https://github.com/%s/archive/refs/heads/main.tar.gz",
pkg
"https://github.com/%s/archive/refs/heads/%s.tar.gz",
pkg,
ref
)
path1 <- file.path(tmp, paste0(pkg_name, ".tar.gz"))
download.file(url, path1)
Expand Down Expand Up @@ -303,6 +313,7 @@ embed <- local({
rimraf(file.path(lib, pkg, "inst", "CITATION"))
rimraf(file.path(lib, pkg, "MD5"))
rimraf(file.path(lib, pkg, "README.md"))
rimraf(file.path(lib, pkg, "inst", "tsdocs"))
}
}

Expand Down
1 change: 1 addition & 0 deletions R/onload.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pkg_data <- new.env(parent = emptyenv())
# We don't use the env vars that cli supports, on purpose, because
# they are inherited in the subprocess of the subprocess
options(
pak.is_worker = TRUE,
cli.num_colors = as.numeric(Sys.getenv("R_PKG_NUM_COLORS", "1")),
rlib_interactive = (Sys.getenv("R_PKG_INTERACTIVE") == "TRUE"),
cli.dynamic = (Sys.getenv("R_PKG_DYNAMIC_TTY") == "TRUE")
Expand Down
Loading