hasFunction: Check if a package has a function installed

View source: R/misc.R

hasFunctionR Documentation

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


Crunch-io/rcrunch documentation built on April 1, 2024, 1:14 a.m.