NESCent / MINOTAUR

Multivariate vIsualisatioN and OuTlier Analysis Using R
13 stars 6 forks source link

Unable to install MINOTAUR package #17

Open fuzzyatelin opened 6 years ago

fuzzyatelin commented 6 years ago

Hello - I'm trying to install MINOTAUR in my Macbook Air in R 3.4.1 nested in RStudio 1.0.153. Just in case, I updated devtools and installed all the dependencies (as per the instructions for Windows users). I also have Xcode installed (8.2). Despite this, I keep encountering an error when testing if the installed package can be opened. Here's the output:

** testing if installed package can be loaded Error: package or namespace load failed for ‘MINOTAUR’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/private/var/folders/hc/nd856zvn0r97f1f_rplqyf0h0000gp/T/RtmpCLOSW4/Rinst3cfe40206acf/MINOTAUR/libs/MINOTAUR.so': dlopen(/private/var/folders/hc/nd856zvn0r97f1f_rplqyf0h0000gp/T/RtmpCLOSW4/Rinst3cfe40206acf/MINOTAUR/libs/MINOTAUR.so, 6): Symbol not found: _MINOTAUR_C_harmonicDist Referenced from: /private/var/folders/hc/nd856zvn0r97f1f_rplqyf0h0000gp/T/RtmpCLOSW4/Rinst3cfe40206acf/MINOTAUR/libs/MINOTAUR.so Expected in: flat namespace in /private/var/folders/hc/nd856zvn0r97f1f_rplqyf0h0000gp/T/RtmpCLOSW4/Rinst3cfe40206acf/MINOTAUR/libs/MINOTAUR.so Error: loading failed Execution halted ERROR: loading failed

Not sure what to do here... I'm not terribly savvy with the intricacies of failed package installation.

Thanks for any help or advice,

Chris

darencard commented 6 years ago

I am receiving the same error on my system. MacPro OSX 10.13.3 running R 3.4.3 in RStudio 1.1.383. Been a while since I've installed and this is a fresh system so must be some issue with a newer version of R.

Seems like a compilation error of the underlying C functions, which are way outside my area of expertise. Unfortunately, it removes the problematic file so I can't look at that to try to troubleshoot.

@bobverity or @caitiecollins will be most helpful and will hopefully have time to chime in soon.

bobverity commented 6 years ago

Hi all, Just did a fresh install on my machine and couldn't replicate the issue, so will need to dig a little deeper. However, I did hit another, different bug:

This one looks to be caused by an invalid function call in a vignette? Or maybe we need to add the rrcovNA package as a dependency? Once this one is fixed maybe I'll be able to replicate the original error. As you say Darren, the original error looks to be something to do with compiling the C++ functions.

(It always baffles me how you can leave a package working and after a few months it can suddenly stop!)