Skip to contents

This function checks if the version of a package in the `renv` lockfile is less than the specified target version. If it is, the package version is updated in the lockfile.

Usage

check_package_v(package_deets, problem_libs, lockfile_path)

Arguments

package_deets

The details of the package from the `renv` lockfile.

problem_libs

The data frame containing the list of problem packages and their target versions.

lockfile_path

The path to the `renv` lockfile.

Value

Messages indicating whether the package was updated or already at the correct version.