exasol / r-exasol

The EXASOL package for R provides an interface to the EXASOL database.
http://www.exasol.com
BSD 3-Clause "New" or "Revised" License
22 stars 8 forks source link

#125 fixed linker error with r42 #126

Closed tomuben closed 2 years ago

tomuben commented 2 years ago

fixes #125

RCA

The openssl library which is downloaded during build time is not compatible anymore with RTools 4.2. See https://cran.r-project.org/bin/windows/base/howto-R-4.2.html => "Linking to pre-built static libraries" for details.

Solution

  1. RTools4.2 now ships with its own version of openssl (That is good!!!)
  2. As the documentation proposes, create an new file Makevars.ucrt, which will be used on Windows and RTools >= 4.2.
  3. The GH-Actions (r-lib/actions/setup-r@v2) is not smart enough to set the correct RTools version automatically. We must set it hard-coded to 4.2