Skip to content

Error: package or namespace load failed for ‘tradeSeq’ #90

Closed
@yu-tong-wang

Description

@yu-tong-wang

tradeSeq cannot be loaded after upgrading my OS system to Big Sur. It used to work just fine before my upgrading. I tried to uninstall and reinstall the package, and specify the library location as the error messages specified. Nothing worked. Do you know what the problem might be, and could you help out? Thanks!

library(tradeSeq)
Error: package or namespace load failed for ‘tradeSeq’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/sf/libs/sf.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/sf/libs/sf.so, 6): Library not loaded: /usr/lib/libpq.5.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/sf/libs/sf.so
Reason: image not found

image
image

Update: there is a similar issue with a package in GitHub: r-spatial/sf#1536. I am not very familiar with Bioconductor package installation - do you think if there is any similar way to solve the issue? I tried BiocManager::install("tradeSeq", configure.args = "--with-proj-lib=/usr/local/lib/"), yet it did not solve the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions