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/")
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 |
A R-script
# NOT RUN { process_assignments(path_assignments = "~/btsync/workspace/ropengov/edutest/basics", package = "edudata", outfile_name = "basics_summary", outfile_path = "~/btsync/workspace/ropengov/edutest/") # }