Skip to content

Commit e4c0ff7

Browse files
committed
Migrate to vdiffr 1.0
1 parent 4a5a45e commit e4c0ff7

File tree

413 files changed

+52
-155
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

413 files changed

+52
-155
lines changed

inst/docker/Dockerfile.vtest

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,11 @@ EXPOSE 3838
8585

8686
ARG CRANCACHE=1
8787
RUN R -e "update.packages(ask=FALSE)"
88-
RUN R -e "remotes::install_github('r-lib/vdiffr@v0.4.0')"
88+
RUN R -e "install.packages('vdiffr')"
8989

9090
# install any new dependencies, then either manage cases (the default) or run tests
9191
# note the workaround to get docker to run a proper exit status when there are testthat errors
9292
# https://github.com/r-lib/testthat/issues/515#issuecomment-304169376
9393

9494
CMD cd /home/plotly; R -e "remotes::install_deps(dependencies = T); \
95-
if (!identical(Sys.getenv('VMODE'), 'ci')) vdiffr::manage_cases(); \
96-
res <- devtools::test(reporter='summary'); \
97-
df <- as.data.frame(res); \
98-
if (sum(df\$failed) > 0 || any(df\$error)) q(status=1)"
95+
if (!identical(Sys.getenv('VMODE'), 'ci')) df <- devtools::test(reporter='summary'); res <- as.data.frame(df); options(viewer = function(...) FALSE); message('Visit http://0.0.0.0:3838'); testthat::snapshot_review(); if (sum(df\$failed) > 0 || any(df\$error)) q(status=1)"

tests/figs/deps.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)