"Something went wrong" message shown on 4.0.0

There have been past threads about using R on Endless OS, such as:

Another option not mentioned there is to use toolbox, which is pre-installed in Endless OS, to launch a container for some other Linux distribution (such as Fedora) and install R there.