On 10 Aug 2021, at 4:28 AM, Simon Urbanek <simon.urbanek at R-project.org> wrote:
Richard,
Rcpp has made an ABI-breaking change in 1.0.7 so you need to re-install all packages that use Rcpp (i.e. not only Rcpp itself but all other packages).
One way to re-install all packages is to use something like
install.packages(rownames(installed.packages()), type='binary')
If you want to install only Rcpp dependencies then something like this should work:
deps = tools:::CRAN_package_reverse_dependencies_with_maintainers("Rcpp")[,"Package"]
have = rownames(installed.packages())
install.packages(have[have %in% deps], type='binary')
Cheers,
Simon
On Aug 10, 2021, at 4:41 AM, Martin Maechler <maechler at stat.math.ethz.ch> wrote:
RoqueRichard
on Thu, 5 Aug 2021 12:54:36 +0800 writes:
Dear Richard,
you sent all this to r-sig-mac-owner at r-project.org
but you really should re-send it to the mailing list, i.e.
r-sig-mac at r-project.org
Best,
Martin
Im currently using R4.1.0 version on Mac OS. I tried using
the createDataPartition function but got the following
reply:
test_index <- createDataPartition(y, times = 1, p = 0.5,
list = FALSE)
Error in split_indices(as.integer(splitv), attr(splitv,
"n")) : function 'Rcpp_precious_remove' not provided by
package ?Rcpp'
Is the Rcpp outdated? If so, could you advise how to
update Rcpp?
Thanks a lot for any assistance you can provide. Richard