AddPackage.jl

Julia macro to add missing packages when calling `using Package`
Author mossr
Popularity
1 Star
Updated Last
11 Months Ago
Started In
September 2020

AddPackage.jl

Build Status codecov

An @add macro to automatically add a missing package when calling using Package in Julia.

Example:

@add using Distributions

This will run using Distributions if it's already installed, otherwise will install the package, then run using Distributions.

Installation:

] add AddPackage

Usage:

using AddPackage
@add using Distributions
@add using Random, Parameters, LinearAlgebra

Written by Robert Moss.