E.g. I am seeing:
dir - file.path(tempdir(), test-tar)
dir.create(dir)
setwd(dir)
dir.create(foo, showWarnings = FALSE)
file.create(foo/bar.R)
tar(test.tar, files = foo/bar.R)
dir.create(untarred)
untar(test.tar, exdir = untarred)
list.files(untarred,
Sounds like a bug to me, at least in documentation. I would say
that it ignores them by accident. I doubt that skipping files is
intended.
The problem appears to be that the 'files' argument to tar() becomes
the 'path' argument to list.files(), and the spec for 'path' is not
a whole lot more