Comments (5)
@easystats/maintainers Any ideas?
from easystats.
I can't reproduce the failure for tests in random order but I suspect that the definition of test failure and test error doesn't work when there's only 1 test and that this test is skipped (I don't know why, it's the only thing I can think of). Btw, what's the difference between failure and error for testthat
?
Removing the reporter = "silent"
argument would probably give more info on this
from easystats.
Btw, what's the difference between failure and error for testthat?
- Failure: Actual value doesn't match with expected value
- Error: Test code itself couldn't be run successfully
So the random test order workflow is now passing. It was failing because Pandoc wasn't installed for this workflow, and flaxdashboard seems to require it.
I still don't understand why code coverage workflow is stuck in infinity.
from easystats.
I think covr
doesn't take into account the skip_
calls. Locally, I tried to put all kind of skip_
in the test file. devtools::test()
correctly skips all of them, but covr::package_coverage()
stil returns the same percentage as if there were no skips. So maybe it stays stuck forever in one of the interactive tests?
from easystats.
Thanks! That was indeed the issue. Skipping these tests during code coverage fixes that workflow. I will investigate which is the offending test and why it gets stuck.
from easystats.
Related Issues (20)
- Use the new `check_if_installed()` with `.get_dep_version()` in all easystats packages HOT 1
- Should we leave out `date` and `author` from vignette metadata?
- Collect roxygen import tags and re-exports in a single location HOT 3
- Use `\donttest` instead of `\dontrun` tag for skipping examples on CRAN machines HOT 6
- Next meta-package CRAN release HOT 6
- Going workflow green HOT 2
- Getting rid of a warning in a vignette HOT 2
- Check that the tests don't change the global state
- Running tests on 2 cores only HOT 6
- Enable required workflows? HOT 6
- Discussion: Bump minimum needed R version to `R 4.0` across the ecosystem? HOT 68
- Consistency of arguments across packages, in particular `by`, `group` and `group_by`. HOT 12
- Bump minimum needed R version to `R 4.0` in `DESCRIPTION` HOT 1
- Predicted values & text report error for model_dashboard(lmerTest::lmer model)
- Build favicons for pkgdown website locally HOT 2
- Should we use `{crandep}` instead of home-grown solutions? HOT 2
- Export `packages_on_cran()` HOT 1
- Don't hardcode list of default packages
- Use `{pak}` for downloading suggested dependencies? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easystats.