Entering edit mode
                    3.2 years ago
        Recep
        
    
        •
    
    0
    Hello, I tried to install WGCNA with the following command. As said I also used the force command but it fails.
    > BiocManager::install("WGCNA")
   'getOption("repos")' replaces Bioconductor standard
    repositories, see '?repositories' for details
    replacement repositories:
        CRAN: https://cran.uni-muenster.de
    Bioconductor version 3.16 (BiocManager 1.30.18), R 4.2.1
      (2022-06-23)
    Warning message:
    package(s) not installed when version(s) same as current;
      use `force = TRUE` to re-install: 'WGCNA' 
When I run the library, it says it can't find the package "impute".
    > library(WGCNA)
Error: package or namespace load failed for ‘WGCNA’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
 there is no package called ‘impute’
In addition: Warning messages:
1: In install.packages(c("impute"), lib = "/Library/Frameworks/R.framework/Resources/library/",  :
  installation of package ‘impute’ had non-zero exit status
2: In install.packages(c("impute"), lib = "/Library/Frameworks/R.framework/Resources/library/",  :
  installation of package ‘impute’ had non-zero exit status
How can i solve this problem? I am using a M1 Mac.
Before installing
WGCNAinstall the prerequisites.https://horvath.genetics.ucla.edu/html/CoexpressionNetwork/Rpackages/WGCNA/#manualInstall
it is same.