shiny-deploy.yaml - Error building R6 (2.5.1). R version 4.2.2 currently unavailable

Hello,

I was trying the github actions yesterday, in particular shiny-deploy.yaml.
I took

The steps I took were:

  • create new shiny app project (from R studio, faithfull geyser), using renv.
  • run the app
  • deploy the app through the blue button. it deploys correctly. (or using rsconnect::deployApp())
  • add the github actions workflow usethis::use_github_action("shiny-deploy.yaml")
  • add my secret, token, etc to github repo
    Once pushing, the action stops at the "authorize and deploy" step with that error.
  • I fix it by specifying the r version to be installed in the github actions 4.1 as 4.2. was released yesterday.
    The repo can be found here.

I am not sure this is the best way to solve my problem. Neither I am sure where to raise this problem as I don't know if the problem comes from the new release of R, or the R6 package or something else.

1 Like