Skip to content

Instantly share code, notes, and snippets.

@boshek
Last active January 10, 2019 23:09
Show Gist options
  • Save boshek/52bad3460bc39543378baf5d3fdccf50 to your computer and use it in GitHub Desktop.
Save boshek/52bad3460bc39543378baf5d3fdccf50 to your computer and use it in GitHub Desktop.
Diagnosing bcmaps.rdata problem
> devtools::install_github("bcgov/bcmaps.rdata")
Downloading GitHub repo bcgov/bcmaps.rdata@master
   checking for file 'C:\Users\salbers\AppData\Local\Temp\RtmpMV207E\remotes2d70214a431b\bcgov-bcmaps.rdata-6f2f9cd/DESCRIPTION' ...
   checking for file 'C:\Users\salbers\AppData\Local\Temp\RtmpMV207E\remotes2d70214a431b\bcgov-bcmaps.rdata-6f2f9cd/DESCRIPTION' ...  
√  checking for file 'C:\Users\salbers\AppData\Local\Temp\RtmpMV207E\remotes2d70214a431b\bcgov-bcmaps.rdata-6f2f9cd/DESCRIPTION' (390ms)
-  preparing 'bcmaps.rdata': (11.9s) 
   checking DESCRIPTION meta-information ... 
   checking DESCRIPTION meta-information ...  
√  checking DESCRIPTION meta-information
-  checking for LF line-endings in source and make files and shell scripts (686ms)  
-  checking for empty or unneeded directories
-  looking to see if a 'data/datalist' file should be added

  
Warning in gzfile(file, "rb") :
  
   Warning in gzfile(file, "rb") :
     cannot open compressed file 'bcmaps.rdata', probable reason 'Permission denied'
   Error in gzfile(file, "rb") : cannot open the connection
   Execution halted

Error in processx::run(bin, args = real_cmdargs, stdout_line_callback = real_callback(stdout),  : 
  System command error

Doesn't work

On Windows with newest

  • devtools::install_github("bcgov/bcmaps.rdata") X
  • R CMD

On Windows with devtools 1.13.6

Installing devtools 1.13.6

packageurl <- "https://cran.r-project.org/src/contrib/Archive/devtools/devtools_1.13.6.tar.gz"
install.packages(packageurl, repos=NULL, type="source")
  • Then:devtools::install_github("bcgov/bcmaps.rdata")
  • As does: devtools::install()
  • However this fails: devtools::build() if you are in the bcmaps.rdata directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment