Closed emstruong closed 7 months ago
Hi,
This is strange because as far as I know, dynamite
does not use any between
function.
The conflict is actually from rstan
:
> code <- get_code(gaussian_example_fit)
> rstan::stan_model(model_code = code)
Error:
! [conflicted] between found in 2 packages.
Either pick the one you want with `::`:
• data.table::between
• dplyr::between
Or declare a preference with `conflicts_prefer()`:
• conflicts_prefer(data.table::between)
• conflicts_prefer(dplyr::between)
Run `rlang::last_trace()` to see where the error occurred.
This conflicted
package seems strange, you can get conflicts from base packages that do not even call the function in question:
> library("conflicted")
> library("dplyr")
> apropos("f", mode = "S4")
Error:
! [conflicted] filter found in 2 packages.
Either pick the one you want with `::`:
• dplyr::filter
• stats::filter
Or declare a preference with `conflicts_prefer()`:
• `conflicts_prefer(dplyr::filter)`
• `conflicts_prefer(stats::filter)`
Run `rlang::last_trace()` to see where the error occurred.
I'm closing this issue, as it does not seem relevant to dynamite.
Hello,
There appears to be internal package conflicts between
dynamite
andtidyverse
?Created on 2024-04-14 with reprex v2.1.0