createFileInfo: Creates a list containing information about a file

Description Usage Arguments Value Examples

Description

Creates a list containing information about a file

Usage

1
createFileInfo(path, file, description = "", dbname = "", si = NULL)

Arguments

path

is the directory file resides

file

is the filename

description

is the description of the file

dbname

is the database name

si

is the source_info list default is null

Value

file info list with path filename fullname description and db.name

Examples

1
2
3
4
5
6
## Not run: 
file0 <- file.path(pullSourceInfo("adaprHome")$project.path,
project.directory.tree$analysis,"read_data.R")
createFileInfo(dirname(file0),basename(file0),"a program that reads")

## End(Not run) 

adapr documentation built on May 1, 2019, 7:05 p.m.