Hi,
I am new to R.
I tried to install the following package devtools::install_github('hfgolino/EGA'), it was not successful. I got the following error message (see below). I look forward to your advice.
> devtools::install_github('hfgolino/EGA')
Downloading GitHub repo hfgolino/EGA@master
These packages have more recent versions available.
Which would you like to update?
1: NetworkTo... (1.2.1 -> 1.2.2) [CRAN]
2: tidyr (0.8.1 -> 0.8.2) [CRAN]
3: CRAN packages only
4: All
5: None
Enter one or more numbers separated by spaces, or an empty line to cancel
1:
WARNING: Rtools is required to build R packages, but is not currently installed.
Please download and install Rtools 3.5 from http://cran.r-project.org/bin/windows/Rtools/.
β checking for file 'C:\Users\amuthavallithiya\AppData\Local\Temp\RtmpUT24QF\remotes6c4cea24d6\hfgolino-EGA-4497835/DESCRIPTION' ...
- preparing 'EGA': (616ms)
β checking DESCRIPTION meta-information ...
- checking for LF line-endings in source and make files and shell scripts
- checking for empty or unneeded directories
- looking to see if a 'data/datalist' file should be added
- building 'EGA_0.4.tar.gz'
Installing package into βC:/Users/amuthavallithiya/OneDrive - World Health Organization/Documents/R/win-library/3.5β
(as βlibβ is unspecified)
* installing *source* package 'EGA' ...
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
Note: possible error in 'layout(network, title = title, ': unused arguments (title = title, shapes = edge_shapes, xaxis = axis, yaxis = axis, legend = list(x = 100, y = 0.5))
** help
*** installing help indices
converting help for package 'EGA'
finding HTML links ... done
Warning in FUN(X[[i]], ...) : internal error -3 in R_decompress1
** building package indices
** testing if installed package can be loaded
*** arch - i386
Error: package or namespace load failed for 'EGA' in namespaceExport(ns, exports):
undefined exports: getClarkeZones, getParkesZones, plotClarkeGrid, plotParkesGrid
Error: loading failed
Execution halted
*** arch - x64
Error: package or namespace load failed for 'EGA' in namespaceExport(ns, exports):
undefined exports: getClarkeZones, getParkesZones, plotClarkeGrid, plotParkesGrid
Error: loading failed
Execution halted
ERROR: loading failed for 'i386', 'x64'
* removing 'C:/Users/amuthavallithiya/OneDrive - World Health Organization/Documents/R/win-library/3.5/EGA'
* restoring previous 'C:/Users/amuthavallithiya/OneDrive - World Health Organization/Documents/R/win-library/3.5/EGA'
In R CMD INSTALL
Error in i.p(...) :
(converted from warning) installation of package βC:/Users/AMUTHA~1/AppData/Local/Temp/RtmpUT24QF/file6ca320b7/EGA_0.4.tar.gzβ had non-zero exit status
In addition: Warning messages:
1: In untar2(tarfile, files, list, exdir) :
skipping pax global extended headers
2: In untar2(tarfile, files, list, exdir) :
skipping pax global extended headers