Skip to content

Installation Error. #32

Description

@g-pacheco

Hello Jennifer,

Thanks a lot for the great tool. I am trying to install it on R v4.2.3 (MAC) but I am getting the following error when trying to load the library:

> library(bkmr)
Error: package or namespace load failed for ‘bkmr’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/Library/Frameworks/R.framework/Versions/4.2/Resources/library/gmm/libs/gmm.so':
  dlopen(/Library/Frameworks/R.framework/Versions/4.2/Resources/library/gmm/libs/gmm.so, 0x0006): Library not loaded: /usr/local/gfortran/lib/libgomp.1.dylib
  Referenced from: <4BAE4647-6BFA-3AB3-B79E-7DAD328585B8> /Library/Frameworks/R.framework/Versions/4.2/Resources/library/gmm/libs/gmm.so
  Reason: tried: '/usr/local/gfortran/lib/libgomp.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/gfortran/lib/libgomp.1.dylib' (no such file), '/usr/local/gfortran/lib/libgomp.1.dylib' (no such file), '/usr/local/lib/libgomp.1.dylib' (no such file), '/usr/lib/libgomp.1.dylib' (no such file, not in dyld cache)

I have tried to install it using both methods:

install.packages("bkmr")

~~~~~~~~~~~~~~~~~~~~~~~~~~~~

install.packages("devtools")
devtools::install_github("jenfb/bkmr")

Any idea what could be going on?

Many thanks in advance, George.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions