trying to download package

Hello, Trying to download package from GitHub on Windows 10, however got this error. Where can be the problem?

Error: Failed to install 'eikonapir' from GitHub:
** (converted from warning) installation of package ‘C:/Users/xxx/AppData/Local/Temp/xxx/eikonapir_0.1.0.tar.gz’ **

I used codes


Using code


R version 3.6.3 (2020-02-29)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)

Matrix products: default

[1] LC_COLLATE=Estonian_Estonia.1257 LC_CTYPE=Estonian_Estonia.1257 LC_MONETARY=Estonian_Estonia.1257
[4] LC_NUMERIC=C LC_TIME=Estonian_Estonia.1257

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

other attached packages:
[1] devtools_2.2.2 usethis_1.5.1 RJDBC_0.2-8 rJava_0.9-12 DBI_1.1.0

loaded via a namespace (and not attached):
[1] Rcpp_1.0.4 rstudioapi_0.11 magrittr_1.5 pkgload_1.0.2 R6_2.4.1 rlang_0.4.5
[7] fansi_0.4.1 tools_3.6.3 pkgbuild_1.0.6 sessioninfo_1.1.1 cli_2.0.2 withr_2.1.2
[13] remotes_2.1.1 ellipsis_0.3.0 assertthat_0.2.1 digest_0.6.25 rprojroot_1.3-2 crayon_1.3.4
[19] processx_3.4.2 callr_3.4.3 fs_1.3.2 ps_1.3.2 curl_4.3 testthat_2.3.2
[25] memoise_1.1.0 glue_1.3.2 compiler_3.6.3 desc_1.2.0 backports_1.1.5 prettyunits_1.1.1

Can you post the whole error message you are getting as formatted code? Here is how to do it

Yes, the following error is

checking for file XXX\Temp\XXXX\XXXX\ahmedmohamedali-eikonapir-4eabcd3/DESCRIPTION' (695ms)

-  preparing 'eikonapir':

√  checking DESCRIPTION meta-information ... 

-  checking for LF line-endings in source and make files and shell scripts

-  checking for empty or unneeded directories

-  building 'eikonapir_0.1.0.tar.gz'


Installing package into ‘\\XXX/Documents/R/win-library/3.6’

(as ‘lib’ is unspecified)

CMD.EXE was started with the above path as the current directory.

UNC paths are not supported.  Defaulting to Windows directory.

* installing *source* package 'eikonapir' ...

** using staged installation

** R

** byte-compile and prepare package for lazy loading

Error in findpack(package, lib.loc) : 

  there is no package called 'eikonapir'

Calls: <Anonymous> -> findpack

Execution halted

ERROR: lazy loading failed for package 'eikonapir'

* removing '\XXX/Documents/R/win-library/3.6/eikonapir'

Error: Failed to install 'eikonapir' from GitHub:

  (converted from warning) installation of package ‘C:/XXX/Local/Temp/XXX/XXX/eikonapir_0.1.0.tar.gz’ had non-zero exit status

It seems like your package library is located on a network drive, R has problems with this, try setting your package library on a local folder.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.