-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate
init_cumulative_fit()
(#572)
* Point out deprecation of "cumulative" option * Deprecate init_cumulative_fit function * Add NEWS item * Add PR number to NEWS item * Linting: trailing white spaces * Change versions * Add deprecation warning for init_fit argument * Move deprecation statement to separate paragraph * Add deprecation test * Add reviewer * Move deprecation warning to where the argument is called * Revise deprecation message * Don't use explicit namespacing * Throw deprecation warning if init_fit argument isn't NULL * Fix test
- Loading branch information
1 parent
fedc789
commit 9372afd
Showing
6 changed files
with
31 additions
and
4 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
test_that("deprecated arguments are caught", { | ||
expect_deprecated(stan_opts(init_fit = "cumulative")) | ||
}) |