Home > Software engineering >  R package bizdays cannot be installed
R package bizdays cannot be installed

Time:11-09

I have been using bizdays package for a long time and since I changed my window installation recently I had to install all of the packages for R. The only package that is not installed is bizdays. The documentations appear to show this package should be still on CRAN, but I cannot find it or install it. Is there any way to somehow install it back?

This is the error I am getting:

install.packages("bizdays")

Installing package into ‘C:/Users/me/OneDrive/Documents/R/win-library/3.6’ (as ‘lib’ is unspecified)

So it seems the package got installed, and when I try to use it this is the error thrown:

library(bizdays)

Error in library(bizdays) : there is no package called ‘bizdays’

CodePudding user response:

You may need to update R to =>4.0 You can check with R.version. Needing to update R is a fairly common cause of package install problems, as packages can use new R features. You will need to restart RStudio

  • Related