Skip to content

Installation error on Windows (R 4.3.3): unable to load pagoda2.dll – LoadLibrary failure #150

Description

@Dacy34

Hello,

I am trying to install pagoda2 from GitHub on a Windows machine, but the installation fails when testing the package loading step. I would like to ask whether this issue might be related to compatibility with newer R versions.

System information

  • OS: Windows 10 (64-bit)
  • R version: 4.3.3
  • Rtools: 4.3
  • Installation method: devtools::install_github("kharchenkolab/pagoda2")

Installation command

devtools::install_github("kharchenkolab/pagoda2")

Error message

Error: package or namespace load failed for 'pagoda2' in inDL(x, as.logical(local), as.logical(now), ...):
 unable to load shared object '.../pagoda2/libs/x64/pagoda2.dll':
  LoadLibrary failure: The specified module could not be found.

Full message during installation:

** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for 'pagoda2' in inDL(x, as.logical(local), as.logical(now), ...):
 unable to load shared object '.../pagoda2/libs/x64/pagoda2.dll':
  LoadLibrary failure: The specified module could not be found.

What I have already tried

  • Installed required dependencies (Rcpp, RcppArmadillo, Matrix, igraph, Rtsne, RANN, irlba)
  • Confirmed that Rtools is correctly installed (pkgbuild::check_build_tools(debug = TRUE))
  • Restarted R session and reinstalled
  • Removed the 00LOCK-pagoda2 folder and tried installing again

However, the same DLL loading error persists.

Question

Could this be related to compatibility with R 4.3 on Windows?
If so, is there a recommended R version or installation method for pagoda2?

Any suggestions would be greatly appreciated.

Thank you for developing and maintaining this package.

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