Skip to content

Reproducible-Bioinformatics/withscratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

withscratch

Execute code inside a scratch directory context.


Get the latest release.

Usage example:

with_scratch(
  source_directory = "/your/source/",
  target_directory = "/the/target",
  callback_function = function(target_directory) {
    # Your analysis here, using the target_directory.
  },
  cleanup_after = TRUE,
  copy_pattern = "result.txt"
)

About

Scratch Directory Management Library for R.

Resources

License

Stars

Watchers

Forks

Packages

No packages published