Failed to Install AnomalyDetection
I am on windows 8. in R 3.1.1 x64 I get the following error:
Warning in library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE) : no library trees found in 'lib.loc' Error: loading failed Execution halted *** arch - x64 Warning in library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE) : no library trees found in 'lib.loc' Error: loading failed Execution halted ERROR: loading failed for 'i386', 'x64'
I tried installing R in cygwin bash and got the following error:
Downloading github repo twitter/AnomalyDetection@master Installing AnomalyDetection Error in parse_deps(paste(deps, collapse = ",")) : Invalid comparison operator in dependency:
(the dependency is left blank)
Odd, installing on OSX returns
> devtools::install_github("twitter/AnomalyDetection")
Downloading github repo twitter/AnomalyDetection@master
Installing AnomalyDetection
'/usr/local/Cellar/r/3.1.1/R.framework/Resources/bin/R' --vanilla CMD INSTALL \
'/private/var/folders/vt/lcrl4r_n36g6fymhk_jp4d2w0000gn/T/Rtmp3AI4b3/devtools157442bace3a/twitter-AnomalyDetection-b9a53f8' \
--library='/usr/local/Cellar/r/3.1.1/R.framework/Versions/3.1/Resources/library' \
--install-tests
I'll do some digging to see why it might be failing for Windows 8
Is there any chance of you guys making a .tar.gz file for me to install locally?
Hi Michal Monselise, what address should I email the .tar.gz to? Alternatively, you can download the repo and create an R Studio project to build the install.
Any chance we could get a tarball published somewhere? Like maybe attached to the github project (even if a non-released snapshot version)?
Can we also ask for the .tar.gz please? I am trying to install it but receiving error likely due to private network.
devtools::install_github("twitter/AnomalyDetection") Downloading github repo twitter/AnomalyDetection@master Error in function (type, msg, asError = TRUE) : Could not resolve host: api.github.com
For x089797, I've had the same issue with my company firewall.
There is a work-around: download the zip file, then "build" the package with devtools::build(binary=TRUE) with working directory inside the package main file.
The build should produce a .zip, then install locally (install.packages("file.zip", repos=NULL, source = local)).
That should install ir
Eflores89, Thanks for the response. Where can I get the zip file?
x089797: go to the main page of the github repository and there is a link in the bottom right corner "download as zip"
Eflores89: I downloaded the zip file, expanded it and placed it under Z:\R-language\AnomalyDetection-master, where I have all those essential files for R packaging - DESCRIPTION, README.md, man and R subdirectories...etc. Under this working directory, I ran devtools as instructed and it gave me error as below:
devtools::build(binary=TRUE) "c:/PROGRA~1/R/R-30~1.3/bin/x64/R" --vanilla CMD INSTALL
"Z:\R-language\AnomalyDetection-master" --build
- installing to library 'C:/Users/chenmin/AppData/Local/Temp/RtmpmmyLzN/fileadc608f7961'
- installing source package 'AnomalyDetection' ... ** R ** data *** moving datasets to lazyload DB ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded Error in namespaceExport(ns, exports) : undefined exports: AnomalyDetectionVec Error: loading failed Execution halted ERROR: loading failed
- removing 'C:/Users/chenmin/AppData/Local/Temp/RtmpmmyLzN/fileadc608f7961/AnomalyDetection'
Error: Command failed (1)
I too downloaded the zip file and faced issues. I resolved them using the following steps
- Unzipped the zip file to a directory
- opened the "description" file and removed all lines except package and version" and saved it
- Rezipped the file
- loaded the devtools package
- ran install() on the newly created zipped file. It worked!
This is on windows 7 - Hope this helps for some folks who don't have to spend 5 hours on this issue. Also will help for the kind folks who develop this package to fix issues. Thanks!
Anyway I can also get the tar.gz file? I would greatly appreciate it. email: [email protected]
Thanks!
Omar
Hi guys,
Can I have the tar.gz file for the last version of anomlydetection package. I found the tar file for Jan 06 2015 version, but it has bunch of bugs. My email is: [email protected]
Thanks,
Amir