MaaniBeigy / cvcqv

Coefficient of Variation (CV) and Coefficient of Quartile Variation (CQV) with Confidence Intervals (CI)
GNU General Public License v3.0
10 stars 3 forks source link

Install problems #1

Open geoffbaldwin opened 4 years ago

geoffbaldwin commented 4 years ago

HI, I am having trouble installing and using your cvcqv in R. When I install the package it seems to be OK, but when I try to load the cvcqv library I get an error saying there is no package called 'ellipse'. I have tried installing the ellipse package but this fails - the install of ellipse says there is no package called ellipse! I have also tried the install with specified paths, but I still ge the same error. Do you have any ideas? Ellipse is not listed as a dependency for this package. Thanks, Geoff

install.packages("cvcqv") Installing package into ‘\icnas2.cc.ic.ac.uk/baldwin/R/win-library/3.6’ (as ‘lib’ is unspecified) trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/cvcqv_1.0.0.zip' Content type 'application/zip' length 351307 bytes (343 KB) downloaded 343 KB

package ‘cvcqv’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in C:\Users\baldwin\AppData\Local\Temp\RtmpGoMdcj\downloaded_packages

library(cvcqv) Error: package or namespace load failed for ‘cvcqv’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘ellipse’

cv_versatile(

  • x,
  • na.rm = TRUE,
  • digits = 3,
  • method = "kelley",
  • correction = TRUE,
  • alpha = 0.05
  • ) Error in cv_versatile(x, na.rm = TRUE, digits = 3, method = "kelley", : could not find function "cv_versatile"
MaaniBeigy commented 4 years ago

Hi, Thanks for posting your issue. Actually ellipse is one of the dependencies of package SciViews package which is used in cvcqv. It happens sometimes. But, the ellipse package is on CRAN and should not have problems. Please ensure that you are typing install.packages("ellipse") correctly, with double quotes and the spelling of the package name. If still getting the same error, you might try installing it from the package source or the binaries.

Altogether, this problem is not specific to particular packages. You can find similar problems with other packages asked on StackOverflow.