How do I load devtoolset compilers in an renv?

I have an renv that requires odbc so I need to use a more modern compiler from devtoolset-10 to build it but I'm not sure what the correct method is? The renv is supposed to be self-contained and reproducible so I don't want to do a load of command-line stuff that's never going to work for another user. Should I set the $PATH in the renv's .Rprofile or is there a better way?
Any ideas greatly appreciated :slight_smile:

This topic was automatically closed 42 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.