Skip to content

Commit

Permalink
enable Pop_OS (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
Enchufa2 authored Jun 7, 2024
1 parent 57be5dc commit 61cf67c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: rspm
Type: Package
Title: 'RStudio' Package Manager
Version: 0.5.3
Version: 0.5.3.1
Authors@R: c(
person("Iñaki", "Ucar", email="[email protected]",
role=c("aut", "cph", "cre"), comment=c(ORCID="0000-0001-6403-5550")),
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# devel

- Add support for Pop!_OS (#26 addressing #25).

# rspm 0.5.3

- Drop test on failure to avoid test failures on CRAN.
Expand Down
2 changes: 1 addition & 1 deletion R/os.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ os <- function() {
os <- stats::setNames(as.list(os$val), os$var)
code <- switch(
id <- strsplit(os$ID, "-")[[1]][1],
"debian" = , "ubuntu" = os$VERSION_CODENAME,
"debian" = , "ubuntu" = , "pop" = os$VERSION_CODENAME,
"centos" = , "rocky" = , "almalinux" = , "ol" = , "rhel" =
paste0(if ((ver <- safe_version(os$VERSION_ID)$major) < 9)
"centos" else "rhel", ver),
Expand Down
9 changes: 6 additions & 3 deletions R/zzz_debian_like.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
debian_requirements ->
ubuntu_requirements
ubuntu_requirements ->
pop_requirements

debian_install ->
ubuntu_install
ubuntu_install ->
pop_install

debian_install_sysreqs ->
ubuntu_install_sysreqs
ubuntu_install_sysreqs ->
pop_install_sysreqs

0 comments on commit 61cf67c

Please sign in to comment.