[R-SIG-Mac] R CMD build "cannot open compressed file" with R 3.6.2

Spencer Graves @pencer@gr@ve@ @end|ng |rom prod@y@e@com
Wed Dec 25 17:37:36 CET 2019

Hello, All:

       I just upgraded to R 3.6.2 and suddenly got, "cannot open 
compressed file" with "R CMD build" of a package that I built yesterday 
with R 3.6.1, and I don't recall having gotten an error message with 3.6.1.

       What do you suggest I do to get around this?
       Spencer Graves

$ R CMD build Ecfun
* checking for file ‘Ecfun/DESCRIPTION’ ... OK
* preparing ‘Ecfun’:
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... OK
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* building ‘Ecfun_0.2-2.tar.gz’
Warning in gzfile(tarfile, "wb", compression = compression_level) :
   cannot open compressed file 
'/Users/sbgraves/Documents/current/R/Ecfun_0.2-2.tar.gz', probable 
reason 'Permission denied'
Error in gzfile(tarfile, "wb", compression = compression_level) :
   cannot open the connection
Execution halted

$ r
R version 3.6.2 (2019-12-12)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Catalina 10.15.2

Matrix products: default

[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods base

loaded via a namespace (and not attached):
[1] compiler_3.6.2

More information about the R-SIG-Mac mailing list