18 Sep
2020
18 Sep
'20
1:48 p.m.
On 18 Sep 2020, at 12:50, Arthur Rosendahl wrote:
I think I may have found the origin of the error:
In your case validformatpath is a subdirectory of $TMPDIR, under /var/folders/. However, if your Mac is anything like mine, /var is actually a symbolic link to /private/var, so that dir.current() reports a path starting with /private and the test fails.
Yes, this is the setup here as well.
You can work around that by setting TMPDIR to some other value, that doesn’t start with /var -- and not /tmp either because that’s also a symbolic link :-) It should work with a temporary directory in your home folder. Can you try that?
This works. Thanks a lot (also to everyone else involved)! Regards, Felix