r - devtools::build and devtools::check bottleneck - Cannot bundle package -


hopefully can me understand process causing bottleneck.

i'm building r package using packrat (i don't believe packrat issue, i've run problem since installing it).

when try build source package, far. have rtools installed , devtools::find_rtools returns true. have same problem when use devtools::check.

==> devtools::build()  "c:/progra~1/r/r-33~1.0/bin/x64/r" --no-site-file --no-environ --no-save  \   --no-restore --quiet cmd build "c:\my\working\directory"  \   --no-resave-data --no-manual   * checking file 'c:\my\working\directory/description' ... ok   

then stops anywhere 15-20 minutes before continuing with:

warning in file.copy(pkgname, tdir, recursive = true) :   problem copying .\my_pkg\.rproj.user\b8520658\sdb\s-10b6532e\lock_file   c:\users\me\appdata\local\temp\rtmp6jzytz\rbuild2edc10811bab\my_pkg error copying build directory failed 

my .rbuildignore file looks this:

^.*\.rproj$ ^\.rproj\.user$ ^readme\.rmd$ ^readme-.*\.png$ ^data-raw/.*$ ^notes$ ^plots$ ^\.rprofile$ ^packrat/ 

since i've specified .rproj.user in file, why getting error?

is devtools::build copying whole package directory? there few hundred mb of data in directory, explain of issue.

i've looked @ devtools source code , don't understand process causing issue.

here's session info:

r version 3.3.0 (2016-05-03) platform: x86_64-w64-mingw32/x64 (64-bit) running under: windows >= 8 x64 (build 9200) 

i appreciate have give!


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -