make_untar_process: Create a tar background process

Description Usage Arguments Details Value

View source: R/tar.R

Description

Use an external tar program, if there is a working one, otherwise use the internal implementation.

Usage

1
2
make_untar_process(tarfile, files = NULL, exdir = ".",
  restore_times = TRUE, post_process = NULL)

Arguments

tarfile

Tar file.

files

Files or regular expressions to set what to extract. if NULL then everything is extracted.

exdir

Where to extract the archive. It must exist.

restore_times

Whether to restore file modification times.

post_process

Function to call after the extraction.

Details

When using the internal implementation, we need to start another R process.

Value

The callr::process object.


r-lib/pkginstall documentation built on April 9, 2020, 6:11 a.m.