epinowcast / epidist

Estimate epidemiological delay distributions with brms
http://epidist.epinowcast.org/
Other
12 stars 5 forks source link

Remove `cmdstanr` remote dependency #147

Closed athowes closed 1 month ago

athowes commented 4 months ago

See #143. Eventually we should try to rely on a stable version of cmdstanr. This would be required for this package to be on CRAN. One way to achieve this is via additional repos argument in DESCRIPTION.

seabbs commented 4 months ago

One way to achieve this is via additional repos argument in DESCRIPTION

We can do this now without waiting for it to be on CRAN

athowes commented 1 month ago

So far I am just trying:

Additional_repositories:
    https://github.com/stan-dev/cmdstanr/releases

Looking through GitHub I didn't find instances of use of Additional_repositories with R universe which is what I had been trying to do before (https://stan-dev.r-universe.dev/cmdstanr).

See https://github.com/r-lib/remotes/issues/618.

athowes commented 1 month ago

The solution (I think) was to use same approach as primarycensoreddist.

Also I am trying to move cmdstanr from Imports to Suggests.

athowes commented 1 month ago

Need to change default away backend = "cmdstanr"