inst/extdata/example_dir/example_lab_file2.R

## My lab report ###
my_name <- "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[2]
}
MansMeg/markmyassignment documentation built on Jan. 31, 2024, 4:11 p.m.