View source: R/make_a_recorder.R
This function is used internally and is not intended for authors (or users) of tutorials. Recorder functions are called automatically by 'learnr' in response to an event. There is a standard set of arguments for any recorder function. The function constructs another function which will be the one actually used by 'learnr'.
1 | make_a_recorder(store_fun, submitr_id)
|
store_fun |
A call to one of the constructors for a storage mode. Possibilities: - 'record_local(filename)' - 'record_gs4(key, email, vfun)' where 'key' is the identifier for the particular Google Sheet to be used in account 'email'. The 'vfun' function handles authentication. |
submitr_id |
The user ID as authenticated during login. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.