powered by
This function extracts and returns the dependencies from the DESCRIPTION file of an R package, focusing on the `Imports` field.
parse_dcf_dependencies_version(path)
A data frame with columns: - `package`: The name of the imported package. - `type`: The type of dependency (e.g., "Imports").
A character string specifying the path to the package directory containing the DESCRIPTION file.
if (FALSE) { parse_dcf_dependencies_version("/path/to/package") }
Run the code above in your browser using DataLab