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
path_home() vs path_home_r() (and their path_expand*() friends)
What about an absolute that path that IS the same for everyone? I.e. what if we're all grabbing something from a network share?
This is much "safer" than "C:/path/that/ONLY/I have".
The main principle for finding a good approach is to centralize / abstract this as much as possible. Does the network path change every so often? It might be worth creating an internal package for the org or lab to make such paths. If the location changes, update the package and all existing scripts should work. An individual could implement something similar by storing the path to the network share in an env var or option; then build safer paths in scripts, relative to that.
The text was updated successfully, but these errors were encountered:
Things that came up:
path_home()
vspath_home_r()
(and theirpath_expand*()
friends)The text was updated successfully, but these errors were encountered: