Description Usage Arguments Details Value Examples
Tracks files that read by functions not in adapr and captures the file information within dependency object
1 | ReadTrack(file.name = "data.csv", description = "Data file")
|
file.name |
name of file (vectorized) |
description |
description of data file (vectorized) |
Allows tracking of files read by other functions than Read. Assumes file is in project "Data" directory
Filepath of file to read
1 2 3 4 5 6 7 8 9 10 | ## Not run:
source_info <- create_source_file_dir("adaprHome","tree_controller.R")
write.csv(cars,file.path(source_info$data.dir,"test.csv"))
# Read with any function
temp <- utils::read.csv(file.path(source_info$data.dir,"test.csv"))
ReadTrack("test.csv","cars dataframe")
# Will track the file as though read with Read().
file.remove(file.path(source_info$data.dir,"test.csv"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.