R/diagnose_login.R
diagnose_login.Rd
This function is used, inside an R Markdown document, to dynamically elaborate a short report on the client-side (by using JavaScript code) that displays the login status of the user (login, contextual data, ...).
diagnose_login(block = "info", lang = "en")
Should the diagnostic be included in a block construct
(not if NULL
)?
The language to use for diagnostic output (only 'en'
or 'fr'
currently)
Nothing, the function is used for its side-effect of adding diagnostic code in the document
Wherever you want to display this diagnostic report in your bookdown page,
add on its own line the following instruction:
'r learnitdown::diagnose_login()' between backquotes (you can also change
lang
, if you want).