rbraries
rbraries is a client for interacting with the Libraries.io API https://libraries.io/api
Package API:
lio_project_contribslio_subscriptionslio_platformslio_project_dependentslio_project_sourceranklio_repo_projectslio_user_repositorieslio_user_repo_contributionslio_user_pkg_contributionslio_user_dependencieslio_repo_dependencieslio_project_dependent_reposlio_user_pkgslio_subscribedlio_repolio_project_dependencieslio_subscription_deletelio_subscription_updatelio_project_searchlio_subscribelio_projectlio_user
As you can see all functions are prefixed with lio_ to avoid namespace conflicts with other R packages.
Authentication
You need an API key to use this package. Get one by logging in to https://libraries.io (they have GitHub login and others), then go to your Settings page, then scroll down to API key section and grab your key.
You can pass the key into function calls, but that's not recommended.
Store your key by putting a LIBRARIES_IO_KEY entry in your .Renviron file or similar file like
e.g. .zshrc or .bash_profile, etc. We'll grab that key so that you
don't have to pass it into each function call.
Installation
CRAN version
install.packages("rbraries")Development version
remotes::install_github("ropensci/rbraries")library('rbraries')platforms
lio_platforms()$name
#> [1] "Go" "NPM" "Packagist" "Pypi" "NuGet"
#> [6] "Maven" "Rubygems" "Bower" "CocoaPods" "Wordpress"
#> [11] "Cargo" "CPAN" "Clojars" "CRAN" "Hackage"
#> [16] "Meteor" "Atom" "Pub" "Hex" "PlatformIO"
#> [21] "Puppet" "Emacs" "Homebrew" "SwiftPM" "Carthage"
#> [26] "Julia" "Sublime" "Conda" "Dub" "Racket"
#> [31] "Elm" "Haxelib" "Nimble" "Alcatraz" "PureScript"projects
lio_project_dependents('npm', 'grunt', per_page = 3)repositories
lio_repo_projects('gruntjs', 'grunt', per_page = 2)subscriptions
lio_subscribe("rubygems", "webmock")user methods
lio_user('github')Meta
- Please report any issues or bugs.
- License: MIT
- Get citation information for
rbrariesin R doingcitation(package = 'rbraries') - Please note that this project is released with a Contributor Code of Conduct.
By participating in this project you agree to abide by its terms.