In *nix systems, permission to delete is at the directory level, not the
file level, so you might try changing the mode of the parent directory,
rather than the file itself, as in:
> dir.create('test')
> > file.create(file.path("test",'file1'))
> [1] TRUE
> > Sys.chmod("test", mode="")
> > fil
2017-12-12 15:47 GMT+01:00 Barry Rowlingson :
> I think unix makes it impossible for you to create something that even you
> can't delete. You may need higher powers ("root") to change the ownership
> of the thing you've created.
In a Unix system with administrator rights, you can set the immutabl
On 12 December 2017 at 13:40, Meabh McCurdy wrote:
| I am currently in the process of submitting a new R package to CRAN. This
package uses the Rcpp package, as stated in the 'LinkingTo' section of the
Description file.
So far no problem.
| I am currently missing two copyright holders relating
On Tue, Dec 12, 2017 at 12:24 PM, Thierry Onkelinx wrote:
> Dear all,
>
> Some function I wrote deletes a bunch of files. It is crucial that all
> files get deleted. Hence it should return an error when one or more
> files couldn't be deleted.
>
> I'm writing a unit test for this function. I fail
Dear All,
I am currently in the process of submitting a new R package to CRAN. This
package uses the Rcpp package, as stated in the 'LinkingTo' section of the
Description file.
I am currently missing two copyright holders relating to the Rcpp package:
- Copyright (C) 2010 - 2012 Dirk Eddelbuette
2017-12-12 13:24 GMT+01:00 Thierry Onkelinx :
> Dear all,
>
> Some function I wrote deletes a bunch of files. It is crucial that all
> files get deleted. Hence it should return an error when one or more
> files couldn't be deleted.
>
> I'm writing a unit test for this function. I fail to create a f
Dear all,
Some function I wrote deletes a bunch of files. It is crucial that all
files get deleted. Hence it should return an error when one or more
files couldn't be deleted.
I'm writing a unit test for this function. I fail to create a file
that can't be deleted by the function. I've tried Sys.