lolow / gdxtools

manipulate GDX files in R
Eclipse Public License 1.0
16 stars 4 forks source link

gtar not found #11

Closed jackjackk closed 5 years ago

jackjackk commented 5 years ago

I get the following:

Downloading GitHub repo lolow/gdxtools@master
sh: /bin/gtar: No such file or directory
sh: /bin/gtar: No such file or directory
Error in length(file_list) > 0 : error in running command
Calls: require_gdxtools ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
In addition: Warning messages:
1: In system(paste(TAR, "--version >", tf, "2>&1")) :
  error in running command
2: In system(cmd) : error in running command
3: In utils::untar(tarfile, ...) :
  ‘/bin/gzip -dc '/tmp/RtmpyoOcol/file64fb457a2da2.tar.gz' | /bin/gtar -xf '-' -C '/tmp/RtmpyoOcol/remotes64fb790bd3a3'’ returned error code 127
4: In system(paste(TAR, "--version >", tf, "2>&1")) :
  error in running command
Execution halted

it looks like I don't have gtar, how can I install it (e.g. on archlinux I cannot find it)?

jackjackk commented 5 years ago

never mind, it looks like an anaconda issue which is setting for some reason the TAR environment variable to gtar (e.g. see https://github.com/r-lib/remotes/issues/249#issuecomment-440641366)