Unsupported R version 4.4.2 / What to do?

,

I got the following message:

── Deploying to server ─────────────────────────────────────────────────────────
Waiting for task: 1477242299
error: Building image: 11455204

Begin Task Log

End Task Log

Error: Unhandled Exception: child_task=1477242301 child_task_status=error: Unhandled Exception: Unsupported R version 4.4.2 for operating system jammy.

1 Like

In the short term, install R 4.3.3 to your local and deploy to your host from that version.
In the longer term your host will adopt the more recent r version and you can go back to it.

Have the same issue. R 4.4.2 released at the start of November. How long does it usually take for shinyapps.io to upgrade?

1 Like

I am in the same dilemma. Can somebody recommend a safe procedure for a side-by-side older R installation?
Another alternative is remove R 4.4.2 completely and install 4.4.1? I have not found a recent answer in SO.
Is it r-base that needs to be r emoved/purged?
I checked my Ubunto 20 and it also has R 4.4.2

Here it says that "typically, new versions of R are supported within three days of release." It's been more than a month now, and R 4.4.2 is still not working...

In Ubuntu, you can downgrade as follows. First, check which version of the package r-base-core you need to install:

sudo apt-cache policy r-base-core

In my case, the output looks like this:

r-base-core:
  Installed: 4.4.2-1.2404.0
  Candidate: 4.4.2-1.2404.0
  Version table:
 *** 4.4.2-1.2404.0 500
        500 https://cloud.r-project.org/bin/linux/ubuntu noble-cran40/ Packages
        100 /var/lib/dpkg/status
     4.4.1-3.2404.0 500
        500 https://cloud.r-project.org/bin/linux/ubuntu noble-cran40/ Packages
     4.4.1-1.2404.0 500
        500 https://cloud.r-project.org/bin/linux/ubuntu noble-cran40/ Packages
     4.4.0-2.2404.0 500
        500 https://cloud.r-project.org/bin/linux/ubuntu noble-cran40/ Packages
     4.3.3-2build2 500
        500 http://ch.archive.ubuntu.com/ubuntu noble/universe amd64 Packages

I want to install version 4.4.1 which I do as follows:

sudo apt install r-base-core=4.4.1-3.2404.0

You might have other R-related packages installed like r-base, r-recommended, etc. If so, you will get a message similar to this one for each of those packages:

Depends: r-recommended (= 4.4.1-3.2404.0) but 4.4.2-1.2404.0 is to be installed

You will have to either add all of them to the installation command with the same version number,

sudo apt install r-base-core=4.4.1-3.2404.0 r-recommended=4.4.1-3.2404.0

or you can uninstall all those packages except for r-base-core and only downgrade that one. Note that in that case you might need to install some missing packages inside R with install.packages().

I did this on Ubuntu 24.04 but I assume this will also work on older versions.

From a previous post, regarding 4.4.1.

stevenolen - Posit Employee
2024-06-25
In general, it is quite less! Our documentation shows that we strive for 3 days or less -- in this case, we had a problem with our build service that held things up a bit.

In the future, we hope the turnaround to be much quicker!

I will try to contact him.

1 Like

December and still waiting. I just want to keep this topic from closing...

1 Like

As I understand it then, the recommended solution ist still to remove R 4.4.2 completely and install 4.3.3, assuming I do not want or need the differences?
Can anyone explain why this is still open, why it is not a more urgent problem for shinyapps.io, and how to avoid it happening again? Many thanks.

Fwiw, 4.3.3 should be fine, though I am using 4.4.1 which is also supported on shinyapps.io. I do my development using the RStudio IDE on top of Windows and renv for managing the environment which makes switching between R versions relatively painless.

I just can't believe this is the correct diagnosis and solution. SURELY there must be another explanation, other than Posit have just not bothered to support the latest stable release... since October?
R version 4.4.2 (2024-10-31 ucrt) -- "Pile of Leaves"

Hello, sorry for the delay in getting this out,. R 4.4.2 is now available in shinyapps.io. Thank you for your patience.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.