Skip to content

If testing and if {chromote} can not be loaded, skip test#225

Merged
schloerke merged 8 commits intomainfrom
app-driver-new
Jun 8, 2022
Merged

If testing and if {chromote} can not be loaded, skip test#225
schloerke merged 8 commits intomainfrom
app-driver-new

Conversation

@schloerke
Copy link
Copy Markdown
Collaborator

@schloerke schloerke commented Jun 8, 2022

@schloerke schloerke marked this pull request as draft June 8, 2022 20:54
@schloerke schloerke marked this pull request as ready for review June 8, 2022 21:13
@schloerke
Copy link
Copy Markdown
Collaborator Author

CRAN submission: 🥳


R Under development (unstable) (2022-06-07 r82464 ucrt) -- "Unsuffered Consequences"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(testthat)
> library(shinytest2)
> 
> test_check("shinytest2")
Error trying to find path to Chrome
Error in initialize(...) : Invalid path to Chrome
Error trying to find path to Chrome
Error in initialize(...) : Invalid path to Chrome
Error trying to find path to Chrome
Error in initialize(...) : Invalid path to Chrome
Error trying to find path to Chrome
Error in initialize(...) : Invalid path to Chrome
Error trying to find path to Chrome
Error in initialize(...) : Invalid path to Chrome
Error trying to find path to Chrome
Error in initialize(...) : Invalid path to Chrome
Error trying to find path to Chrome
Error in initialize(...) : Invalid path to Chrome
Error trying to find path to Chrome
Error in initialize(...) : Invalid path to Chrome
Error trying to find path to Chrome
Error in initialize(...) : Invalid path to Chrome
[ FAIL 0 | WARN 0 | SKIP 12 | PASS 275 ]

══ Skipped tests ═══════════════════════════════════════════════════════════════
• App test folders have been ignored (1)
• On CRAN (2)
• `shinytest2::AppDriver` can not be initialized as {chromote} can not be started (9)

[ FAIL 0 | WARN 0 | SKIP 12 | PASS 275 ]
Deleting unused snapshots:
• shiny-app-driver/app-001.json
• shiny-app-driver/app-dir-001.json
> 
> proc.time()
   user  system elapsed 
   3.56    0.67    5.03 

@schloerke schloerke changed the title If testing and if chromote can not be loaded, skip test If testing and if {chromote} can not be loaded, skip test Jun 8, 2022
@schloerke schloerke enabled auto-merge (squash) June 8, 2022 21:24
@schloerke schloerke disabled auto-merge June 8, 2022 21:24
@schloerke schloerke merged commit a8ce7de into main Jun 8, 2022
@schloerke schloerke deleted the app-driver-new branch June 8, 2022 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant