is.dummy {Simile}R Documentation

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)

Arguments

path.or.handle

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

Value

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

Author(s)

Jasper Taylor

Examples

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

[Package Simile version 1.3.3 Index]