[R-pkg-devel] WARNING from R-devel not from 3.4.0 "cannot open file ... the process cannot access the file because it is being used by another process"

Bailey, Paul pbailey at air.org
Mon Apr 24 17:58:31 CEST 2017


I'm trying to submit a package and I get an odd error when I run R CMD check --as-cran on R-devel and I only bring this up because I don't get with 3.4.0.

* checking package subdirectories ... WARNING
Warning messages:
1: In file.info(x, extra_cols = FALSE) :
  cannot open file 'c:/MyPackage.Rcheck/00_pkg_src/MyPackage/R/..': The process cannot access the file because it is being used by another
process
2: In file.info(x, extra_cols = FALSE) :
  cannot open file 'c:/MyPackage.Rcheck/00_pkg_src/MyPackage/man/..': The process cannot access the file because it is being used by another process
Please remove or rename the files.
See section 'Package subdirectories' in the 'Writing R Extensions'
manual.

I'm only running one R instance at a time

If it helps:

> version
               _
platform       x86_64-w64-mingw32
arch           x86_64
os             mingw32
system         x86_64, mingw32
status         Under development (unstable)
major          3
minor          5.0
year           2017
month          04
day            23
svn rev        72605
language       R
version.string R Under development (unstable) (2017-04-23 r72605)
nickname       Unsuffered Consequences

I have run both several times and both persist in seeing (R-devel) or not seeing (R-3.4.0) the error.

I have also tried deleting the .Rcheck folder and starting fresh, same results.


	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list