gnu: Add r-learnr.

* gnu/packages/cran.scm (r-learnr): New variable.
This commit is contained in:
Ricardo Wurmus 2018-05-23 13:43:20 +02:00 committed by Ricardo Wurmus
parent 94a8990f78
commit 2b47ebe1a6
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -3994,3 +3994,35 @@ (define-public r-rappdirs
user's computer should be used to save data, caches and logs. It is a port of
Python's @url{https://github.com/ActiveState/appdirs,Appdirs} to R.")
(license license:expat)))
(define-public r-learnr
(package
(name "r-learnr")
(version "0.9.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "learnr" version))
(sha256
(base32
"1z04c1djg7ghsl7p9ypc6k5m7snahnmjy10xmrzqfayx1wkfkn9n"))))
(build-system r-build-system)
(propagated-inputs
`(("r-evaluate" ,r-evaluate)
("r-htmltools" ,r-htmltools)
("r-htmlwidgets" ,r-htmlwidgets)
("r-jsonlite" ,r-jsonlite)
("r-knitr" ,r-knitr)
("r-markdown" ,r-markdown)
("r-rappdirs" ,r-rappdirs)
("r-rmarkdown" ,r-rmarkdown)
("r-rprojroot" ,r-rprojroot)
("r-shiny" ,r-shiny)
("r-withr" ,r-withr)))
(home-page "https://rstudio.github.io/learnr/")
(synopsis "Interactive tutorials for R")
(description
"This package provides tools to create interactive tutorials using R
Markdown. Use a combination of narrative, figures, videos, exercises, and
quizzes to create self-paced tutorials for learning about R and R packages.")
(license license:asl2.0)))