Runs some R code with additional modules loaded, in addition to the currently loaded modules, without affecting your current modules.
Examples
system2("python3", "--version") |> with_extra_modules("python", code=_)
#> ✔ Successfully loaded python
#> ✔ Successfully unloaded python