You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
selects string splitting pattern "\\s*[:;,]\\s*" which splits a Windows path like C:/Users/username/r_library/ into two pieces due to the comma. It seems that I get lucky and that /Users/username/r_library/ is defaulted to C: drive somewhere along the way. But as an unfortunate side effect a new empty folder called "C" (corresponding to the first split) is created in my project root.
The text was updated successfully, but these errors were encountered:
MilesMcBain
changed the title
Splitting pattern in for RENV_CONFIG_EXTERNAL_LIBRARIES does work well on Windows.
Splitting pattern in for RENV_CONFIG_EXTERNAL_LIBRARIES does not work well on Windows.
Jan 7, 2025
MilesMcBain
changed the title
Splitting pattern in for RENV_CONFIG_EXTERNAL_LIBRARIES does not work well on Windows.
Splitting pattern for RENV_CONFIG_EXTERNAL_LIBRARIES does not work well on Windows.
Jan 7, 2025
When using env var
RENV_CONFIG_EXTERNAL_LIBRARIES
the code here:https://github.com/rstudio/renv/blob/281ddcb90b2f742ac9e6e15682f44a9ad9858dd8/R/config.R#L137C5-L137C20
selects string splitting pattern
"\\s*[:;,]\\s*"
which splits a Windows path likeC:/Users/username/r_library/
into two pieces due to the comma. It seems that I get lucky and that/Users/username/r_library/
is defaulted to C: drive somewhere along the way. But as an unfortunate side effect a new empty folder called "C" (corresponding to the first split) is created in my project root.The text was updated successfully, but these errors were encountered: