Use this function if your resource/indicator function requires the
namespace of a certain package to be available. An informative error
message is printed if that is not the case.
Arguments
- pkg
A character vector of length one indicating a package name
for which the namespace is tested
Value
TRUE, invisible, if the namespace is available. An error message
otherwise.