Best practice for temporarily loading a package without polluting Manifest.toml and Project.toml?

Say I’m working on a project and want to plot something so I add a plotting package for looking at some test data. But when my package is actually built and deployed, I don’t want the plotting package and all of its dependencies to be shipped with it.

Is there a recommended way to use libraries while developing a package without having them actually added to the Manifest.toml and Project.toml? I still want to use the exact versions of dependencies from the project’s Manifest.toml though, so I guess I want like a temporary project overlay.

]activate --temp

is the temporary project overlay you’re looking for

3 Likes