-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Package: animint2 | ||
Title: Animated Interactive Grammar of Graphics | ||
Version: 2024.3.12 | ||
Version: 2024.8.29 | ||
URL: https://animint.github.io/animint2/ | ||
BugReports: https://github.com/animint/animint2/issues | ||
Authors@R: c( | ||
|
@@ -50,12 +50,12 @@ Authors@R: c( | |
person("Yufan", "Fei", | ||
role="aut", | ||
comment="Animint2 GSoC 2022"), | ||
person("Jocelyne", "Chen", | ||
role="aut", | ||
comment="Animint2 GSoC 2023"), | ||
person("Siddhesh", "Deodhar", | ||
role="aut", | ||
comment="Animint2 GSoC 2024")) | ||
person("Jocelyne", "Chen", | ||
role="aut", | ||
comment="Animint2 GSoC 2023"), | ||
person("Siddhesh", "Deodhar", | ||
role="aut", | ||
comment="Animint2 GSoC 2024")) | ||
Description: Functions are provided for defining animated, | ||
interactive data visualizations in R code, and rendering | ||
on a web page. The 2018 Journal of Computational and | ||
|
@@ -87,7 +87,7 @@ Suggests: | |
htmltools, | ||
rmarkdown, | ||
testthat, | ||
RSelenium, XML, | ||
XML, | ||
devtools, | ||
httr, | ||
maps, | ||
|
@@ -100,8 +100,8 @@ Suggests: | |
nlme, | ||
rpart, | ||
svglite, | ||
ggplot2 | ||
Remotes: ropensci/[email protected] | ||
ggplot2, | ||
chromote | ||
License: GPL-3 | ||
Encoding: UTF-8 | ||
LazyData: true | ||
|
@@ -280,6 +280,6 @@ Collate: | |
'z_scales.R' | ||
'z_theme_animint.R' | ||
'z_transformShape.R' | ||
RoxygenNote: 7.2.3 | ||
RoxygenNote: 7.3.2 | ||
Config/Needs/website: tidyverse/tidytemplate | ||
VignetteBuilder: knitr |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,17 @@ | ||
library("testthat") | ||
library("animint2") | ||
library("RSelenium");library("XML") | ||
library("XML") | ||
setwd("testthat") | ||
source("helper-functions.R") | ||
source("helper-HTML.R") | ||
source("helper-plot-data.r") | ||
|
||
## RSelenium does not work with all versions of firefox, TDH usually | ||
## tests using one of the following. | ||
|
||
## thocking@silene:~/R/animint-mine(fix-common-chunk)$ firefox --version | ||
## Mozilla Firefox 11.0 | ||
## thocking@silene:~/R/animint(animation-fix)$ java -jar ~/lib/R/library/RSelenium/bin/selenium-server-standalone.jar --version | ||
## 10:10:58.942 INFO - Launching a standalone server | ||
## 10:10:58.973 INFO - Java: Sun Microsystems Inc. 23.25-b01 | ||
## 10:10:58.973 INFO - OS: Linux 3.8.0-44-generic amd64 | ||
## 10:10:58.987 INFO - v2.44.0, with Core v2.44.0. Built from revision 76d78cf | ||
## > packageVersion("RSelenium") | ||
## [1] ‘1.3.6’ | ||
|
||
## > packageVersion("RSelenium") | ||
## [1] ‘1.3.5’ | ||
## tdhock@recycled:~/R/animint(roc-bugfix)$ firefox --version | ||
## Mozilla Firefox 41.0 | ||
## tdhock@recycled:~/R/animint(roc-bugfix*)$ java -jar ~/lib/R/library/RSelenium/bin/selenium-server-standalone.jar --version | ||
## 08:13:17.803 INFO - Launching a standalone Selenium Server | ||
## 08:13:17.877 INFO - Java: Oracle Corporation 24.79-b02 | ||
## 08:13:17.877 INFO - OS: Linux 3.13.0-65-generic i386 | ||
## 08:13:17.907 INFO - v2.47.0, with Core v2.47.0. Built from revision 0e4837e | ||
|
||
filter <- Sys.getenv("TEST_SUITE") | ||
# If we're running in github actions then use Firefox, since we can | ||
# use the Selenium docker image instead of relying on PhantomJS. | ||
gh.action <- Sys.getenv("GH_ACTION") | ||
dont.need.browser <- grepl("compiler", filter) | ||
use.browser <- !dont.need.browser | ||
use.browser <- grepl("renderer", filter) | ||
if(filter == ""){ | ||
filter <- NULL | ||
} | ||
message(gh.action) | ||
if(FALSE){ | ||
tests_init("chrome") | ||
}else if(interactive() | (gh.action == "ENABLED")) { | ||
tests_init("firefox") | ||
} else { | ||
tests_init() | ||
} | ||
|
||
if(use.browser)tests_init() | ||
tests_run(filter=filter) | ||
tests_exit() | ||
if(use.browser)tests_exit() |