problems in installing bs package

EACH TIME I TRY TO INSTALL bs package I get the following error message . can someone offer assistance on how to get through successfully.
thanks,
student
library(bs)
Error: package ‘bs’ was built before R 3.0.0: please re-install it

library("bs", lib.loc="~/R/win-library/3.4")
Error: package ‘bs’ was built before R 3.0.0: please re-install it
Warning: unable to access index for repository https://cran.rstudio.com/src/contrib:
cannot open URL

Did you try running the following command?

install.packages("bs")

It looks like the bs package was removed from CRAN, so I don't think that will work either.
https://cran.r-project.org/package=bs

The archived version is from 2007, and (as the error states) was built before R 3.0.0 (it looks like the releases in 2007 were 2.5.0 and 2.6.0 The R-announce 2007 Archive by date).

https://cran.r-project.org/src/contrib/Archive/bs/

I did . Its an archived package . each time it requests for namespace no matter the installation path followed. In fact I have the zipped targaz package in a folder but it wont run.

This isn't terribly surprising, given what I mentioned in my comment above. If you're looking for functionality around the Birnbaum-Saunders distribution, you might consider a different package's implementation:
https://rdrr.io/search?q="Birnbaum+Saunders"
https://rdrr.io/cran/VaRES/man/BS.html
https://rdrr.io/cran/VGAM/man/bisaUC.html

2 Likes

Thanks . I think things are going to work out now.

the remedy was installing an older version of r program. it worked smoothly. thanks

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.