* [bug#42106] [PATCH] gnu: Add r-sparklyr and its dependencies @ 2020-06-28 8:56 Lo Peter 2020-06-28 8:57 ` [bug#42106] [PATCH 1/4] gnu: Add r-r2d3 Peter Lo 2020-09-11 9:26 ` [bug#42106] [PATCH] gnu: Add r-sparklyr and its dependencies Ricardo Wurmus 0 siblings, 2 replies; 9+ messages in thread From: Lo Peter @ 2020-06-28 8:56 UTC (permalink / raw) To: 42106 Dear all, I am submitting a patch series of r-sparklyr and its dependencies. Regards, Peter ^ permalink raw reply [flat|nested] 9+ messages in thread
* [bug#42106] [PATCH 1/4] gnu: Add r-r2d3. 2020-06-28 8:56 [bug#42106] [PATCH] gnu: Add r-sparklyr and its dependencies Lo Peter @ 2020-06-28 8:57 ` Peter Lo 2020-06-28 8:57 ` [bug#42106] [PATCH 2/4] gnu: Add r-forge Peter Lo ` (3 more replies) 2020-09-11 9:26 ` [bug#42106] [PATCH] gnu: Add r-sparklyr and its dependencies Ricardo Wurmus 1 sibling, 4 replies; 9+ messages in thread From: Peter Lo @ 2020-06-28 8:57 UTC (permalink / raw) To: 42106; +Cc: Peter Lo * gnu/packages/cran.scm (r-r2d3): New variable. --- gnu/packages/cran.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index ab5e57c0e2..b92d3341b4 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -22325,3 +22325,33 @@ across a wide array of bioinformatic R packages.") and clustering large sequence datasets using fast alignment-free k-mer counting and recursive k-means partitioning.") (license license:gpl3))) + +(define-public r-r2d3 + (package + (name "r-r2d3") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (cran-uri "r2d3" version)) + (sha256 + (base32 + "0v612mbzdjr8cq1ffall9hagbwxfv7fh963x8f0w5r84v1m3y2bl")))) + (properties `((upstream-name . "r2d3"))) + (build-system r-build-system) + (propagated-inputs + `(("r-htmltools" ,r-htmltools) + ("r-htmlwidgets" ,r-htmlwidgets) + ("r-jsonlite" ,r-jsonlite) + ("r-rstudioapi" ,r-rstudioapi))) + (native-inputs `(("r-knitr" ,r-knitr))) + (home-page "https://github.com/rstudio/r2d3") + (synopsis "Interface to 'D3' Visualizations") + (description + "Suite of tools for using @code{D3}, a library for producing dynamic, +interactive data visualizations. Supports translating objects into +@code{D3} friendly data structures, rendering @code{D3} scripts, +publishing @code{D3} visualizations, incorporating @code{D3} in R +Markdown, creating interactive @code{D3} applications with Shiny, and +distributing @code{D3} based @code{htmlwidgets} in R packages.") + (license license:bsd-3))) -- 2.17.1 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#42106] [PATCH 2/4] gnu: Add r-forge. 2020-06-28 8:57 ` [bug#42106] [PATCH 1/4] gnu: Add r-r2d3 Peter Lo @ 2020-06-28 8:57 ` Peter Lo 2020-06-28 8:57 ` [bug#42106] [PATCH 3/4] gnu: Add r-config Peter Lo ` (2 subsequent siblings) 3 siblings, 0 replies; 9+ messages in thread From: Peter Lo @ 2020-06-28 8:57 UTC (permalink / raw) To: 42106; +Cc: Peter Lo * gnu/packages/cran.scm (r-forge): New variable. --- gnu/packages/cran.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index b92d3341b4..93a487deb3 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -22355,3 +22355,26 @@ publishing @code{D3} visualizations, incorporating @code{D3} in R Markdown, creating interactive @code{D3} applications with Shiny, and distributing @code{D3} based @code{htmlwidgets} in R packages.") (license license:bsd-3))) + +(define-public r-forge + (package + (name "r-forge") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "forge" version)) + (sha256 + (base32 + "0pjfzsc35agkh0zfw2czwajkbsyn6liys5irl5bhz5r1vim3jmwa")))) + (properties `((upstream-name . "forge"))) + (build-system r-build-system) + (propagated-inputs + `(("r-magrittr" ,r-magrittr) ("r-rlang" ,r-rlang))) + (home-page + "https://cran.r-project.org/web/packages/forge/") + (synopsis "Casting Values into Shape") + (description + "Helper functions with a consistent interface to coerce and +verify the types and shapes of values for input checking.") + (license license:asl2.0))) -- 2.17.1 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#42106] [PATCH 3/4] gnu: Add r-config. 2020-06-28 8:57 ` [bug#42106] [PATCH 1/4] gnu: Add r-r2d3 Peter Lo 2020-06-28 8:57 ` [bug#42106] [PATCH 2/4] gnu: Add r-forge Peter Lo @ 2020-06-28 8:57 ` Peter Lo 2020-06-28 8:57 ` [bug#42106] [PATCH 4/4] gnu: Add r-sparklyr Peter Lo 2020-09-11 9:19 ` [bug#42106] [PATCH 1/4] gnu: Add r-r2d3 Ricardo Wurmus 3 siblings, 0 replies; 9+ messages in thread From: Peter Lo @ 2020-06-28 8:57 UTC (permalink / raw) To: 42106; +Cc: Peter Lo * gnu/packages/cran.scm (r-config): New variable. --- gnu/packages/cran.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 93a487deb3..8d72cfdd78 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -22378,3 +22378,28 @@ distributing @code{D3} based @code{htmlwidgets} in R packages.") "Helper functions with a consistent interface to coerce and verify the types and shapes of values for input checking.") (license license:asl2.0))) + +(define-public r-config + (package + (name "r-config") + (version "0.3") + (source + (origin + (method url-fetch) + (uri (cran-uri "config" version)) + (sha256 + (base32 + "0l67nfpm42ssnk0bl4jmq6bibz8hawgfgh2s14s5c8mnimv6mpjs")))) + (properties `((upstream-name . "config"))) + (build-system r-build-system) + (propagated-inputs `(("r-yaml" ,r-yaml))) + (native-inputs `(("r-knitr" ,r-knitr))) + (home-page "https://github.com/rstudio/config") + (synopsis + "Manage Environment Specific Configuration Values") + (description + "Manage configuration values across multiple environments (e.g. +development, test, production). Read values using a function that +determines the current environment and returns the appropriate +value.") + (license license:gpl3))) -- 2.17.1 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#42106] [PATCH 4/4] gnu: Add r-sparklyr. 2020-06-28 8:57 ` [bug#42106] [PATCH 1/4] gnu: Add r-r2d3 Peter Lo 2020-06-28 8:57 ` [bug#42106] [PATCH 2/4] gnu: Add r-forge Peter Lo 2020-06-28 8:57 ` [bug#42106] [PATCH 3/4] gnu: Add r-config Peter Lo @ 2020-06-28 8:57 ` Peter Lo 2020-09-11 9:19 ` [bug#42106] [PATCH 1/4] gnu: Add r-r2d3 Ricardo Wurmus 3 siblings, 0 replies; 9+ messages in thread From: Peter Lo @ 2020-06-28 8:57 UTC (permalink / raw) To: 42106; +Cc: Peter Lo * gnu/packages/cran.scm (r-sparklyr): New variable. --- gnu/packages/cran.scm | 50 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 8d72cfdd78..4746b74777 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -22403,3 +22403,53 @@ development, test, production). Read values using a function that determines the current environment and returns the appropriate value.") (license license:gpl3))) + +(define-public r-sparklyr + (package + (name "r-sparklyr") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "sparklyr" version)) + (sha256 + (base32 + "15arppq15snihhzk7dwc25ihz7xdn4bxscs5rp4jnfsd643kq0bj")))) + (properties `((upstream-name . "sparklyr"))) + (build-system r-build-system) + (propagated-inputs + `(("r-assertthat" ,r-assertthat) + ("r-base64enc" ,r-base64enc) + ("r-config" ,r-config) + ("r-dbi" ,r-dbi) + ("r-dbplyr" ,r-dbplyr) + ("r-digest" ,r-digest) + ("r-dplyr" ,r-dplyr) + ("r-ellipsis" ,r-ellipsis) + ("r-forge" ,r-forge) + ("r-generics" ,r-generics) + ("r-globals" ,r-globals) + ("r-httr" ,r-httr) + ("r-jsonlite" ,r-jsonlite) + ("r-openssl" ,r-openssl) + ("r-purrr" ,r-purrr) + ("r-r2d3" ,r-r2d3) + ("r-rappdirs" ,r-rappdirs) + ("r-rjson" ,r-rjson) + ("r-rlang" ,r-rlang) + ("r-rprojroot" ,r-rprojroot) + ("r-rstudioapi" ,r-rstudioapi) + ("r-tibble" ,r-tibble) + ("r-tidyr" ,r-tidyr) + ("r-uuid" ,r-uuid) + ("r-withr" ,r-withr) + ("r-xml2" ,r-xml2))) + (home-page "https://spark.rstudio.com/") + (synopsis "R Interface to Apache Spark") + (description + "R interface to Apache Spark, a fast and general engine for big +data processing, see <http://spark.apache.org>. This package supports +connecting to local and remote Apache Spark clusters, provides a +@code{dplyr} compatible back-end, and provides an interface to Spark's +built-in machine learning algorithms.") + (license license:asl2.0))) -- 2.17.1 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#42106] [PATCH 1/4] gnu: Add r-r2d3. 2020-06-28 8:57 ` [bug#42106] [PATCH 1/4] gnu: Add r-r2d3 Peter Lo ` (2 preceding siblings ...) 2020-06-28 8:57 ` [bug#42106] [PATCH 4/4] gnu: Add r-sparklyr Peter Lo @ 2020-09-11 9:19 ` Ricardo Wurmus 2020-09-12 7:54 ` Lo Peter 2021-08-30 14:03 ` Ricardo Wurmus 3 siblings, 2 replies; 9+ messages in thread From: Ricardo Wurmus @ 2020-09-11 9:19 UTC (permalink / raw) To: Peter Lo; +Cc: 42106 Hi Peter, > * gnu/packages/cran.scm (r-r2d3): New variable. Unfortunately, I cannot merge this as is. This package contains a bunch of minified JavaScript files without the corresponding source code: --8<---------------cut here---------------start------------->8--- r2d3/inst/www/d3/4.13.0/d3.min.js r2d3/inst/www/d3/3.5.17/d3.min.js r2d3/inst/www/d3/5.0.0/d3.min.js r2d3/inst/htmlwidgets/lib/webcomponents/webcomponents.js --8<---------------cut here---------------end--------------->8--- While we can easily replace the different d3 versions with non-minified source code that we then minify in a build phase, we cannot do this for webcomponents.js, which is compiled from TypeScript. The source code is here: https://github.com/webcomponents/polyfills/tree/master/packages/webcomponentsjs Arun is currently working on packaging swc, a transpiler that supports TypeScript, so with some luck we might then be able to transpile these TypeScript source files to webcomponents.js. Until then I cannot merge this, I’m afraid. -- Ricardo ^ permalink raw reply [flat|nested] 9+ messages in thread
* [bug#42106] [PATCH 1/4] gnu: Add r-r2d3. 2020-09-11 9:19 ` [bug#42106] [PATCH 1/4] gnu: Add r-r2d3 Ricardo Wurmus @ 2020-09-12 7:54 ` Lo Peter 2021-08-30 14:03 ` Ricardo Wurmus 1 sibling, 0 replies; 9+ messages in thread From: Lo Peter @ 2020-09-12 7:54 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: 42106 Dear Ricardo, Sorry that I was not aware of the problem regarding the javascript for the R package, because I simply import it from CRAN. I will try to be more careful in the future. Regards, Peter On Fri, Sep 11, 2020 at 5:17 PM Ricardo Wurmus <rekado@elephly.net> wrote: > > > Hi Peter, > > > * gnu/packages/cran.scm (r-r2d3): New variable. > > Unfortunately, I cannot merge this as is. This package contains a bunch > of minified JavaScript files without the corresponding source code: > > --8<---------------cut here---------------start------------->8--- > r2d3/inst/www/d3/4.13.0/d3.min.js > r2d3/inst/www/d3/3.5.17/d3.min.js > r2d3/inst/www/d3/5.0.0/d3.min.js > r2d3/inst/htmlwidgets/lib/webcomponents/webcomponents.js > --8<---------------cut here---------------end--------------->8--- > > While we can easily replace the different d3 versions with non-minified > source code that we then minify in a build phase, we cannot do this for > webcomponents.js, which is compiled from TypeScript. The source code is > here: > > https://github.com/webcomponents/polyfills/tree/master/packages/webcomponentsjs > > Arun is currently working on packaging swc, a transpiler that supports > TypeScript, so with some luck we might then be able to transpile these > TypeScript source files to webcomponents.js. > > Until then I cannot merge this, I’m afraid. > > -- > Ricardo ^ permalink raw reply [flat|nested] 9+ messages in thread
* [bug#42106] [PATCH 1/4] gnu: Add r-r2d3. 2020-09-11 9:19 ` [bug#42106] [PATCH 1/4] gnu: Add r-r2d3 Ricardo Wurmus 2020-09-12 7:54 ` Lo Peter @ 2021-08-30 14:03 ` Ricardo Wurmus 1 sibling, 0 replies; 9+ messages in thread From: Ricardo Wurmus @ 2021-08-30 14:03 UTC (permalink / raw) To: Peter Lo; +Cc: 42106 Ricardo Wurmus <rekado@elephly.net> writes: > Hi Peter, > >> * gnu/packages/cran.scm (r-r2d3): New variable. > > Unfortunately, I cannot merge this as is. This package contains > a bunch > of minified JavaScript files without the corresponding source > code: > > --8<---------------cut > here---------------start------------->8--- > r2d3/inst/www/d3/4.13.0/d3.min.js > r2d3/inst/www/d3/3.5.17/d3.min.js > r2d3/inst/www/d3/5.0.0/d3.min.js > r2d3/inst/htmlwidgets/lib/webcomponents/webcomponents.js > --8<---------------cut > here---------------end--------------->8--- > > While we can easily replace the different d3 versions with > non-minified > source code that we then minify in a build phase, we cannot do > this for > webcomponents.js, which is compiled from TypeScript. The source > code is > here: > > https://github.com/webcomponents/polyfills/tree/master/packages/webcomponentsjs webcomponents.js looks very similar to this blob: https://github.com/webcomponents/webcomponentsjs/blob/v2.0.1/webcomponents-bundle.js > Arun is currently working on packaging swc, a transpiler that > supports > TypeScript, so with some luck we might then be able to transpile > these > TypeScript source files to webcomponents.js. It’s a bit more complicated than that. The source files import code from files in node_modules, which is supposed to be downloaded with npm. If we can identify these actual source files we could include them explicitly. -- Ricardo ^ permalink raw reply [flat|nested] 9+ messages in thread
* [bug#42106] [PATCH] gnu: Add r-sparklyr and its dependencies 2020-06-28 8:56 [bug#42106] [PATCH] gnu: Add r-sparklyr and its dependencies Lo Peter 2020-06-28 8:57 ` [bug#42106] [PATCH 1/4] gnu: Add r-r2d3 Peter Lo @ 2020-09-11 9:26 ` Ricardo Wurmus 1 sibling, 0 replies; 9+ messages in thread From: Ricardo Wurmus @ 2020-09-11 9:26 UTC (permalink / raw) To: Lo Peter; +Cc: 42106 Hi Peter, > I am submitting a patch series of r-sparklyr and its dependencies. While I could not apply r-r2d3 due to included minified JavaScript (and thus couldn’t add r-sparklyr), I did apply your patches for r-forge and r-config after changing the synopses, descriptions, and indentation. Pushed to the “master” branch with commit 1c87536287. -- Ricardo ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2021-08-30 14:06 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-06-28 8:56 [bug#42106] [PATCH] gnu: Add r-sparklyr and its dependencies Lo Peter 2020-06-28 8:57 ` [bug#42106] [PATCH 1/4] gnu: Add r-r2d3 Peter Lo 2020-06-28 8:57 ` [bug#42106] [PATCH 2/4] gnu: Add r-forge Peter Lo 2020-06-28 8:57 ` [bug#42106] [PATCH 3/4] gnu: Add r-config Peter Lo 2020-06-28 8:57 ` [bug#42106] [PATCH 4/4] gnu: Add r-sparklyr Peter Lo 2020-09-11 9:19 ` [bug#42106] [PATCH 1/4] gnu: Add r-r2d3 Ricardo Wurmus 2020-09-12 7:54 ` Lo Peter 2021-08-30 14:03 ` Ricardo Wurmus 2020-09-11 9:26 ` [bug#42106] [PATCH] gnu: Add r-sparklyr and its dependencies Ricardo Wurmus
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/guix.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.