rstudio / packrat

Packrat is a dependency management system for R
http://rstudio.github.io/packrat/
401 stars 89 forks source link

Use internal tar in untar only when TAR is not set #678

Closed galachad closed 2 years ago

galachad commented 2 years ago

The TAR variables is set by R process if tar binary is available. I can imagine that in some system TAR will not be discover property but then standard internal will be used.

It's better to use system tar that internal R tar in case where tar files are not compatible with internal R tar (#648).

This pr is changing only untar param to default behavior where tar = Sys.getenv("TAR", "internal").

Reported long time ago in #648

toph-allen commented 2 years ago

This is resolved in #679