On 20 February 2018 at 20:56, Carmen M. Livi wrote: | I am using file-locking functions in C that can be found in the | <stdio.h> in Unix | | extern void flockfile (FILE *__stream) __THROW; | extern int ftrylockfile (FILE *__stream) __THROW __wur; | extern void funlockfile (FILE *__stream) __THROW; | | When submitting to CRAN I have troubles with the win-builder.
lockfile operations are rather OS-dependent. You can't just assume they exist under Windows. There are reasons many of us hate the non-POSIX compliance of Windows with a reason---this is one of them. But you may be in luck as Gabor recently released a package with a _portable_ lockfile implementation, maybe give it a try: https://cran.r-project.org/package=filelock Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel