lock2desc: convert a lockfile to a description file

View source: R/lock2desc.R

lock2descR Documentation

convert a lockfile to a description file

Description

By default, this will take in a lockfile or a desc object and convert it to an equivalent DESCRIPTION file for use with packages that check for system dependencies.

Usage

lock2desc(lockfile, desc = tempfile())

Arguments

lockfile

the path to the renv lockfile OR a desc::description() object.

desc

the path to the new description file

Value

the path to the new description file

Examples

lock <- system.file("renv.lock", package = "vise")
lock2desc(lock)

zkamvar/vise documentation built on Oct. 27, 2023, 9:18 a.m.