Skip to content
Prev 2243 / 12125 Next

[R-pkg-devel] File name error

Uwe/Kurt, is this controlled by R itself or by the host system?  I
suspect one of my R.filesets tests(*) fails (since a few days) because
of this, but it might actually be a false positive.  I fail to
reproduce it on Ubuntu 16.04 with:

* using R Under development (unstable) (2017-12-20 r73933)
* using platform: x86_64-pc-linux-gnu (64-bit)

My test tries to verify that it can write to tempdir() using its
*relative* path (if such is possible) - a test that effectively does:
[1] "/tmp/Rtmpa9riPQ"
[1] "../../tmp/Rtmpa9riPQ/file3251441e380d
and fails in that last write on 'r-devel-linux-x86_64-debian-gcc'.  It
could, of course, be a bug in my code that is now being revealed, but
these tests been in place for many years, possibly more than a decade.

(*) https://cran.r-project.org/web/checks/check_results_R.filesets.html

Thxs,

Henrik

On Thu, Dec 21, 2017 at 2:21 AM, Uwe Ligges
<ligges at statistik.tu-dortmund.de> wrote: