Problems with library(bestNormalize)

Hi all,

I trying to use the package bestNormalize, however I am running in to problems when calling the package:

> install.packages("bestNormalize")
Installing package into ‘C:/Users/chasor/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/bestNormalize_1.9.0.zip'
Content type 'application/zip' length 1067311 bytes (1.0 MB)
downloaded 1.0 MB

package ‘bestNormalize’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
	C:\Users\chasor\AppData\Local\Temp\RtmpWYLDA1\downloaded_packages
> library(bestNormalize)
Error: package or namespace load failed for ‘bestNormalize’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
 namespace ‘lifecycle’ 1.0.1 is already loaded, but >= 1.0.3 is required
In addition: Warning message:
package ‘bestNormalize’ was built under R version 4.2.2 

So in install.packages() is says successfully unpacked, however, then I can not call it with library().

Do you have any idea of how to solve this?

Thank you all!

this is suggesting you should restart your R clean so that no packages are loaded; then

install.packages("lifecycle")

then try bestNormalize

Thank you.

I kept having packages that needed to be updated, so in the end I updated all.

Now it works.

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.