Re: [Rd] Disabling S4 primitive dispatch during method resolution affects namespace load actions

2024-09-27 Thread Martin Maechler
> Ivan Krylov via R-devel > on Fri, 27 Sep 2024 13:32:27 +0300 writes: > Hello, > This problem originally surfaced as an interaction between 'brms', > 'rstan' and 'Rcpp' [1]: a call to dimnames() from the 'brms' package on > an object of an S4 class owned by the 'rstan

[Rd] Disabling S4 primitive dispatch during method resolution affects namespace load actions

2024-09-27 Thread Ivan Krylov via R-devel
Hello, This problem originally surfaced as an interaction between 'brms', 'rstan' and 'Rcpp' [1]: a call to dimnames() from the 'brms' package on an object of an S4 class owned by the 'rstan' package tried to load its namespace. rstan:::.onLoad needs to load Rcpp modules, which uses load actions a