I am at a loss as to where to ask these type of question so if this is not the right forum I would appreciate pointers to the right place to ask.
I am trying to
devtools::build() my package disk.frame to prepare it for CRAN submission. But the build fails at building the vignette (see error below). But I can build vignette fine on its own. How do I go about diagnosing this?
You can install my package using
The only thing I can think of that makes my vignette atypical is that t writes to disk. My package is all about storing data on the hard drive so the vignette does a fair bit of that. So I was going to comment out the code that does the writing to disk and see if issues persist.
√ checking for file 'C:\Users\UserName\git\git\disk.frame/DESCRIPTION' ...
- preparing 'disk.frame': (7m 7.5s)
√ checking DESCRIPTION meta-information ...
- cleaning src
- installing the package to build vignettes
- creating vignettes ...Warning in file(con, "r") : (1m 6.8s)
cannot open file 'C:\Users\RTX2080\AppData\Local\Temp\Rtmpe6sJwU\xshell25e03c4478c9': Permission denied
Error in file(con, "r") : cannot open the connection
Error in processx::run(bin, args = real_cmdargs, stdout_line_callback = real_callback(stdout), :
System command error