Learn R Programming

assertive (version 0.2-6)

assert_all_are_libraries: Is the directory a known R library?

Description

Checks to see if the input directories are known R libraries.

Usage

assert_all_are_libraries(x)

assert_any_are_libraries(x)

is_library(x)

Arguments

x
Directory paths

Value

  • is_library returns TRUE if and only if the input paths are known R package libraries. That is, they must be paths returned by .libPaths.