Skip to content

Update R version? #164

@jonthegeek

Description

@jonthegeek

It looks like the WEBR_R_VERSION is hard-coded in R/version.R (currently as R 4.4.1). That means any packages used in apps need to be built for that R version, even though https://github.com/r-wasm/actions/tree/main/build-rwasm currently builds using R 4.5.1, and finding the 4.4.1 tag was a bit of a chore (webr-image: ghcr.io/r-wasm/webr:v0.4.2 for anybody reading this trying to solve the same issue).

Digging a bit more, it looks like the posit-dev/shinylive release has a fixed webr release wrapped into it, which has been 0.4.2 (= R 4.4.1) for about 11 months now. I strongly suspect that means that it'd take quite a lot to change the R version. It would be helpful if that were more obvious, at least, and perhaps if the webr version were noted somewhere prominent to make it easier to figure out how to keep package builds synced to the expected R version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions