get_dependency_versions: Get all version for the current dependency

View source: R/deps.R

get_dependency_versionsR Documentation

Get all version for the current dependency

Description

Query from https://data.jsdelivr.com/v1/package/npm/ under the hood.

Usage

get_dependency_versions(dep, latest = FALSE)

Arguments

dep

Library name.

latest

Whether to get the last version. Default to FALSE.

Value

A vector containing all versions

Examples

## Not run: 
 get_dependency_versions("framework7")
 get_dependency_versions("bootstrap")
 get_dependency_versions("react", latest = TRUE)

## End(Not run)

RinteRface/charpente documentation built on July 21, 2024, 9:28 a.m.