Learn R Programming

risk.assessr (version 3.0.1)

modify_description_file: Modify the DESCRIPTION File in a R Package Tarball

Description

This function recreate a `.tar.gz` R package file after modifying its `DESCRIPTION` file by appending Config/build/clean-inst-doc: false parameter.

Usage

modify_description_file(tar_file)

Value

A string containing the path to the newly created modified `.tar.gz` file.

Arguments

tar_file

A string representing the path to the `.tar.gz` file that contains the R package.

Examples

Run this code
if (FALSE) {
  modified_tar <- modify_description_file("path/to/mypackage.tar.gz")
}

Run the code above in your browser using DataLab