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

JuliaStats / StatsModels.jl / 267
84%

Build:
DEFAULT BRANCH: master
Ran 22 Apr 2018 08:12PM UTC
Jobs 4
Files 7
Run time 3min
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
267

push

travis-ci

web-flow
rip out formula parsing and replace it with something sane (#54)

Major internal changes to how formula expressions are parsed.  The visible changes are that 

1. the formula expression is processed according to the DSL _at parse time_ (e.g., in the `@formula` macro) instead of at run-time
2. the `Formula` struct holds the `lhs` and `rhs` sub-expressions, but also holds the original (un-parsed) expression in the `ex_orig` field, and the parsed expression (i.e., a `:call` to `~`) in the `ex` field.

These should only affect users that actually rely on the internals of the formula struct or construct them manually.

Internally, the parsing code has been completely re-written to use rewrites rules with a uniform API.

* drop in new parsing code

* use typemax(Int) instead of Inf

* fix onesided formulae

* more tests are broken

* guess debug macro isn't exported

* get rid of debugging code

* using argcheck in formula: cut the crap and indent

* forgot a Compat.findfirst

* remove argcheck dependency

* updating tests

some have been fixed by this PR, some have been broken (but maintain
functionality so passing versions have been added alongside).

* actually just use Terms to get functional version of formula

* rewrite rule for interactions with number terms

* make revise-friendly, deleteat ex.args, missing ||

* typo

* docstrings for new rewrites and update tests

* remove dead code

* add (deprecated) 2-arg Formula constructor, and tests

* use different warning tests depending on the version

* use @ static for version check

* check version against 0.7.0-DEV.2988

336 of 358 relevant lines covered (93.85%)

406.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 267.1 22 Apr 2018 08:12PM UTC 0
93.85
Travis Job 267.1
2 267.2 22 Apr 2018 08:14PM UTC 0
96.55
Travis Job 267.2
3 267.3 22 Apr 2018 08:12PM UTC 0
93.85
Travis Job 267.3
4 267.4 22 Apr 2018 08:15PM UTC 0
96.55
Travis Job 267.4
Source Files on build 267
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #267
  • dc070dc7 on github
  • Prev Build on master (#249)
  • Next Build on master (#269)
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