clipr (version 0.3.3)

clipr_available: Is the system clipboard available?

Description

Checks to see if the system clipboard is write-able/read-able. This may be useful if you are developing a package that relies on clipr and need to ensure that it will skip tests on machines (e.g. CRAN, Travis) where the system clipboard may not be available.

Usage

clipr_available()

Arguments

Value

boolean

Examples

Run this code

# When using testthat:
library(testthat)
skip_if_not(clipr_available())


Run the code above in your browser using DataLab