diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index bebd574f41851043ff1e341e8045e6116c5a913d..3f65e6afa521a36d3c463329ed6df18c5e2083fd 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -269,6 +269,15 @@ (define r-with-tests (substitute* "tools/help2man.pl" (("my \\$date = strftime \"%B %Y\", localtime" line) (string-append line " 1")))) + + ;; The "References" section of this file when converted to + ;; package.rds is sometimes stored with a newline, sometimes with + ;; a space. We avoid this problem by adding characters to break + ;; up the series of line break and spaces that is suspected to be + ;; the culprit. + (substitute* "src/library/methods/DESCRIPTION.in" + ((" ``Software") + " -- ``Software")) #t)) (add-before 'build 'set-locales (lambda _