barakbri / dacomp

Non parametric differential abundance tests for microbiome data
9 stars 1 forks source link

Installation Error in i.p(...): (Linux) #1

Open PollyTikhonova opened 5 years ago

PollyTikhonova commented 5 years ago

When I'm trying to install the lib I've got thу following error without desciption of its origin.

Downloading GitHub repo barakbri/dacomp@master

Skipping 1 packages not available: phyloseq
   During startup - Warning messages:
   1: Setting LC_CTYPE failed, using "C" 
   2: Setting LC_TIME failed, using "C" 
   3: Setting LC_MESSAGES failed, using "C" 
   4: Setting LC_MONETARY failed, using "C" 
   5: Setting LC_PAPER failed, using "C" 
   6: Setting LC_MEASUREMENT failed, using "C" 
v  checking for file '/tmp/RtmpgAmLHA/remotes798920fc2aef/barakbri-dacomp-ce225d4/DESCRIPTION' ...
-  preparing 'dacomp':
v  checking DESCRIPTION meta-information ...
-  cleaning src
   Warning: /tmp/RtmpZXtpzN/Rbuild176e5a0d0da9/dacomp/man/dacomp.select_references.Rd:16: unknown macro '\core'
-  checking for LF line-endings in source and make files and shell scripts
-  checking for empty or unneeded directories
-  building 'dacomp_1.0.tar.gz'
   Warning: invalid uid value replaced by that for user 'nobody'
   Warning: invalid gid value replaced by that for user 'nobody'

Error in i.p(...): (converted from warning) installation of package '/tmp/RtmpgAmLHA/file79891f373e43/dacomp_1.0.tar.gz' had non-zero exit status
Traceback:

1. devtools::install_github("barakbri/dacomp")
2. install_remotes(remotes, auth_token = auth_token, host = host, 
 .     dependencies = dependencies, upgrade = upgrade, force = force, 
 .     quiet = quiet, build = build, build_opts = build_opts, repos = repos, 
 .     type = type, ...)
3. vapply(remotes, install_remote, ..., FUN.VALUE = character(1))
4. FUN(X[[i]], ...)
5. install(source, dependencies = dependencies, upgrade = upgrade, 
 .     force = force, quiet = quiet, build = build, build_opts = build_opts, 
 .     repos = repos, type = type, ...)
6. safe_install_packages(pkgdir, repos = NULL, quiet = quiet, type = "source", 
 .     ...)
7. with_envvar(c(R_LIBS = lib, R_LIBS_USER = lib, R_LIBS_SITE = lib, 
 .     RGL_USE_NULL = "TRUE"), if (should_error_for_warnings()) {
 .     with_options(list(warn = 2), with_rprofile_user("options(warn = 2)", 
 .         i.p(...)))
 . } else {
 .     i.p(...)
 . })
8. force(code)
9. with_options(list(warn = 2), with_rprofile_user("options(warn = 2)", 
 .     i.p(...)))
10. force(code)
11. with_rprofile_user("options(warn = 2)", i.p(...))
12. with_envvar(c(R_PROFILE_USER = temp_rprofile), {
  .     force(code)
  . })
13. force(code)
14. force(code)
15. i.p(...)
16. warning(gettextf("installation of package %s had non-zero exit status", 
  .     sQuote(update[i, 1L])), domain = NA)
17. .signalSimpleWarning("installation of package '/tmp/RtmpgAmLHA/file79891f373e43/dacomp_1.0.tar.gz' had non-zero exit status", 
  .     quote(i.p(...)))
18. withRestarts({
  .     .Internal(.signalCondition(simpleWarning(msg, call), msg, 
  .         call))
  .     .Internal(.dfltWarn(msg, call))
  . }, muffleWarning = function() NULL)
19. withOneRestart(expr, restarts[[1L]])
20. doWithOneRestart(return(expr), restart)
barakbri commented 5 years ago

Hi PollyTikhonova, I'm sorry for the late reply, I missed the notice issue opening. Could this be a problem with devtools' installation from GitHub? The stack trace on the error shows a problem with the the Rprofile section...

Thanks, Barak