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

Missing Dependency "Hmisc" #2

Closed
2iut128374gb21563 opened this issue Aug 11, 2020 · 2 comments
Closed

Missing Dependency "Hmisc" #2

2iut128374gb21563 opened this issue Aug 11, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@2iut128374gb21563
Copy link

When attempting to install BiocompR package (using R 4.0.2) following instructions in the Readme
i get the following error.

devtools::install()
Skipping 1 packages not available: IRanges
✓ checking for file ‘/home/david/Downloads/BiocompR-master/DESCRIPTION’ ...
─ preparing ‘BiocompR’:
✓ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘BiocompR_0.0.68.tar.gz’
Running /usr/lib/R/bin/R CMD INSTALL /tmp/Rtmpk6eJ9o/BiocompR_0.0.68.tar.gz --install-tests
installing to library ‘/home/david/R/x86_64-pc-linux-gnu-library/4.0’
installing source package ‘BiocompR’ ...
using staged installation
R
byte-compile and prepare package for lazy loading
Error in FUN(X[[i]], ...) : there is no package called ‘Hmisc’
Error: unable to load R code in package ‘BiocompR’
Execution halted
ERROR: lazy loading failed for package ‘BiocompR’
removing ‘/home/david/R/x86_64-pc-linux-gnu-library/4.0/BiocompR’
Error in (function (command = NULL, args = character(), error_on_status = TRUE, :
System command 'R' failed, exit status: 1, stdout & stderr were printed
Type .Last.error.trace to see where the error occured
.Last.error.trace
Stack trace:
devtools::install()
pkgbuild::with_build_tools(required = FALSE, callr::rcmd("INSTALL", ...
callr::rcmd("INSTALL", c(install_path, opts), echo = !quiet, ...
callr:::run_r(options)
base:::with(options, with_envvar(env, do.call(processx::run, ...
base:::with.default(options, with_envvar(env, do.call(processx::run, ...
base:::eval(substitute(expr), data, enclos = parent.frame())
base:::eval(substitute(expr), data, enclos = parent.frame())
callr:::with_envvar(env, do.call(processx::run, c(list(bin, args = real_cmdargs, ...
base:::force(code)
base:::do.call(processx::run, c(list(bin, args = real_cmdargs, ...
(function (command = NULL, args = character(), error_on_status = TRUE, ...
throw(new_process_error(res, call = sys.call(), echo = echo, ...
x System command 'R' failed, exit status: 1, stdout & stderr were printed

Installing package "Hmisc" using install.packages("Hmisc") solved the problem.

@YoannPa YoannPa self-assigned this Aug 12, 2020
@YoannPa YoannPa added the bug Something isn't working label Aug 12, 2020
@YoannPa
Copy link
Owner

YoannPa commented Aug 12, 2020

Hi,
The bug has been fixed in the latest update. Now Hmisc package is listed as part of packages to install in the Prerequisites section of the README.
Thank you for your report.

@YoannPa YoannPa closed this as completed Aug 12, 2020
@YoannPa
Copy link
Owner

YoannPa commented Aug 17, 2020

Hmisc is not anymore a dependency of BiocompR.

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

2 participants