Compiler Support fo C++ 14 Features on Windows

Hi,

I tried enabling rtools version 40 in GitHub - lcolladotor/actions at support_win_rtools_40 by editing the construction of the URL in r-lib/actions/setup-r. I thought it could be a simple fix & a small PR.

https://cran.r-project.org/bin/windows/Rtools/Rtools35.exe
https://cran.r-project.org/bin/windows/Rtools/rtools40-x86_64.exe

But well, my tests failed at https://github.com/LieberInstitute/recount3/actions/runs/81919721 with no apparent error message (just like in https://github.com/const-ae/sparseMatrixStats/runs/522036454?check_suite_focus=true#step:3:4):

Run lcolladotor/actions/setup-r@support_win_rtools_40
  with:
    r-version: devel
    rtools-version: 40
    Ncpus: 1
    crayon.enabled: TRUE
    remove-openmp-macos: true
  env:
    R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
    RSPM: 
    BIOCVERSIONNUM: 3.11
choco install qpdf --no-progress
d:\a\_temp\R-devel-win.exe /VERYSILENT /SUPPRESSMSGBOXES /DIR=C:\R
Chocolatey v0.10.15
Installing the following packages:
qpdf
By installing you accept licenses for the packages.

qpdf v10.0.1 [Approved]
qpdf package files install completed. Performing other installation steps.
Extracting C:\ProgramData\chocolatey\lib\qpdf\tools\qpdf-10.0.1-bin-mingw32_x32.zip to C:\ProgramData\chocolatey\lib\qpdf\tools...
C:\ProgramData\chocolatey\lib\qpdf\tools
 ShimGen has successfully created a shim for fix-qdf.exe
 ShimGen has successfully created a shim for qpdf.exe
 ShimGen has successfully created a shim for zlib-flate.exe
 The install of qpdf was successful.
  Software installed to 'C:\ProgramData\chocolatey\lib\qpdf\tools'

I tried a few more tests in GitHub - lcolladotor/actions at support_win_rtools_40_edit_repo_config with Complete the trifecta of tests · LieberInstitute/recount3@b28956f · GitHub being the latest one producing this report https://github.com/LieberInstitute/recount3/runs/599006630?check_suite_focus=true.

I do see one error elsewhere that seems unrelated to me:

Exit code 1 returned from process: file name 'c:\runners\2.169.0\bin\Runner.PluginHost.exe', arguments 'action "GitHub.Runner.Plugins.Artifact.PublishArtifact, Runner.Plugins"'.

Anyway, you might be interested in this @const-ae. Though most likely we'll have to rely on Jim's magic :wink:

Best,
Leo