Check package

checkPkg(pkg)

Arguments

pkg

Package name

Value

If present load package, otherwise throw error.