-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disallow using '0 significant digits' in the summary (which will brea…
…k under R 4.2).
- Loading branch information
Alain Hauser
committed
Jun 6, 2021
1 parent
ae1df0c
commit 7e0f59f
Showing
6 changed files
with
22 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Package: CausalImpact | ||
Title: Inferring Causal Effects using Bayesian Structural Time-Series Models | ||
Date: 2021-02-21 | ||
Date: 2021-06-04 | ||
Author: Kay H. Brodersen <[email protected]>, | ||
Alain Hauser <[email protected]> | ||
Maintainer: Alain Hauser <[email protected]> | ||
|
@@ -9,8 +9,8 @@ Description: Implements a Bayesian approach to causal impact estimation in time | |
series, as described in Brodersen et al. (2015) <DOI:10.1214/14-AOAS788>. | ||
See the package documentation on GitHub | ||
<https://google.github.io/CausalImpact/> to get started. | ||
Copyright: Copyright (C) 2014-2020 Google, Inc. | ||
Version: 1.2.6 | ||
Copyright: Copyright (C) 2014-2021 Google, Inc. | ||
Version: 1.2.7 | ||
VignetteBuilder: knitr | ||
License: Apache License 2.0 | file LICENSE | ||
Imports: assertthat (>= 0.2.0), Boom, dplyr, ggplot2, zoo | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright 2014-2020 Google Inc. All rights reserved. | ||
# Copyright 2014-2021 Google Inc. All rights reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
|
@@ -12,7 +12,7 @@ | |
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
testthat::context("Unit tests for impact_model_ss.R") | ||
testthat::context("Unit tests for impact_model.R") | ||
|
||
# Author: [email protected] (Kay Brodersen) | ||
|
||
|
@@ -129,7 +129,6 @@ test_that("FormatInputForConstructModel", { | |
# Test bad <max.flips> | ||
bad.max.flips <- list(-2, 9.1, "foo", c(100, 200)) | ||
lapply(bad.max.flips, function(max.flips) { | ||
print(max.flips) | ||
expect_error(FormatInputForConstructModel(data, | ||
list(max.flips = max.flips))) }) | ||
}) | ||
|