createZip | R Documentation |
Generic function for creating zip archive with set of XML documents of specification the test following the QTI schema v2.1
createZip(object, input, output, file_name, zip_only)
## S4 method for signature 'AssessmentTest'
createZip(object, input, output, file_name, zip_only)
## S4 method for signature 'AssessmentTestOpal'
createZip(object, input, output, file_name, zip_only)
object |
an instance of the S4 object AssessmentTest or AssessmentTestOpal |
input |
string, optional; a source folder with xml files |
output |
string, optional; a folder to store zip and xml files; working directory by default |
file_name |
string, optional; file name of zip archive |
zip_only |
boolean, optional; returns only zip file in case of TRUE or zip, xml and downloads files in case of FALSE value |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.