r-link / corrmorant

R package for flexible correlation matrices based on ggplot2
GNU General Public License v2.0
63 stars 3 forks source link

Install woes #25

Open IanWorthington opened 2 years ago

IanWorthington commented 2 years ago

Not quite sure what this means. Any suggestions?

>   remotes::install_github("r-link/corrmorant")
Downloading GitHub repo r-link/corrmorant@HEAD
Warning in untar2(tarfile, files, list, exdir, restore_times) :
  skipping pax global extended headers
Warning in untar2(tarfile, files, list, exdir, restore_times) :
  skipping pax global extended headers
√  checking for file 'C:\Users\IanWo\AppData\Local\Temp\RtmpCSgzJv\remotes1a56447845d96\r-link-corrmorant-e968860/DESCRIPTION' (759ms)
-  preparing 'corrmorant': (346ms)
√  checking DESCRIPTION meta-information ... 
-  checking for LF line-endings in source and make files and shell scripts (601ms)
-  checking for empty or unneeded directories
-  building 'corrmorant_0.0.0.9007.tar.gz'

Installing package into ‘C:/Users/IanWo/My Code Projects/R Studio Projects/Stocks exploration/renv/library/R-4.1/x86_64-w64-mingw32’
(as ‘lib’ is unspecified)
* installing *source* package 'corrmorant' ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package 'corrmorant'
    finding HTML links ... done
    add_corrtext                            html  
    add_funtext                             html  
    add_heatcircle                          html  
    add_heatmap                             html  
    corrmorant                              html  
    corrmorant_ggproto                      html  
    finding level-2 HTML links ... done

    corrmorant_package                      html  
    corrmorant_scales                       html  
    corrmorant_selectors                    html  
    corrmorant_themes                       html  
    dia_density                             html  
    dia_histogram                           html  
    dia_names                               html  
    drosera                                 html  
    geom_dia_density                        html  
    geom_relpoint                           html  
    geom_reltext                            html  
    ggcorrm                                 html  
    stat_corrtext                           html  
    stat_dia_bin                            html  
    stat_dia_names                          html  
    stat_funtext                            html  
    stat_heatcircle                         html  
    stat_heatmap                            html  
    tidy_corrm                              html  
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
Error: package or namespace load failed for 'ggplot2' in library.dynam(lib, package, package.lib):
 DLL 'colorspace' not found: maybe not installed for this architecture?
Error : package 'ggplot2' could not be loaded
Error: loading failed
Execution halted
*** arch - x64
ERROR: loading failed for 'i386'
* removing 'C:/Users/IanWo/My Code Projects/R Studio Projects/Stocks exploration/renv/library/R-4.1/x86_64-w64-mingw32/corrmorant'
Warning in i.p(...) :
  installation of package ‘C:/Users/IanWo/AppData/Local/Temp/RtmpCSgzJv/file1a564297c1057/corrmorant_0.0.0.9007.tar.gz’ had non-zero exit status

>   R.version
               _                           
platform       x86_64-w64-mingw32          
arch           x86_64                      
os             mingw32                     
system         x86_64, mingw32             
status                                     
major          4                           
minor          1.2                         
year           2021                        
month          11                          
day            01                          
svn rev        81115                       
language       R                           
version.string R version 4.1.2 (2021-11-01)
nickname       Bird Hippie  
r-link commented 2 years ago

Mmmmh I haven't had this one yet. Does the problem still persist?

There seems to be an issue with the colorspace package - can you try to install it manually via install.packages() before trying to run remotes::install.github(). In general I have had a lot of issues installing from GitHub lately, especially on Windows. When there were installation issues with corrmorant, my experience was that it often worked better if you install all the dependencies by hand and then choose not to update anything when install.github() asks because this seems to break on some platforms when the packages that are to be updated are loaded already (and sometimes it wants to update packages that are always loaded).