From 69ba3b728fc977810887aee20efebb13752ed0f4 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 2 Jul 2024 10:46:28 +0200 Subject: [PATCH] gnu: Add r-countrycode. * gnu/packages/cran.scm (r-countrycode): New variable. Change-Id: I032ee3e5491c1678ef46dd42f31dcea53b2594c0 --- gnu/packages/cran.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index bbdd935909..a7bfc548c8 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -631,6 +631,26 @@ correlations, multilevel correlations, polychoric correlations, biweight correlations, distance correlations and more.") (license license:gpl3))) +(define-public r-countrycode + (package + (name "r-countrycode") + (version "1.6.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "countrycode" version)) + (sha256 + (base32 "1dix4prcavwbi7l7ifw1frvpmqqdcrvk4c45xl7ckg6068713nzr")))) + (properties `((upstream-name . "countrycode"))) + (build-system r-build-system) + (home-page "https://vincentarelbundock.github.io/countrycode/") + (synopsis "Convert country names and country codes") + (description + "This package lets you standardize country names, convert them into one +of 40 different coding schemes, convert between coding schemes, and assign +region descriptors.") + (license license:gpl3))) + (define-public r-cplm (package (name "r-cplm")