-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FunctionTerm is dead, long live FunctionTerm (#183)
* braodcastable for abstract term * move sorting and "cleanup" stage to runtime/terms * use tests/Project.toml instead of [extras] * drop interaction with constant term special in parsing * move test deps to test/Project.toml * expand star expression at run time not parse time * modelcols(::Term, d) pulls out the column and returns it * remove dead parsing code * update test for changes to modelcols(::Term, data) * WIP: alternative FunctionTerm * clean up formula.jl, parse-time protection * fleshing out FunctionTerm2 API methods, add exorig * protection * exports, missing methods, lead/lag update * dead code, tests * tests pass * delete rest of FunctionTerm code * FunctionTerm is dead, long live FunctionTerm * splatted methods of arithmetic ops not needed * include Compat.only * use Compat for only * test on 1.5, not 1.4 or 1.3 * Revert "use tests/Project.toml instead of [extras]" This reverts commit 36f451a. * restore compat bounds for test dependencies * WIP document protection * basic tests for [un]protect, fix protect in Protected ctx bug * more docstrings, include protection in API page, fix doctests * avoid method ambiguities * just eval un-protected defs for +, &, and * * remove unnecessary (and un-used) methods for unprotect * additional tests for term operators and uniqueify & output * fix test * Apply suggestions from code review Co-authored-by: Milan Bouchet-Valat <nalimilan@club.fr> * drop _parsed from lead/lag term * example * unprotect, doc * protection section docs summary * bye bye "usual special" * move specials to top, eval unprotect * Apply suggestions from code review Co-authored-by: Milan Bouchet-Valat <nalimilan@club.fr> * `@unprotect` -> `@support_unprotect` * actually defining `@support_unprotect` would be a good idea * test throws `2 & x` * update docs, doctest(; fix=true) * manually specify julia version in docs CI * few more docstring fixes * these need to be set at the top level now for some reason * xtremely breaking * 0.7 * Update src/terms.jl Co-authored-by: Milan Bouchet-Valat <nalimilan@club.fr> * stopgap docs build * whoops Co-authored-by: Milan Bouchet-Valat <nalimilan@club.fr>
- Loading branch information
1 parent
463eb0a
commit c4b68cf
Showing
20 changed files
with
551 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.