Learn R Programming

rbraries (version 0.2.0)

subscriptions: Subscriptions

Description

Subscriptions

Usage

lio_subscriptions(key = NULL, ...)

lio_subscribed(platform, name, key = NULL, ...)

lio_subscribe(platform, name, include_prerelease = FALSE, key = NULL, ...)

lio_subscription_update( platform, name, include_prerelease = FALSE, key = NULL, ... )

lio_subscription_delete(platform, name, key = NULL, ...)

Arguments

key

your Libraries.io API key. See Auth section in rbraries manual file. optional

...

curl options passed on to HttpClient

platform

(character) a platform. required

name

(character) a project name. required

include_prerelease

(logical) include prerelease? default: FALSE

Examples

Run this code
# NOT RUN {
# authenticated user Libraries.io subscriptions
lio_subscriptions()

# check if you are subscribed to a project
lio_subscribed("rubygems", "webmock")

# subscribe to a project
lio_subscribe(platform = "rubygems", name = "webmock")

# update subscription to a project
lio_subscription_update("rubygems", "webmock")

# delete subscription to a project
lio_subscription_delete("rubygems", "webmock")
# }

Run the code above in your browser using DataLab