Replies: 2 comments 1 reply
-
I've hacked this previously with absolute paths - usually to the dismay of others that needed to make it then work in another environment.
Wonder if Main question could be what to return for |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I'm maintaining some complex content that can optionally leverage a separate package if it's available. Currently it just
@load
s that package, forcing me to install it. I'd like a way to conditionally see whether the package is installed. I can then make decisions based on the result, such as@load
ing it if it is, and@load
ing an alternative if not, or whatever. AFAIK, there's no way to currently do this from within a script - seems like a handy, and pretty straightforward, addition.Beta Was this translation helpful? Give feedback.
All reactions