upload2LMS | R Documentation |
This is a generic function that handles the process of uploading content to
a Learning Management System (LMS). The content can be in the form of an
AssessmentTest
, AssessmentTestOpal
, AssessmentItem
object, or a file in
Rmd, Markdown, zip or XML format.
This is a method that handles the process of uploading content to
a Learning Management System (LMS). The content can be in the form of an
AssessmentTest
, AssessmentTestOpal
, AssessmentItem
object, or a file in
Rmd, Markdown, zip or XML format.
This is a generic function that handles the process of uploading content to
LMS Opal. The content can be in the form of an AssessmentTest
,
AssessmentTestOpal
, AssessmentItem
object, or a file in Rmd, Markdown,
zip or XML format.
upload2LMS(object, test, ...)
## S4 method for signature 'LMS'
upload2LMS(object, test, ...)
## S4 method for signature 'Opal'
upload2LMS(
object,
test,
display_name = NULL,
access = 4,
overwrite = TRUE,
open_in_browser = TRUE,
as_survey = FALSE
)
object |
An S4 object representing the LMS, such as an instance of the Opal class. |
test |
An AssessmentTest, AssessmentTestOpal or AssessmentItem objects, or a character string with path to Rmd/md, zip or XML files. |
... |
Additional arguments to be passed to the method, if applicable. |
display_name |
A length one character vector to entitle resource in OPAL; file name without extension or identifier of the object by default; optional. |
access |
An integer value, optional; it is responsible for publication status, where 1 - only those responsible for this learning resource; 2 - responsible and other authors; 3 - all registered users; 4 - registered users and guests. Default is 4. |
overwrite |
A boolean value. If |
open_in_browser |
A boolean value; optional; it controls whether to open
a URL in default browser. Default is |
as_survey |
A boolean value, optional. If |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.