Learn R Programming

assertive (version 0.1-7)

assert_all_are_on_os_path: Is the path on the OS path?

Description

Is the specified path on the operating system search path?

Usage

assert_all_are_on_os_path(x)

  assert_any_are_on_os_path(x)

  is_on_os_path(x)

Arguments

x
An path to check.

Value

  • TRUE if the sepcified paths are on the OS search path.

Examples

Run this code
is_on_os_path(c(R.home("bin"), "a nonexistent path")) #probably c(TRUE, FALSE)

Run the code above in your browser using DataLab