mlverse / torchaudio

R interface to torchaudio
https://mlverse.github.io/torchaudio/
Other
26 stars 6 forks source link

Call path.expand on user-supplied directory before passing to untar #38

Closed skeydan closed 2 years ago

skeydan commented 2 years ago

Unfortunately, utils::untar() does not call path.expand() before passing an exdir to the OS tar executable, which can cause failure when using, e.g., path <- ~/somedir (for me, this causes a failure running the code from https://blogs.rstudio.com/ai/posts/2021-02-04-simple-audio-classification-with-torch/)

Athospd commented 2 years ago

thank you, @skeydan!