guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/40: gnu: Add r-suntools.


From: guix-commits
Subject: 02/40: gnu: Add r-suntools.
Date: Tue, 23 Jan 2024 07:43:21 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 2e08d0d631fcc307a503bed200ba82dc5693bf09
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Jan 23 08:25:31 2024 +0100

    gnu: Add r-suntools.
    
    * gnu/packages/cran.scm (r-suntools): New variable.
    
    Change-Id: Id1cb0828e8046ce635edc124c3f99bc891806cdd
---
 gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index fbd174c607..618b785267 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -8017,6 +8017,33 @@ for Environmental Statistics\" (Millard, 2013, Springer, 
ISBN
 @url{https://link.springer.com/book/10.1007/978-1-4614-8456-1}).")
     (license license:gpl3+)))
 
+(define-public r-suntools
+  (package
+    (name "r-suntools")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "suntools" version))
+       (sha256
+        (base32 "1qlp0q2ckqg5v3yvbr98k3nr9awgg7ks0l1103nqvm1ssadv7ds2"))))
+    (properties `((upstream-name . "suntools")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-sf))
+    (home-page "https://github.com/adokter/suntools/";)
+    (synopsis
+     "Calculate sun position, sunrise, sunset, solar noon and twilight")
+    (description
+     "This package provides a set of convenient functions for calculating
+sun-related information, including the sun's position (elevation and azimuth),
+and the times of sunrise, sunset, solar noon, and twilight for any given
+geographical location on Earth.  These calculations are based on equations
+provided by the National Oceanic & Atmospheric Administration (NOAA) as
+described in \"Astronomical Algorithms\" by Jean Meeus (1991).  A resource for
+researchers and professionals working in fields such as climatology, biology,
+and renewable energy.")
+    (license license:gpl3+)))
+
 (define-public r-suppdists
   (package
     (name "r-suppdists")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]