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

Unable to install MINOTAUR package #17

Open
fuzzyatelin opened this issue Mar 5, 2018 · 2 comments
Open

Unable to install MINOTAUR package #17

fuzzyatelin opened this issue Mar 5, 2018 · 2 comments

Comments

@fuzzyatelin
Copy link

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

  • removing ‘/private/var/folders/hc/nd856zvn0r97f1f_rplqyf0h0000gp/T/RtmpCLOSW4/Rinst3cfe40206acf/MINOTAUR’
    -----------------------------------
    ERROR: package installation failed
    Installation failed: Command failed (1)

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
Copy link

darencard commented Mar 8, 2018

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
Copy link
Contributor

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:

  • creating vignettes ... ERROR
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
    Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Quitting from lines 187-202 (MINOTAUR.Rmd)
    Error: processing vignette 'MINOTAUR.Rmd' failed with diagnostics:
    there is no package called 'rrcovNA'
    Execution halted

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!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants