Re: Pkg.is_installed(_), Pkg.is_missing(_) Pkg.has(_)
On Monday, June 27, 2016 at 1:48:41 PM UTC-4, Yichao Yu wrote: > > On Mon, Jun 27, 2016 at 1:43 PM, Cameron McBride > <[email protected] <javascript:>> wrote: > > > > > > On Mon, Jun 27, 2016 at 1:02 PM, Yichao Yu <[email protected] > <javascript:>> wrote: > >> > >> On Jun 27, 2016 12:58 PM, "Tom Breloff" <[email protected] <javascript:>> > wrote: > >> > > >> > Yichao: is there an alternative "is_installed" definition that would > >> > check the load path? Lets assume I don't actually want to import it, > just > >> > check. > >> > >> No. > > > > Seems like potentially useful function for Pkg module? > > https://github.com/JuliaLang/julia/issues/8679 > > > > > Pkg.is_installed(pkgstr) > > > > Or perhaps more useful: is_missing(...) > > > > Although just having several Pkg.add(...) statements for a "setup" step > also > > seems reasonable. > > > > Cameron >
