Learn R Programming

bisectr (version 0.1.0)

bisect_require: Load a package like require(), for bisect tests.

Description

If the package fails to load, the default behavior is to mark this commit as skip.

Usage

bisect_require(package, on_fail = "skip")

Arguments

package
Name of package
on_fail
What to do if loading fails (default "skip")

Details

This function is usually used together with bisect_install.

See Also

bisect_install

bisect_load_all

bisect_source

bisect_runtest

bisect_return_interactive