Thanks for the work with this package! Unfortunately I've encountered an error during installation when following the recommended procedure on a Linux environment using the latest version of R (4.3.1). The specific error I receive is:
"Error: object ‘multiprocess’ is not exported by 'namespace:future'".
Upon searching for this error, I came across this StackOverflow post which mentions that the "multiprocess" function from the "future" package was deprecated for some time, and as of March 2023, it was officially removed. According to this GitHub page you can achieve the same thing by calling "multicore" or "multisession". Is there a way to modify the causeSims package to no longer depend on the "multiprocess" function?
I circumvent the error by first installing an earlier version of the future package:
remotes::install_version('future', '1.28.0',repos = 'http://cran.us.r-project.org')
and then installing the causeSims package adding the upgrade variable "never" to the installation process:
devtools::install_github('jean997/causeSims', upgrade = 'never')
Thanks for the work with this package! Unfortunately I've encountered an error during installation when following the recommended procedure on a Linux environment using the latest version of R (4.3.1). The specific error I receive is:
"Error: object ‘multiprocess’ is not exported by 'namespace:future'".
Upon searching for this error, I came across this StackOverflow post which mentions that the "multiprocess" function from the "future" package was deprecated for some time, and as of March 2023, it was officially removed. According to this GitHub page you can achieve the same thing by calling "multicore" or "multisession". Is there a way to modify the causeSims package to no longer depend on the "multiprocess" function?
I circumvent the error by first installing an earlier version of the
futurepackage:and then installing the causeSims package adding the upgrade variable "never" to the installation process: