• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

GeoBosh / cvar / 27
96%

Build:
DEFAULT BRANCH: master
Ran 04 Mar 2020 11:48AM UTC
Jobs 3
Files 3
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
27

push

travis-ci-com

GeoBosh
Fix the misterious failure of building on TravisCI

v0.4-0 was failing the checks on travis for R >= 3.6.0, despite passing
all the checks on CRAN. Further digging revealed that 'devtools::test()'
was also failing, but only for the first run in a session. Subsequent
runs in the same session passed.

Clearing the values saved by 'devtools::test()' was not
helping. Moreover, depending on whether the values were recreated by the
first run in the session or by a subsequent run, the state saved in the
object was either "Rejection" or "Rounding". The net result being that
could happen also that the first run ws ok but all subsequent runs
failed (in this scenario 'R CMD check' was also failing).

The error was occuring in 'test-garch.R' but the cause turned out to be
a leftover 'suppressWarnings(RNGversion("3.5.0"))' in 'test-VaR' which
was causing the sample.kind (the third element of the value of
'RNGkind()') to switch from "Rejection" to "Rounding". This explains the
different result from subsequent runs of 'devtools::test()' in the same
session.

Just deleting the offending 'suppressWarnings(RNGversion("3.5.0"))' and
recreating 'a.RDS' and 'a_pred.RDS' resolved the problem.

In the process I streamlined somewhat the handling of seeds for the
random number generators.

17 of 17 new or added lines in 1 file covered. (100.0%)

145 of 166 relevant lines covered (87.35%)

113.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27.1 04 Mar 2020 11:48AM UTC 0
87.35
Travis Job 27.1
2 27.2 04 Mar 2020 11:48AM UTC 0
87.35
Travis Job 27.2
3 27.3 (R_CODECOV=true) 04 Mar 2020 11:51AM UTC 0
87.35
Travis Job 27.3
Source Files on build 27
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #27
  • 32a0e0f3 on github
  • Prev Build on master (#21)
  • Next Build on master (#28)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc