pachadotdev / analogsea

Digital Ocean R client
https://pacha.dev/analogsea/
Apache License 2.0
155 stars 24 forks source link

Unable to complete R install after creating DO droplet #187

Closed cbrumovv closed 4 years ago

cbrumovv commented 4 years ago
Session Info ```r R version 3.5.0 (2018-04-23) Platform: x86_64-apple-darwin15.6.0 (64-bit) Running under: macOS High Sierra 10.13.6 Matrix products: default BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib LAPACK: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib locale: [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 other attached packages: [1] ssh_0.6 plumber_0.4.7.9000 analogsea_0.7.2 loaded via a namespace (and not attached): [1] Rcpp_1.0.3 compiler_3.5.0 later_1.0.0 remotes_2.1.0 prettyunits_1.0.2 sys_3.3 tools_3.5.0 [8] testthat_2.1.1 digest_0.6.23 packrat_0.4.9-3 pkgbuild_1.0.3 pkgload_1.0.2 jsonlite_1.6 memoise_1.1.0 [15] lattice_0.20-35 rlang_0.4.2 Matrix_1.2-14 cli_1.1.0 rstudioapi_0.10 curl_4.3 yaml_2.2.0 [22] withr_2.1.2 httr_1.4.1 fs_1.3.1 desc_1.2.0 askpass_1.1 devtools_2.1.0 rprojroot_1.3-2 [29] grid_3.5.0 glue_1.3.1 R6_2.4.1 processx_3.4.1 sessioninfo_1.1.1 callr_3.3.1 magrittr_1.5 [36] usethis_1.5.1 backports_1.1.4 credentials_1.1 promises_1.1.0.9000 ps_1.3.0 assertthat_0.2.1 httpuv_1.5.2.9000 [43] stringi_1.4.3 openssl_1.4.1 crayon_1.3.4 ```

Error in normalizePath(to, mustWork = TRUE) : path[1]="/var/folders/01/tylkqmg534nbtn3wmv1hmkz00000gp/T//RtmpC5wU9j/file37957c3de83f": No such file or directory

traceback() 7: normalizePath(to, mustWork = TRUE) 6: ssh::scp_download(session = session, files = remote, to = local, verbose = TRUE) 5: cat(ssh::scp_download(session = session, files = remote, to = local, verbose = TRUE), sep = "\n") 4: do_scp(droplet, local, remote, user, scp = "download", keyfile, ssh_passwd, verbose = verbose) 3: analogsea::droplet_download(droplet, paste0("/tmp/", randName), tf) 2: droplet_capture(droplet, "swapon | grep \"/swapfile\" | wc -l") 1: plumber::do_provision()

sckott commented 4 years ago

thanks for the report. will have a look

sckott commented 4 years ago

we've seen this issue before https://github.com/rstudio/plumber/issues/361#issuecomment-492746848 we thought it was sorted out, but perhaps not

cc @schloerke