ngreifer / cobalt

Covariate Balance Tables and Plots - An R package for assessing covariate balance
https://ngreifer.github.io/cobalt/
73 stars 12 forks source link

Issue installing version 3.8 from CRAN #26

Closed bzki closed 5 years ago

bzki commented 5 years ago

It seems the requirement on the CRAN page for grid for version 3.8 of cobalt is what's causing the issue (grid (≥ 3.6.1))

Warning in install.packages : dependency ‘grid’ is not available

Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : namespace 'grid' 3.5.3 is already loaded, but >= 3.6.1 is required

I am running R 3.5.3 and would prefer not to update to 3.6 yet -- is it possible to fix the dependency issue so that 3.8 can be installed, or is grid 3.6.1 or greater strictly required? If so, could you update the R version requirement from 3.3.0?

Thanks for the excellent package.

ngreifer commented 5 years ago

I am so sorry about this! This was my first time implementing the grid package so I didn’t know about this issue. I’ll change the dependency in the github version of cobalt later tonight. For now, you can use an archived version of cobalt if it has the features you need. Thank you for the kind words.

On Thu, Sep 12, 2019 at 11:44 AM bzki notifications@github.com wrote:

It seems the requirement on the CRAN page for grid https://cran.r-project.org/web/packages/cobalt/index.html for version 3.8 of cobalt is what's causing the issue (grid (≥ 3.6.1))

Warning in install.packages : dependency ‘grid’ is not available

Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : namespace 'grid' 3.5.3 is already loaded, but >= 3.6.1 is required

It seems the package grid is no longer in CRAN and is now part of base R https://stackoverflow.com/questions/29349398/r-package-grid-disappeared. I am running R 3.5.3 and would prefer not to update to 3.6 yet -- is it possible to fix the dependency issue so that 3.8 can be installed, or is grid 3.6.1 or greater strictly required? If so, could you update the R version requirement from 3.3.0?

Thanks for the excellent package.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ngreifer/cobalt/issues/26?email_source=notifications&email_token=AE4EPQAEOIUILXQVQCHJ4QDQJJPVRA5CNFSM4IWGKCNKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HLA3X7Q, or mute the thread https://github.com/notifications/unsubscribe-auth/AE4EPQH24PUY2VIEGS2OVS3QJJPVRANCNFSM4IWGKCNA .