Learn R Programming

Simile (version 1.3.4)

is.dummy: Test if a path or handle is a 'dummy' whose only purpose is to allow tests to run.

Description

When any of the functions in the package are called, if this returns 'true' on their first argument, no actual Simile interaction will be attempted but some sample output may be returned.

Usage

is.dummy(path.or.handle)

Value

A boolean which is true in the case of a dummy argument.

Arguments

path.or.handle

The file path or handle which is being tested for dummy-ness.

Author

Jasper Taylor

Examples

Run this code
is.dummy("dummy.dll")
# [1] TRUE
is.dummy("~/.simile/Examples/spiro.so")
# [1] FALSE

Run the code above in your browser using DataLab