Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can scFlow R package be installed in RStudio server? Does the requirement for libudunits2-dev block this? #13

Closed
NathanSkene opened this issue Dec 4, 2019 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@NathanSkene
Copy link
Collaborator

Presumably many people would try doing this the first time they try using it.

Mahdi reported: "A few packages need to be installed separately. Still struggling with “units”. It seems the only way is to first installing libudunits2-dev which needs a sudo access. Any clue? Or I will check with the RCS team."

If it cannot be done, the requirement should be clearly stated alongside installation instructions

@NathanSkene NathanSkene added the bug Something isn't working label Dec 4, 2019
@combiz
Copy link
Owner

combiz commented Dec 4, 2019

I'll compile dependency related installation notes from everyone and add them to the instructions for package installation for a smoother package installation experience. That said, I think it's reasonable to expect users to have admin access (or be able to request an admin) for installation of dependencies.

@NathanSkene
Copy link
Collaborator Author

NathanSkene commented Dec 4, 2019 via email

@MahdiMoradiMarjaneh
Copy link
Collaborator

MahdiMoradiMarjaneh commented Dec 4, 2019

Further to my original comment and to help @combiz with the installation notes, at least packages SingleCellExperiment, monocle, and monocle3 need to be installed separately. When installing monocle3, the following error appears:

configure: error: in `/tmp/RtmpjZbA29/R.INSTALL7afc2d99349d/units':
configure: error:
Configuration failed because libudunits2.so was not found. Try installing:
* deb: libudunits2-dev (Debian, Ubuntu, ...)
* rpm: udunits2-devel (Fedora, EPEL, ...)
* brew: udunits (OSX)
If udunits2 is already installed in a non-standard location, use:
--configure-args='--with-udunits2-lib=/usr/local/lib'
if the library was not found, and/or:
--configure-args='--with-udunits2-include=/usr/include/udunits2'
if the header was not found, replacing paths with appropriate values.
You can alternatively set UDUNITS2_INCLUDE and UDUNITS2_LIBS manually.

See `config.log' for more details
ERROR: configuration failed for package ‘units’
*removing ‘/rdsgpfs/general/user/mmoradim/home/R/x86_64-redhat-linux-gnu-library/3.6/units’
Error: Failed to install 'monocle3' from GitHub:
(converted from warning) installation of package ‘units’ had non-zero exit status

@NathanSkene
Copy link
Collaborator Author

@MahdiMoradiMarjaneh can you get the documentation written up so that it explains how to install the R package from scratch? Easiest to do it first on a computer you've got full admin rights for.

@MahdiMoradiMarjaneh
Copy link
Collaborator

@MahdiMoradiMarjaneh can you get the documentation written up so that it explains how to install the R package from scratch? Easiest to do it first on a computer you've got full admin rights for.

Yep, I'm on it.

@combiz combiz closed this as completed Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants