Is a package attached?

isAttached(pkg)

Arguments

pkg

Either character or unquoted.

Value

TRUE if pkg is attached.