Evaluate an expression with a package loaded
The package will be installed into a temporary directory. Then all required dependencies will be loaded, and the package will be loaded as well.
- Path to the package directory and tarball to load.
- Expression to evaluate.
After the expression is evaluated, all dependencies and the package itself will be unloaded, and the temporary library directory will be deleted. The library path will be also restored.
Value of the evaluated expression.