crunch (version 1.27.7)

hasFunction: Check if a package has a function installed

Description

This is useful for handling if the user has the correct version of a suggested package installed.

Usage

hasFunction(fun, pkg)

Arguments

fun

a string, name of the function to search for

pkg

a string, the package to search for the function in

Value

Logical