Skip to content

Installation fail with devtools #377

@ptsii

Description

@ptsii

I just tried to build ANTsR from within R doing:

> library(devtools)
> install_github("stnava/cmaker")
> install_github("stnava/ANTsR")

It seemed to compile fine, but then failed on the install:

installing to /Library/Frameworks/R.framework/Versions/4.2/Resources/library/00LOCK-ANTsR/00new/ANTsR/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘ANTsR’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/Library/Frameworks/R.framework/Versions/4.2/Resources/library/00LOCK-ANTsR/00new/ANTsR/libs/ANTsR.so':
  dlopen(/Library/Frameworks/R.framework/Versions/4.2/Resources/library/00LOCK-ANTsR/00new/ANTsR/libs/ANTsR.so, 0x0006): symbol not found in flat namespace (_composeDisplacementFields)
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/ANTsR’
Warning message:
In i.p(...) :
  installation of package ‘/var/folders/22/g163kh494cj0yrk3fqkc13240000gq/T//RtmpbUSmYm/file49a5753f8886/ANTsR_0.5.7.5.tar.gz’ had non-zero exit status

This is a multi-user machine (OSX), but this was done from one of the accounts that has admin privileges.

Any ideas about what might have happened?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions