install

open override fun install(reference: String, projectRoot: FsEntry): ResolvedPackage

Makes the package available locally, replacing a previously installed different version. May perform network access and write files.

Return

the installed package

Parameters

reference

the reference as written in the document

projectRoot

directory of the main document, under which packages are installed

Throws

if the package cannot be retrieved or written