From 6a3144bd27df38ce1538a42a7977df25ba655eda Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 18 Feb 2023 13:01:54 +0100 Subject: [PATCH] gnu: Add r-gfonts. * gnu/packages/cran.scm (r-gfonts): New variable. --- gnu/packages/cran.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 52af3c7b63..b110cee0ca 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -541,6 +541,34 @@ (define-public r-emdist Distance (EMD).") (license license:expat))) +(define-public r-gfonts + (package + (name "r-gfonts") + (version "0.2.0") + (source (origin + (method url-fetch) + (uri (cran-uri "gfonts" version)) + (sha256 + (base32 + "19ja087k767bq71v2w4jcpynd62ysrqmjf6rpfnmmd40aanyxqkj")))) + (properties `((upstream-name . "gfonts"))) + (build-system r-build-system) + (propagated-inputs + (list r-crayon + r-crul + r-glue + r-htmltools + r-jsonlite + r-shiny)) + (native-inputs (list r-knitr)) + (home-page "https://dreamrs.github.io/gfonts/") + (synopsis "Offline Google fonts for Markdown and Shiny") + (description + "This package lets you download Google fonts and generate CSS to use in +rmarkdown documents and Shiny applications. Some popular fonts are included +and ready to use.") + (license license:gpl3))) + (define-public r-ggalt (package (name "r-ggalt")