enrichplot icon indicating copy to clipboard operation
enrichplot copied to clipboard

Fail to install development version from github

Open ktong25 opened this issue 3 years ago • 0 comments

Hi enrichplot team,

Thanks for offering such a great package for plotting enrichment analysis results!

When trying installing the development version of the package from github, using the following code (I updated my R version to 4.0.5 and started a new empty project in RStudio with renv before installing the package):

install.packages("devtools") devtools::install_github("YuLab-SMU/enrichplot")

I encountered the following error:

  • installing source package 'enrichplot' ... ** using staged installation ** R ** byte-compile and prepare package for lazy loading ** help *** installing help indices converting help for package 'enrichplot' finding HTML links ... done barplot.enrichResult html
    cnetplot html
    color_palette html
    dotplot html
    emapplot html
    emapplot_cluster html
    fortify html
    ggtable html
    goplot html
    gsInfo html
    gseadist html
    gseaplot html
    gseaplot2 html
    gsearank html
    heatplot html
    pairwise_termsim html
    finding level-2 HTML links ... done

    plotting.clusterProfile html
    pmcplot html
    reexports html
    ridgeplot html
    treeplot html
    upsetplot-methods html
    ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location *** arch - i386 Error: package or namespace load failed for 'enrichplot' in library.dynam(lib, package, package.lib): DLL 'utf8' not found: maybe not installed for this architecture? Error: loading failed Execution halted *** arch - x64 ERROR: loading failed for 'i386'

  • removing 'C:/Projects/test2/renv/library/R-4.0/x86_64-w64-mingw32/enrichplot' Warning messages: 1: In untar2(tarfile, files, list, exdir, restore_times) : skipping pax global extended headers 2: In untar2(tarfile, files, list, exdir, restore_times) : skipping pax global extended headers 3: In i.p(...) : installation of package ‘C:/Users/vecin/AppData/Local/Temp/RtmpAXm8rH/file45789405b5c/enrichplot_1.11.3.tar.gz’ had non-zero exit status

Is there anything I can do to solve this error?

Thanks! Kai

I was able to install the Bioconductor version of enrichplot when I used R 4.0.4. But the above occurred for both R 4.0.4 and 4.0.5.

ktong25 avatar May 08 '21 23:05 ktong25