beauchamplab / rave

For all RAVE info, including installation instructions, visit
https://beauchamplab.github.io/rave
23 stars 5 forks source link

Can't Install #28

Closed pjkaras closed 3 years ago

pjkaras commented 5 years ago

Having trouble installing RAVE.

Tried both set of install instructions. Seems like can't build 'rutabaga'.

When I try the first set of install instructions:

devtools::install_github('beauchamplab/rave') Skipping install of 'rave' from a github remote, the SHA1 (56823ac1) has not changed since last install. Use force = TRUE to force installation devtools::install_github('beauchamplab/rave', force=TRUE) Downloading GitHub repo beauchamplab/rave@master from URL https://api.github.com/repos/beauchamplab/rave/zipball/master Installing rave Installation failed: no applicable method for 'remote_sha' applied to an object of class "NULL" devtools::install_github('beauchamplab/ravebuiltins') Downloading GitHub repo beauchamplab/ravebuiltins@master from URL https://api.github.com/repos/beauchamplab/ravebuiltins/zipball/master Installing ravebuiltins Installation failed: no applicable method for 'remote_sha' applied to an object of class "NULL" rave::start_rave() Downloading GitHub repo beauchamplab/ravebuiltins@master ✔ checking for file ‘/private/var/folders/35/ppcj8z7s46zdmc2k6hfyw1vm0000gn/T/Rtmpj3Ygcs/remotes2805f48816c/beauchamplab-ravebuiltins-1c9f63a/DESCRIPTION’ ... ─ preparing ‘ravebuiltins’: ✔ checking DESCRIPTION meta-information ─ checking for LF line-endings in source and make files ─ checking for empty or unneeded directories ─ building ‘ravebuiltins_0.1.0.tar.gz’

ERROR: dependency ‘rutabaga’ is not available for package ‘ravebuiltins’

Second set of install instructions:

install.packages('pak') trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/pak_0.1.2.tgz' Content type 'application/x-gzip' length 396810 bytes (387 KB)

downloaded 387 KB

The downloaded binary packages are in /var/folders/35/ppcj8z7s46zdmc2k6hfyw1vm0000gn/T//Rtmpj3Ygcs/downloaded_packages

pak::pkg_install('beauchamplab/rave') ℹ Checking for package metadata updates ✔ Downloaded metadata files, 1.9 MB in 3 files.
✔ Updating metadata database
✔ Using cached package metadata

130 deps for 1/1

pak::pkg_install('beauchamplab/ravebuiltins', upgrade = FALSE, ask = FALSE) ℹ Checking for package metadata updates ✔ All 10 metadata files are current.
✔ Using session cached package metadata ✔ Using cached package metadata
11 deps for 1/1
122 deps for 1/1 → Will install 2 packages: beauchamplab/ravebuiltins, github::dipterix/rutabaga

→ Will not update 85 packages.

→ Will download 2 packages with unknown size.

ℹ Building rutabaga 0.1.7
✖ Failed to build rutabaga 0.1.7 [221ms]
Error: Failed to build source package 'rutabaga'.

pjkaras commented 5 years ago

One problem was that I was using a really old version of R (3.4). I upgraded to 3.6 and the install went ok, except when I tried to start_rave() I got an error loading three_brain.

rave::start_rave()

Registered S3 methods overwritten by 'ggplot2': method from [.quosures rlang c.quosures rlang print.quosures rlang Loading required package: shiny

Listening on http://127.0.0.1:4405 Warning: Error in loadNamespace: there is no package called ‘threeBrain’ 69: Error in loadNamespace(name) : there is no package called ‘threeBrain’ Loading required package: shiny

After running devtools::install_github('dipterix/threebrain') everything seems ok. Maybe threebrain isn't being properly set as a dependency?

dipterix commented 5 years ago

Thanks for the issue. Once threebrain and rutabaga are pushed to cran, then there should be no such problem. But for now we need to manually install them via devtools.

devtools::install_github('dipterix/threebrain')
devtools::install_github('dipterix/rutabaga')

I'll update installation guide.

zhengliuer commented 4 years ago

When I was installing rave, at the part that we use _rave::checkdependencies(), an error occurred to me. It showed that npoltr has non-exit exit. I'm new in R, and I searched for this kind of problem online, getting no good answers. My operation system is ubuntu16.04.

dipterix commented 4 years ago

Hi @BarryLiu-97 , thanks for posting the issue. I personally have never encountered this issue. Would you like to add more details? (like the error messages printed via console?) These messages are important.

You might also want to run sessionInfo() and append the result to this issue.


Here's a similar issue that I found. It seems Ubuntu needs libnlopt-dev system package.

Could you run in your terminal (not R) to install the library before any further steps?

sudo apt-get install libnlopt-dev 

Thanks.

zhengliuer commented 4 years ago

Thank you for your solution. While there is something wrong bcause I cannot install any app with sudo. I am asking the PI on this.

Thanks Barry Liu

------------------ 原始邮件 ------------------ 发件人: "beauchamplab/rave" <notifications@github.com>; 发送时间: 2020年8月13日(星期四) 凌晨4:58 收件人: "beauchamplab/rave"<rave@noreply.github.com>; 抄送: "BullZ"<3273376560@qq.com>;"Mention"<mention@noreply.github.com>; 主题: Re: [beauchamplab/rave] Can't Install (#28)

Hi @BarryLiu-97 , thanks for posting the issue. I personally have never encountered this issue. Would you like to add more details? (like the error messages printed via console?) These messages are important.

You might also want to run sessionInfo() and append the result to this issue.

Here's a similar issue what I found. It seems Ubuntu needs libnlopt-dev system package.

Could you run in your terminal (not R) to install the library before any further steps? sudo apt-get install libnlopt-dev
Thanks.

Zhengjia

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.