rekado pushed a commit to branch master in repository guix. commit b58940cb0345705a9681f2c47d668f252d00a699 Author: Ricardo Wurmus <rek...@elephly.net> Date: Wed Nov 7 11:27:41 2018 +0100
gnu: Add r-ncdf4. * gnu/packages/cran.scm (r-ncdf4): New variable. --- gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 43ff292..11f7717 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -7280,3 +7280,30 @@ This package provides an R interface.") ;; Annoy is released under ASL 2.0, but this wrapper is released under ;; GPLv2+. (license (list license:gpl2+ license:asl2.0)))) + +(define-public r-ncdf4 + (package + (name "r-ncdf4") + (version "1.16") + (source + (origin + (method url-fetch) + (uri (cran-uri "ncdf4" version)) + (sha256 + (base32 + "0lwjjis0b83c4l3xvqai4ckzrskd6mychck1iwxcxgjvh0d77mgd")))) + (build-system r-build-system) + (inputs + `(("netcdf" ,netcdf) + ("zlib" ,zlib))) + (home-page "https://cran.r-project.org/web/packages/ncdf4/index.html") + (synopsis "R interface to Unidata netCDF format data files") + (description + "This package provides a high-level R interface to data files written +using Unidata's netCDF library (version 4 or earlier), which are binary data +files that are portable across platforms and include metadata information in +addition to the data sets. Using this package, netCDF files can be opened and +data sets read in easily. It is also easy to create new netCDF dimensions, +variables, and files, in either version 3 or 4 format, and manipulate existing +netCDF files.") + (license license:gpl3+)))