strengejacke / esc

Effect Size Computation for Meta Analysis
https://strengejacke.github.io/esc
20 stars 6 forks source link

Problems Installing #3

Closed statsuser closed 5 years ago

statsuser commented 5 years ago

Hi! I am having trouble installing the package and I was hoping you could help. This is what I get in the console:

Installing package into ‘C:/Users/smith/Documents/R/win-library/3.3’
(as ‘lib’ is unspecified)
also installing the dependencies ‘haven’, ‘sjlabelled’, ‘sjmisc’

  There are binary versions available but the source versions are later:
           binary source needs_compilation
haven       1.1.1  2.0.0              TRUE
sjlabelled  1.0.8 1.0.15             FALSE
sjmisc      2.7.1  2.7.6             FALSE
esc         0.4.0  0.4.1             FALSE

  Binaries will be installed
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/haven_1.1.1.zip'
Content type 'application/zip' length 881609 bytes (860 KB)
downloaded 860 KB

package ‘haven’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
    C:\Users\smith\AppData\Local\Temp\RtmpQLPCZ4\downloaded_packages
installing the source packages ‘sjlabelled’, ‘sjmisc’, ‘esc’

trying URL 'https://cran.rstudio.com/src/contrib/sjlabelled_1.0.15.tar.gz'
Content type 'application/x-gzip' length 132525 bytes (129 KB)
downloaded 129 KB

trying URL 'https://cran.rstudio.com/src/contrib/sjmisc_2.7.6.tar.gz'
Content type 'application/x-gzip' length 199341 bytes (194 KB)
downloaded 194 KB

trying URL 'https://cran.rstudio.com/src/contrib/esc_0.4.1.tar.gz'
Content type 'application/x-gzip' length 52565 bytes (51 KB)
downloaded 51 KB

* installing *source* package 'sjlabelled' ...
** Paket 'sjlabelled' erfolgreich entpackt und MD5 Summen überprüft
** R
** data
** inst
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  namespace 'haven' 1.1.1 is being loaded, but >= 1.1.2 is required
ERROR: lazy loading failed for package 'sjlabelled'
* removing 'C:/Users/smith/Documents/R/win-library/3.3/sjlabelled'
Warning in install.packages :
  running command '"C:/PROGRA~1/R/R-33~1.2/bin/x64/R" CMD INSTALL -l "C:\Users\smith\Documents\R\win-library\3.3" C:\Users\olderbak\AppData\Local\Temp\RtmpQLPCZ4/downloaded_packages/sjlabelled_1.0.15.tar.gz' had status 1
Warning in install.packages :
  installation of package ‘sjlabelled’ had non-zero exit status
ERROR: dependency 'sjlabelled' is not available for package 'sjmisc'
* removing 'C:/Users/smith/Documents/R/win-library/3.3/sjmisc'
Warning in install.packages :
  running command '"C:/PROGRA~1/R/R-33~1.2/bin/x64/R" CMD INSTALL -l "C:\Users\smith\Documents\R\win-library\3.3" C:\Users\smith\AppData\Local\Temp\RtmpQLPCZ4/downloaded_packages/sjmisc_2.7.6.tar.gz' had status 1
Warning in install.packages :
  installation of package ‘sjmisc’ had non-zero exit status
ERROR: dependency 'sjmisc' is not available for package 'esc'
* removing 'C:/Users/smith/Documents/R/win-library/3.3/esc'
Warning in install.packages :
  running command '"C:/PROGRA~1/R/R-33~1.2/bin/x64/R" CMD INSTALL -l "C:\Users\smith\Documents\R\win-library\3.3" C:\Users\smith\AppData\Local\Temp\RtmpQLPCZ4/downloaded_packages/esc_0.4.1.tar.gz' had status 1
Warning in install.packages :
  installation of package ‘esc’ had non-zero exit status

The downloaded source packages are in
    ‘C:\Users\smith\AppData\Local\Temp\RtmpQLPCZ4\downloaded_packages’
> library(esc)
Error in library(esc) : es gibt kein Paket namens ‘esc’

Any idea what is going on?

strengejacke commented 5 years ago

I think the source of this error could be:

namespace 'haven' 1.1.1 is being loaded, but >= 1.1.2 is required

I would suggest installing haven alone first, then update other packages.

statsuser commented 5 years ago

Thank you for your quick response! Unfortunately that does not seem to fix the problem. Anything else I could try?

strengejacke commented 5 years ago

Which haven version is installed on your system?

strengejacke commented 5 years ago

Any news on this issue?

strengejacke commented 5 years ago

bump