RcppAPT

Rcpp Interface to the APT Package Manager

https://github.com/eddelbuettel/rcppapt

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.1%) to scientific vocabulary

Keywords

apt cran libapt-pkg r r-package
Last synced: 6 months ago · JSON representation

Repository

Rcpp Interface to the APT Package Manager

Basic Info
  • Host: GitHub
  • Owner: eddelbuettel
  • Language: C++
  • Default Branch: master
  • Homepage:
  • Size: 305 KB
Statistics
  • Stars: 10
  • Watchers: 3
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
apt cran libapt-pkg r r-package
Created about 11 years ago · Last pushed 12 months ago
Metadata Files
Readme Changelog

README.md

RcppAPT: Rcpp Interface to APT Package Manager

CI License CRAN Downloads Code Coverage Last Commit

Background

Debian and its derivatives like Ubuntu utilize a powerful package managing backend / frontend combination in APT (A Packaging Tool). Accessible at the command-line via front-ends apt, apt-get, apt-cache, ... as well as numerous GUI variants, it is implemented using a library libapt-pkg. This small package provides R with access to this library via Rcpp.

Examples

We can query packages by regular expression:

{.r} R> library(RcppAPT) R> getPackages("^r-base-.")

which returns a data frame with name, version (if installed) and section.

We can also check for installability of a given package or set of packages:

{.r} R> hasPackages(c("r-cran-rcpp", "r-cran-rcppapt")) r-cran-rcpp r-cran-rcppapt TRUE FALSE R>

which shows that Rcpp is (of course) available, but this (very new) package is (unsurprisingly) not available pre-built.

Moreover, we can look at the package information of a given package. The buildDepends() function extracts just the build dependencies:

{.r} R> buildDepends("r-cran-rcppeigen") [1] "debhelper" "r-base-dev" "cdbs" [4] "r-cran-rcpp" "r-cran-matrix" "r-cran-pkgkitten" R>

The showSrc() and dumpPackages() functions display even more information.

We can also look at reverse dependencies:

{.r} R> reverseDepends("r-cran-rcpp$") package version 1 r-cran-surveillance 2 r-cran-rquantlib 0.11.0 3 r-cran-reshape2 4 r-cran-readxl 5 r-cran-rcppeigen 0.11.0-1 6 r-cran-rcpparmadillo 0.11.0 7 r-cran-plyr 8 r-cran-minqa 0.11.0 R>

Status

The package is still fairly small, and functionality is (currently) limited to the examples shown above. It builds reliably on the supported systems.

But libapt-pkg is pretty mature, and feature-rich, so this package acts mostly as a wrapper from R.

Installation

The package is on CRAN so a very standard

{.r} install.packages("RcppAPT")

will do. Make sure you install the libapt-pkg-dev package first as it is a build-dependency.

Versions of the package may also be available via drat via:

{.r} drat:::add("eddelbuettel") install.packages("RcppAPT")

Author

Dirk Eddelbuettel

License

GPL (>= 2)

Owner

  • Name: Dirk Eddelbuettel
  • Login: eddelbuettel
  • Kind: user
  • Location: Chicago, IL, USA

GitHub Events

Total
  • Issues event: 1
  • Issue comment event: 1
  • Push event: 5
Last Year
  • Issues event: 1
  • Issue comment event: 1
  • Push event: 5

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 108
  • Total Committers: 1
  • Avg Commits per committer: 108.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 1
  • Committers: 1
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Dirk Eddelbuettel e****d@d****g 108
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 2
  • Total pull requests: 6
  • Average time to close issues: over 3 years
  • Average time to close pull requests: 15 minutes
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 0.5
  • Average comments per pull request: 0.17
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • eddelbuettel (2)
Pull Request Authors
  • eddelbuettel (6)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 326 last-month
  • Total docker downloads: 21,777
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 10
  • Total maintainers: 1
cran.r-project.org: RcppAPT

'Rcpp' Interface to the APT Package Manager

  • Versions: 10
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 326 Last month
  • Docker Downloads: 21,777
Rankings
Stargazers count: 17.9%
Forks count: 28.8%
Dependent packages count: 29.8%
Average: 30.6%
Dependent repos count: 35.5%
Downloads: 41.2%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • Rcpp >= 0.11.0 imports
  • simplermarkdown * suggests
.github/workflows/ci.yaml actions
  • actions/checkout v3 composite