Weird interaction trying to load tidygraph from Github on RStudio.cloud

github

#1

I'm getting an odd error message when I try to install tidygraph from github:

> install_github("thomasp85/tidygraph")
Downloading GitHub repo thomasp85/tidygraph@master
from URL https://api.github.com/repos/thomasp85/tidygraph/zipball/master
Installing tidygraph
Installation failed: cannot open the connection
Warning messages:
1: In normalizePath(path) :
  path[1]="/home/docker/plogr_0.2.0.tar.gz": No such file or directory
2: In read.dcf(path) :
  cannot open compressed file '/home/docker/plogr_0.2.0.tar.gz/DESCRIPTION', probable reason 'No such file or directory'
>

Any thoughts on what's up? This installs fine on my local Mac. It looks like a path issue of some kind.


#2

This worked for me in a new project. What is your sessionInfo()?

> sessionInfo()
R version 3.4.4 (2018-03-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.3 LTS

Matrix products: default
BLAS: /usr/lib/atlas-base/atlas/libblas.so.3.0
LAPACK: /usr/lib/atlas-base/atlas/liblapack.so.3.0

locale:
 [1] LC_CTYPE=C.UTF-8       LC_NUMERIC=C           LC_TIME=C.UTF-8        LC_COLLATE=C.UTF-8    
 [5] LC_MONETARY=C.UTF-8    LC_MESSAGES=C.UTF-8    LC_PAPER=C.UTF-8       LC_NAME=C             
 [9] LC_ADDRESS=C           LC_TELEPHONE=C         LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C   

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

other attached packages:
[1] devtools_1.13.5

loaded via a namespace (and not attached):
[1] httr_1.3.1     compiler_3.4.4 R6_2.2.2       tools_3.4.4    withr_2.1.2    curl_3.2       memoise_1.1.0 
[8] git2r_0.21.0   digest_0.6.15 

This is actually a text file of the log of installing tidygraph:

tidygraph.pdf (148.5 KB)


#3

Josh, session info is as follows:

> sessionInfo()
R version 3.4.4 (2018-03-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.3 LTS

Matrix products: default
BLAS: /usr/lib/atlas-base/atlas/libblas.so.3.0
LAPACK: /usr/lib/atlas-base/atlas/liblapack.so.3.0

locale:
 [1] LC_CTYPE=C.UTF-8       LC_NUMERIC=C           LC_TIME=C.UTF-8       
 [4] LC_COLLATE=C.UTF-8     LC_MONETARY=C.UTF-8    LC_MESSAGES=C.UTF-8   
 [7] LC_PAPER=C.UTF-8       LC_NAME=C              LC_ADDRESS=C          
[10] LC_TELEPHONE=C         LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C   

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

other attached packages:
 [1] MASS_7.3-49     devtools_1.13.5 bindrcpp_0.2.2  forcats_0.3.0  
 [5] stringr_1.3.0   dplyr_0.7.4     purrr_0.2.4     readr_1.1.1    
 [9] tidyr_0.8.0     tibble_1.4.2    ggplot2_2.2.1   tidyverse_1.2.1

loaded via a namespace (and not attached):
 [1] xfun_0.1         reshape2_1.4.3   haven_1.1.1      lattice_0.20-35 
 [5] colorspace_1.3-2 htmltools_0.3.6  yaml_2.1.18      rlang_0.2.0     
 [9] pillar_1.2.1     foreign_0.8-69   glue_1.2.0       withr_2.1.2     
[13] modelr_0.1.1     readxl_1.0.0     bindr_0.1.1      plyr_1.8.4      
[17] munsell_0.4.3    gtable_0.2.0     cellranger_1.1.0 rvest_0.3.2     
[21] psych_1.8.3.3    evaluate_0.10.1  memoise_1.1.0    knitr_1.20      
[25] parallel_3.4.4   broom_0.4.4      Rcpp_0.12.16     scales_0.5.0    
[29] backports_1.1.2  jsonlite_1.5     mnormt_1.5-5     hms_0.4.2       
[33] digest_0.6.15    stringi_1.1.7    bookdown_0.7     grid_3.4.4      
[37] rprojroot_1.3-2  cli_1.0.0        tools_3.4.4      magrittr_1.5    
[41] lazyeval_0.2.1   crayon_1.3.4     pkgconfig_2.0.1  xml2_1.2.0      
[45] lubridate_1.7.3  assertthat_0.2.0 rmarkdown_1.9    httr_1.3.1      
[49] rstudioapi_0.7   R6_2.2.2         nlme_3.1-131.1   compiler_3.4.4  
>