This issue in pak is likely related to pkgcache:::is_ppm_linux_repo_url(), which does not recognize p3m manylinux_2_28 as a valid binary distro. This may cause pak to compile packages from source instead of downloading them.
# For recent Ubuntu 26.04 it works
pkgcache:::is_ppm_linux_repo_url(
"https://packagemanager.posit.co/cran/__linux__/resolute/latest"
)
#> [1] TRUE
# ... for manylinux_2_28 not
pkgcache:::is_ppm_linux_repo_url(
"https://packagemanager.posit.co/cran/__linux__/manylinux_2_28/latest"
)
#> [1] FALSE
Changing the regex re_ppm_linux would work:
grepl(
"^(?<base>.*/)(?<repo>[^/]+)/__linux__/(?<distro>[a-zA-Z0-9_]+)/(?<version>latest|[-0-9]+)$",
"https://packagemanager.posit.co/cran/__linux__/manylinux_2_28/latest",
perl = TRUE
)
#> [1] TRUE
This issue in pak is likely related to
pkgcache:::is_ppm_linux_repo_url(), which does not recognize p3m manylinux_2_28 as a valid binary distro. This may cause pak to compile packages from source instead of downloading them.Changing the regex re_ppm_linux would work: