inst/extdata/example_lab_file.R

## My lab report ###
my_name <- "Foo Bar"

# Create a vector with the values pi and e
task1 <- c(pi, exp(1))  

# Create a function that return the sum of the first and last element.
task2 <- function(vector){
  vector[1] + vector[length(vector)]
}

# mark_my_assignment()

Try the markmyassignment package in your browser

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

markmyassignment documentation built on May 29, 2024, 2:57 a.m.