-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #144 from animint/combine-renderer-tests
rm selenium, combine renderer1,2,3
- Loading branch information
Showing
11 changed files
with
23 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Package: animint2 | ||
Title: Animated Interactive Grammar of Graphics | ||
Version: 2024.6.6 | ||
Version: 2024.8.27 | ||
URL: https://animint.github.io/animint2/ | ||
BugReports: https://github.com/animint/animint2/issues | ||
Authors@R: c( | ||
|
@@ -87,7 +87,7 @@ Suggests: | |
htmltools, | ||
rmarkdown, | ||
testthat, | ||
RSelenium, XML, | ||
XML, | ||
devtools, | ||
httr, | ||
maps, | ||
|
@@ -102,7 +102,6 @@ Suggests: | |
svglite, | ||
ggplot2, | ||
chromote | ||
Remotes: ropensci/[email protected] | ||
License: GPL-3 | ||
Encoding: UTF-8 | ||
LazyData: true | ||
|
@@ -281,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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +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) | ||
tests_init() | ||
|
||
if(use.browser)tests_init() | ||
tests_run(filter=filter) | ||
tests_exit() | ||
if(use.browser)tests_exit() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters