Function processes number of completed assignments and outputs a single R-script with the question and all students answers AND correct answeers

process_assignments(path_assignments = "~/btsync/workspace/ropengov/edutest/basics",
  package = "edudata", outfile_name = "basics_summary",
  outfile_path = "~/btsync/workspace/ropengov/edutest/")

Arguments

path_assignments

Absolute path to the folder containing the completed assignments as R.scripts ending either with .R or .r

package

Name of the installed package that was used to create the assingment and that contains the correct answers

outfile_name

Name of the the output script

outfile_path

Absolute path to the folder where scipt should be written

Value

A R-script

Examples

# NOT RUN { process_assignments(path_assignments = "~/btsync/workspace/ropengov/edutest/basics", package = "edudata", outfile_name = "basics_summary", outfile_path = "~/btsync/workspace/ropengov/edutest/") # }