get_file_in_archive: Get file in archive

Description Usage Arguments Details Value

View source: R/file.R

Description

Get a file in a compressed archive.

Usage

1
get_file_in_archive(package_file, archive, extract_dir)

Arguments

package_file

[character] The file inside the archive.

archive

[character] The path of the archive.

extract_dir

[character] The folder to extract package_file to. If missing it will be in the R session's temporary folder.

Details

The extracted package_file is not deleted automatically. Cleaning up is left to the caller.

Value

The path to the extracted package_file.


robertdj/pkg.peek documentation built on Aug. 30, 2021, 5:42 p.m.