This is a file with a function in it. The function's output depends on dependency.txt and the function gets used in script_to_freeze.R.

print_dependency_contents = function( ){

  print( readLines( "dependency.txt" ))
  write.table(rnorm(5), file.path( Sys.getenv()[["FREEZR_DESTINATION"]], "custom_user_output.txt" ) )
  hist( rnorm(50), main = "I'm a histogram!" )
}


ekernf01/freezr documentation built on Feb. 8, 2022, 5:22 a.m.