inst/extdata/example_dir/example_lab_file1.R

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

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

# Create a function that return the sum of the first and last element.
task2 <- function(vector){
  vector[1] + vector[length(vector)]
}
MansMeg/markmyassignment documentation built on Jan. 31, 2024, 4:11 p.m.