1- # ' Prepare a learnr tutorial for learndown recording
1+ # ' Prepare a learnr tutorial for learnitdown recording
22# '
3- # ' These functions add recording functionalities through the learndown approach.
3+ # ' These functions add recording features through the learnitdown approach.
44
55# ' @param cap The caption of learnr R code widgets.
66# ' @param debug Do we issue debugging messages (by default, yes if the
7- # ' environment variables `LEARNDOWN_DEBUG ` is not `0`).
7+ # ' environment variables `LEARNITDOWN_DEBUG ` is not `0`).
88# '
99# ' @export
1010learnr_setup <- function (cap = " Code R" ,
11- debug = Sys.getenv(" LEARNDOWN_DEBUG " , 0 ) != 0 ) {
12- learndown :: learndownLearnrSetup (config = BioDataScience :: config(),
11+ debug = Sys.getenv(" LEARNITDOWN_DEBUG " , 0 ) != 0 ) {
12+ learnitdown :: learnitdownLearnrSetup (config = BioDataScience :: config(),
1313 sign_in = BioDataScience :: sign_in(), cap = cap , debug = debug )
1414 # Eliminate praise sentence in English before results
1515 options(
@@ -25,11 +25,11 @@ debug = Sys.getenv("LEARNDOWN_DEBUG", 0) != 0) {
2525# ' @param simple Do we use a simple banner without title or not?
2626learnr_banner <- function (simple = FALSE ) {
2727 if (isTRUE(simple )) {
28- learndownLearnrBanner (
28+ learnitdownLearnrBanner (
2929 msg.nologin = ' Utilisateur anonyme, aucun enregistrement !' ,
3030 msg.login = ' Enregistrement actif pour ' )
3131 } else {
32- learndownLearnrBanner (
32+ learnitdownLearnrBanner (
3333 title = " Science des donn\u 00e9es biologiques\ III" ,
3434 text = " R\u 00e9alis\u 00e9 par le service d'\u 00c9cologie num\u 00e9rique, Universit\u 00e9 de Mons (Belgique)" ,
3535 image = " https://wp.sciviews.org/BioDataScience-96.png" ,
@@ -45,4 +45,4 @@ learnr_banner <- function(simple = FALSE) {
4545# ' @param output The Shiny output.
4646# ' @param session The Shiny session.
4747learnr_server <- function (input , output , session )
48- learndownLearnrServer (input , output , session )
48+ learnitdownLearnrServer (input , output , session )
0 commit comments