insertPackage should work with absolute filenames? · Issue #7 · eddelbuettel/drat (original) (raw)
The following code:
drat::insertPackage('/home/spav/trunk/code/r/staging/foo.plot_0.1.tar.gz',
repodir='/mnt/NAS/installers/r/drat/')
fails with an error like:
In file.copy(file.path(curwd, file), srcdir, overwrite = TRUE) :
problem copying /home/spav/myworking/directory/basically/pwd//home/spav/trunk/code/r/staging/foo.plot_0.1.tar.gz to /mnt/NAS/installers/r/drat//src/contrib/foo.plot_0.1.tar.gz: No such file or directory
I am using drat 0.2.0 with git2r, from the directory /home/spav/myworking/directory/basically/pwd