need_internal_tar: Check if we need to use R's internal tar implementation

Description Usage Value

Description

This is slow, because we need to start an R child process, and the implementation is also very slow. So it is better to use an extranl tar program, if we can. We test this by trying to uncompress a .tar.gz archive using the external program. The name of the tar program is taken from the TAR environment variable, if this is unset then tar is used.

Usage

1

Value

Whether we need to use the internal tar implementation.


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