rstudio / dygraphs

R interface to dygraphs
http://rstudio.github.io/dygraphs
Other
364 stars 194 forks source link

Tests fail on Windows #254

Closed przmv closed 3 years ago

przmv commented 3 years ago

I was trying to perform checks for CRAN with results <- rhub::check_for_cran(). However, I got the following output with results$cran_summary():

For a CRAN submission we recommend that you fix all NOTEs, WARNINGs and ERRORs.

Test environments

R CMD check results

❯ On windows-x86_64-devel (r-devel) checking tests ... Running 'testthat.R' ERROR Running the tests in 'tests/testthat.R' failed. Last 13 lines of output:

     13.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
     12.   | \-base::asNamespace(ns)
     14.     +-base::namespaceImportFrom(...)
     15.     | \-base::asNamespace(ns)
     16.     \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
     17.       +-base::namespaceImportFrom(...)
     18.       | \-base::asNamespace(ns)
     19.       \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
     20.         \-base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     21.           \-base:::withOneRestart(expr, restarts[[1L]])
     22.             \-base:::doWithOneRestart(return(expr), restart)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 22 ]

Error: Test failures
Execution halted

❯ On windows-x86_64-devel (r-devel), ubuntu-gcc-release (r-release), fedora-clang-devel (r-devel) checking package dependencies ... NOTE 'rmarkdown', 'shiny' Packages which this enhances but not available for checking:

1 error ✖ | 0 warnings ✔ | 1 note ✖

przmv commented 3 years ago

https://github.com/r-hub/rhub/issues/367#issuecomment-621757715