From 40a3bbbf0dfa46323628b57f978f07557535890e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 16 Feb 2026 16:25:06 +0100 Subject: gnu: r-r-rsp: Move to (gnu packages cran). * gnu/packages/statistics.scm (r-r-rsp): Move from here... * gnu/packages/cran.scm (r-r-rsp): ...to here. Change-Id: I191366043b56b99f7cac306e195dd15e51ab6cd0 --- gnu/packages/cran.scm | 41 +++++++++++++++++++++++++++++++++++++++++ gnu/packages/statistics.scm | 41 ----------------------------------------- 2 files changed, 41 insertions(+), 41 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 604f06b543..696efbdb5a 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -6520,6 +6520,47 @@ making definition of methods as simple as possible with a minimum of maintenance for package developers.") (license license:lgpl2.1+))) +(define-public r-r-rsp + (package + (name "r-r-rsp") + (version "0.46.0") + (source (origin + (method url-fetch) + (uri (cran-uri "R.rsp" version)) + (sha256 + (base32 + "1frkgjc2mzvjnay8g5nky1bvxv60wvsypmmdj6mbsfjnzq7ni7qs")))) + (properties `((upstream-name . "R.rsp"))) + (build-system r-build-system) + (arguments + (list + ;; Vignettes require r-r-devices, which uses r-r-rsp. + #:test-types '(list "tests") + #:phases + '(modify-phases %standard-phases + (add-after 'unpack 'set-HOME + (lambda _ (setenv "HOME" "/tmp"))) + (add-after 'unpack 'delete-broken-test + (lambda _ + ;; The multi,selfcontained.R tests fail because r-r-devices is + ;; missing. It depends on r-r-rsp, so we can't add it. + (delete-file "tests/multi,selfcontained.R")))))) + (propagated-inputs + (list r-digest r-r-cache r-r-methodss3 r-r-oo r-r-utils)) + (home-page "https://github.com/HenrikBengtsson/R.rsp") + (synopsis "Dynamic generation of scientific reports") + (description + "The RSP markup language provides a powerful markup for controlling the +content and output of LaTeX, HTML, Markdown, AsciiDoc, Sweave and knitr +documents (and more), e.g. @code{Today's date is <%=Sys.Date()%>}. Contrary +to many other literate programming languages, with RSP it is straightforward +to loop over mixtures of code and text sections, e.g. in month-by-month +summaries. RSP has also several preprocessing directives for incorporating +static and dynamic contents of external files (local or online) among other +things. RSP is ideal for self-contained scientific reports and R package +vignettes.") + (license license:lgpl2.1+))) + (define-public r-r6 (package (name "r-r6") diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 87d15d064b..706738dc8d 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2203,47 +2203,6 @@ message passing.") developing R packages.") (license license:lgpl2.1+))) -(define-public r-r-rsp - (package - (name "r-r-rsp") - (version "0.46.0") - (source (origin - (method url-fetch) - (uri (cran-uri "R.rsp" version)) - (sha256 - (base32 - "1frkgjc2mzvjnay8g5nky1bvxv60wvsypmmdj6mbsfjnzq7ni7qs")))) - (properties `((upstream-name . "R.rsp"))) - (build-system r-build-system) - (arguments - (list - ;; Vignettes require r-r-devices, which uses r-r-rsp. - #:test-types '(list "tests") - #:phases - '(modify-phases %standard-phases - (add-after 'unpack 'set-HOME - (lambda _ (setenv "HOME" "/tmp"))) - (add-after 'unpack 'delete-broken-test - (lambda _ - ;; The multi,selfcontained.R tests fail because r-r-devices is - ;; missing. It depends on r-r-rsp, so we can't add it. - (delete-file "tests/multi,selfcontained.R")))))) - (propagated-inputs - (list r-digest r-r-cache r-r-methodss3 r-r-oo r-r-utils)) - (home-page "https://github.com/HenrikBengtsson/R.rsp") - (synopsis "Dynamic generation of scientific reports") - (description - "The RSP markup language provides a powerful markup for controlling the -content and output of LaTeX, HTML, Markdown, AsciiDoc, Sweave and knitr -documents (and more), e.g. @code{Today's date is <%=Sys.Date()%>}. Contrary -to many other literate programming languages, with RSP it is straightforward -to loop over mixtures of code and text sections, e.g. in month-by-month -summaries. RSP has also several preprocessing directives for incorporating -static and dynamic contents of external files (local or online) among other -things. RSP is ideal for self-contained scientific reports and R package -vignettes.") - (license license:lgpl2.1+))) - (define-public r-tidyselect (package (name "r-tidyselect") -- cgit v1.3