Export to GitHub

mifuns - issue #3

NONR does not remove empty directories on Windows.


Posted on Feb 19, 2009 by Happy Bear

NONR, with nice=FALSE, makes a call to runmsge which should remove prior versions of the run directories. runmsge defines purge.dir(), which calls file.remove on the run contents, and then on the directory. But the directory is not removed. Windows help for file.remove says...

Unlike on Unix-alikes, ‘file’ here means a regular file and not, say, an empty directory.

Probably file.remove for the directory should be replaced with unlink.

Comment #1

Posted on Feb 26, 2009 by Happy Bear

Fixed in 3.2.13. 'unlink' for directory removal in purge.dir() (all platforms).

Comment #2

Posted on May 28, 2009 by Happy Bear

(No comment was entered for this change.)

Status: Verified

Labels:
Type-Defect Priority-Medium