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.
1 2 3
Pass other options to
clipr_available returns a boolean value.
Prints an informative message to the console with software and system configuration requirements if clipr is not available (invisibly returns the same string)
This will automatically return
FALSE, without even performing the
check, if you are running in a non-interactive session. If you must call
this non-interactively, be sure to call using
clipr_available(allow_non_interactive = TRUE), or by setting the
CLIPR_ALLOW=TRUE. Do not attempt to run
clipr non-interactively on CRAN; this will result in a failed build!
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.