From 170bffff550d4121e78c5c32d2c50177fa2e4c7d Mon Sep 17 00:00:00 2001 From: Peter Lo Date: Sat, 27 Jun 2020 19:48:23 +0800 Subject: gnu: Add r-rselenium. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/cran.scm (r-rselenium): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/cran.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index bbc95866ab..1ffb3f0a35 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -22486,3 +22486,38 @@ Webdriver/Selenium project (see @url{http://www.seleniumhq.org/download/}, more information). This package provides functions to download these binaries and to manage processes involving them.") (license license:expat))) + +(define-public r-rselenium + (package + (name "r-rselenium") + (version "1.7.7") + (source + (origin + (method url-fetch) + (uri (cran-uri "RSelenium" version)) + (sha256 + (base32 + "1xn5fdbzmq7b1f5fc9ls23g177bmnd8bn4p4d8aafr6z3jwkmfir")))) + (properties `((upstream-name . "RSelenium"))) + (build-system r-build-system) + (propagated-inputs + `(("r-binman" ,r-binman) + ("r-catools" ,r-catools) + ("r-httr" ,r-httr) + ("r-openssl" ,r-openssl) + ("r-wdman" ,r-wdman) + ("r-xml" ,r-xml))) + (native-inputs `(("r-knitr" ,r-knitr))) + (home-page "https://docs.ropensci.org/RSelenium/") + (synopsis "R bindings for Selenium WebDriver") + (description + "This package provides a set of R bindings for the Selenium 2.0 +WebDriver (see @url{https://selenium.dev/documentation/en/} for more +information) using the @code{JsonWireProtocol} (see +@url{https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol} for more +information). Selenium 2.0 WebDriver allows driving a web browser natively as +a user would either locally or on a remote machine using the Selenium server +it marks a leap forward in terms of web browser automation. Selenium +automates web browsers (commonly referred to as browsers). Using RSelenium +you can automate browsers locally or remotely.") + (license license:agpl3+))) -- cgit v1.2.3