sail {fail}R Documentation

Create a source abstraction interface layer (SAIL) object.

Description

This function returns an object of class sail which behaves like fail, but is indented for loading and saving R source code files.

Usage

  sail(path = getwd(), extension = "R", use.cache = FALSE,
    simplify = TRUE)

Arguments

path

[character(1)]
Path to work in, will be created if it does not exists.

extension

[character(1)]
File extension to work with. Default is “R”.

use.cache

[logical(1)]
Use a memory cache per global default. Global option which can locally be overwritten in most functions. Default is FALSE

simplify

[character(1)]
If only one object is defined in a sourced R file, should the return value be simplified? If set to TRUE, instead of a list containing one element the object itself will be returned.

Value

Object of class sail. See the documentation of fail for details.


[Package fail version 1.2 Index]