Startup Error with RStudio on Macbook Air 2017 (Mojave 10.14.4)

I have just downloaded R, RStudio, and XQuartz onto my 2017 Macbook Air which runs MacOS Mojave 10.14.4. It continually gives me a Startup Error. The version of R I downloaded is R 4.2.2 binary for macOS 10.13 (High Sierra ) and higher, Intel 64-bit. I can't seem to troubleshoot it; below is the problem report.

R Session Startup Failure Report

RStudio Version

RStudio 2022.12.0+353 "Elsbeth Geranium " (7d165dcf, 2022-12-03) for macOS

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2022.12.0+353 Chrome/102.0.5005.167 Electron/19.1.3 Safari/537.36

Error message

[No error available]

Process Output

The R session exited with code 1.

Error output:

dyld: Library not loaded: @executable_path/../Frameworks/libssl.1.1.dylib
  Referenced from: /Volumes/RStudio-2022.12.0-353/RStudio.app/Contents/Resources/app/bin/rsession
  Reason: no suitable image found.  Did find:
	/Volumes/RStudio-2022.12.0-353/RStudio.app/Contents/Resources/app/bin/../Frameworks/libssl.1.1.dylib: cannot load 'libssl.1.1.dylib' (load command 0x80000034 is unknown)
	/Volumes/RStudio-2022.12.0-353/RStudio.app/Contents/Resources/app/bin/../Frameworks/libssl.1.1.dylib: stat() failed with errno=1
	/Volumes/RStudio-2022.12.0-353/RStudio.app/Contents/Resources/app/bin/../Frameworks/libssl.1.1.dylib: cannot load 'libssl.1.1.dylib' (load command 0x80000034 is unknown)
	/Volumes/RStudio-2022.12.0-353/RStudio.app/Contents/Resources/app/bin/../Frameworks/libssl.1.1.dylib: stat() failed with errno=1

Standard output:

[No output emitted]

Logs

Log File

[No logs available]

The bad news is that Mojave is no longer supported either by Apple or by RStudio which parallels. Only the current (Ventura) and two most recent releases (Monterrey and Big Sur) are now supported.

In particular, there is a missing system depenency

More bad news is that I don't see it on my 2021 Ventura arm setup.

Qualified good news is that if you upgrade macOS, Elspeth should mostly work (there are some troubles not yet resolved).

Update: I found it, which I had installed with brew.