You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way do_call works seems to be causing a conflict with the conflicted library, so I thought to post the issue both here and in the conflicted library to see if something could be done.
library(brms)
#> Loading required package: Rcpp#> Loading 'brms' package (version 2.20.4). Useful instructions#> can be found by typing help('brms'). A more detailed introduction#> to the package is available through vignette('brms_overview').#> #> Attaching package: 'brms'#> The following object is masked from 'package:stats':#> #> ar
library(conflicted)
library(reprex)
# From Example Documentationprior1<- prior(normal(0,10), class=b) +
prior(cauchy(0,2), class=sd)
fit1<-brms::brm(count~zAge+zBase*Trt+ (1|patient),
data=epilepsy, family= poisson(), prior=prior1)
#> Compiling Stan program...#> Error:#> ! [conflicted] ar found in 2 packages.#> Either pick the one you want with `::`:#> • brms::ar#> • stats::ar#> Or declare a preference with `conflicts_prefer()`:#> • `conflicts_prefer(brms::ar)`#> • `conflicts_prefer(stats::ar)`
The way
do_call
works seems to be causing a conflict with theconflicted
library, so I thought to post the issue both here and in theconflicted
library to see if something could be done.Created on 2024-10-23 with reprex v2.1.1
The text was updated successfully, but these errors were encountered: