Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add available_sys method #47

Merged
merged 15 commits into from
Nov 14, 2022
Merged

Add available_sys method #47

merged 15 commits into from
Nov 14, 2022

Conversation

Enchufa2
Copy link
Member

Similarly to available.packages(), available_sys() will return a matrix with package names, versions and repositories.

Closes #41.

@Enchufa2 Enchufa2 marked this pull request as ready for review November 14, 2022 00:43
@Enchufa2
Copy link
Member Author

Enchufa2 commented Nov 14, 2022

Fedora version via D-Bus call:

> head(CoprManager::available_copr())
Available system packages...

           Package      Version Repository                                 
A3         "A3"         "1.0.0" "copr:copr.fedorainfracloud.org:iucar:cran"
AATtools   "AATtools"   "0.0.2" "copr:copr.fedorainfracloud.org:iucar:cran"
ABACUS     "ABACUS"     "1.0.0" "copr:copr.fedorainfracloud.org:iucar:cran"
abbreviate "abbreviate" "0.1"   "copr:copr.fedorainfracloud.org:iucar:cran"
abbyyR     "abbyyR"     "0.5.5" "copr:copr.fedorainfracloud.org:iucar:cran"
abc        "abc"        "2.2.1" "copr:copr.fedorainfracloud.org:iucar:cran"

rocker/r-ubuntu:22.04 via root call:

> head(bspm::available_sys())
Available system packages as root...
         Package    Version  Repository                   
abbyyr   "abbyyr"   "0.5.5"  "LP-PPA-c2d4u.team-c2d4u4.0+"
abc      "abc"      "2.2.1"  "LP-PPA-c2d4u.team-c2d4u4.0+"
abc.data "abc.data" "1.0"    "LP-PPA-c2d4u.team-c2d4u4.0+"
abcoptim "abcoptim" "0.15.0" "LP-PPA-c2d4u.team-c2d4u4.0+"
abcrf    "abcrf"    "1.9"    "LP-PPA-c2d4u.team-c2d4u4.0+"
abess    "abess"    "0.4.5"  "LP-PPA-c2d4u.team-c2d4u4.0+"

archlinux:latest via root call:

> head(bspm::available_sys())
Available system packages as root...
              Package         Version  Repository
abind         "abind"         "1.4.5"  "desolve" 
animation     "animation"     "2.7"    "desolve" 
annotate      "annotate"      "1.74.0" "desolve" 
annotationdbi "annotationdbi" "1.58.0" "desolve" 
anytime       "anytime"       "0.3.9"  "desolve" 
apcluster     "apcluster"     "1.4.10" "desolve"

@Enchufa2 Enchufa2 merged commit 8b488f5 into master Nov 14, 2022
@Enchufa2 Enchufa2 deleted the feature/41 branch November 14, 2022 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a mechanism to retrieve package versions
1 participant