Skip to content

dtw dependency not handled during install #2

@ghost

Description

Trying to install using devtools and was spit out with an error about the dtw package dependency. Resolved after I installed dtw manually.

devtools::install_github("shenorrLab/cellAlign")
Downloading GitHub repo shenorrLab/cellAlign@master
✔  checking for file ‘/tmp/Rtmp4WojR9/remotes173953e871f2/shenorrLab-cellAlign-30fb085/DESCRIPTION’ ...
─  preparing ‘cellAlign’:
✔  checking DESCRIPTION meta-information ...
─  cleaning src
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  looking to see if a ‘data/datalist’ file should be added
─  building ‘cellAlign_0.1.0.tar.gz’
   
Installing package into '/home/skevin/R/x86_64-pc-linux-gnu-library/3.5'
(as 'lib' is unspecified)
* installing *source* package ‘cellAlign’ ...
** libs
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c computeCM.c -o computeCM.o
gcc -std=gnu99 -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o cellAlign.so computeCM.o -L/usr/lib/R/lib -lR
installing to /home/skevin/R/x86_64-pc-linux-gnu-library/3.5/cellAlign/libs
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : 
  there is no package called ‘dtw’
ERROR: lazy loading failed for package ‘cellAlign’
* removing ‘/home/skevin/R/x86_64-pc-linux-gnu-library/3.5/cellAlign’
Error in i.p(...) : 
  (converted from warning) installation of package '/tmp/Rtmp4WojR9/file173963620654/cellAlign_0.1.0.tar.gz' had non-zero exit status

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions