inst/example_data/foo.reader.R

foo.reader <- function(data.file, filename, variable.name)
{
  assign(variable.name,
         "bar",
         envir = .GlobalEnv)
  return()
	
}

.add.extension('foo', 'foo.reader')

Try the ProjectTemplate package in your browser

Any scripts or data that you put into this service are public.

ProjectTemplate documentation built on July 4, 2024, 1:10 a.m.