Uh oh!
There was an error while loading. Please reload this page.
Toby cookbook-axes - #172
Conversation
tdhock
commented
Feb 28, 2015
TODO: add tests in R code for things like font color. |
tdhock
commented
Feb 28, 2015
Test table for this branch is most tests are looking good except |
chriddyp
commented
Mar 2, 2015
nice! should we just add the cookbook .R files all in one PR (so that we include them in our visual tests) and then do fixes on separate subsequent PRs? |
tdhock
commented
Mar 2, 2015
well I was thinking of proposing 1 PR per cookbook .R file, and adding fixes in the same PR along the way, so that master is always passing checks on travis. |
chriddyp
commented
Mar 3, 2015
OK, cool, that makes sense! |
tdhock
commented
Mar 4, 2015
Hey @cpsievert I did git pull origin master from this branch, and I was expecting that travis would run and redo the test table, but it does not seem to be running. Any idea why? If you know how to fix it then go ahead and push to this branch. |
cpsievert
commented
Mar 4, 2015
I think we just have to be patient. Travis is still building... |
cpsievert
commented
Mar 4, 2015
It's up now -- http://ropensci.github.io/plotly-test-table/ |
tdhock
commented
Mar 5, 2015
awesome, but indeed there are some missing images in the current test table so I restarted the build via the travis web page like you suggested. however I anticipate this will be an issue for almost all future builds, for example there is one missing image in your new branch's test table From the plotly side it would be nice if @chriddyp could investigate and see why the plotly web site randomly returns an error when we ask for a png image. From the R side I will attempt to modify the plotly-test-table code so that it checks for missing images and attempt to re-download them. |
cpsievert
commented
Mar 5, 2015
httr could help on the R side. Instead of these lines, you could do something like library(httr)
g<- GET(plotly.png.url, write_disk(plotly.png.file))
warn_for_status(g)
# if we want to stop the build, use stop_for_status() instead |
tdhock
commented
Mar 5, 2015
thanks for the suggestion, I will look into that. by the way after re-building the table it seems that the missing PNGs now are true negatives (the ggplotly function stops with an error for master, but works for this branch) |
chriddyp
commented
Mar 5, 2015
|
chriddyp
commented
Mar 9, 2015
Hey @tdhock and @cpsievert - what do you guys think about merging in all the cookbook |
tdhock
commented
Mar 9, 2015
I still think it makes more sense to do one cookbook .R file at a time, to avoid having the tests on master failing. but if you think it is better to avoid regressions I can do that (and maybe if we want to avoid having the Travis master test fail, we can just add the image tests to the table without adding any expect_ calls in R code). |
tdhock
commented
Mar 9, 2015
by the way I think we can merge this branch right away, here is the test table |
There was a problem hiding this comment.
could you add this as a github issue so that we can keep track of it?
chriddyp
commented
Mar 10, 2015
other than my comments, looks good to me 👍 |
This branch translates some of Marianne's visual tests from the axes.R file in the add-r-cookbook-tests branch
https://github.com/ropensci/plotly/blob/add-r-cookbook-tests/tests/cookbook-test-suite/axes.R
to the format I need for adding them to the test table.