Skip to content

Commit

Permalink
Remove Rbeast from suggests due to ASAN on CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
doccstat committed Mar 13, 2024
1 parent 11c4002 commit 513cedf
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 31 deletions.
1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ Suggests:
mvtnorm,
not,
numDeriv,
Rbeast,
rmarkdown,
segmented,
stepR,
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-examples-fastcpd_mean-time.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ testthat::test_that(
testthat::expect_equal(result@cp_set, 10006)

# Something is seriously wrong if the running time is greater than
# 10 seconds.
testthat::expect_true(result_time[3] < 10)
# 30 seconds.
testthat::expect_lt(result_time[3], 30)
}
)
56 changes: 28 additions & 28 deletions vignettes/comparison-packages.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ All `bcp` code is commented out due to
for (
package in c(
"ggplot2", "mvtnorm",
# "bcp",
# "bcp", "Rbeast",
"breakfast", "changepoint", "cpm", "CptNonPar", "ecp", "fpop", "gfpop",
"InspectChangepoint", "jointseg", "mcp", "mosum", "not", "Rbeast",
"InspectChangepoint", "jointseg", "mcp", "mosum", "not",
"segmented", "stepR", "strucchange", "VARDetect", "wbs"
)
) {
Expand Down Expand Up @@ -336,9 +336,9 @@ jointseg::jointSeg(mean_data_1, K = 2)$bestBkp
```

```{r univariate-mean-change-Rbeast}
Rbeast::beast(
mean_data_1, season = "none", print.progress = FALSE, quiet = TRUE
)$trend$cp
# Rbeast::beast(
# mean_data_1, season = "none", print.progress = FALSE, quiet = TRUE
# )$trend$cp
```

```{r univariate-mean-change-stepR}
Expand Down Expand Up @@ -421,9 +421,9 @@ result_InspectChangepoint$changepoints[, "location"]
```

```{r univariate-mean-and-or-variance-change-Rbeast}
Rbeast::beast(
mv_data_1, season = "none", print.progress = FALSE, quiet = TRUE
)$trend$cp
# Rbeast::beast(
# mv_data_1, season = "none", print.progress = FALSE, quiet = TRUE
# )$trend$cp
```

```{r univariate-mean-and-or-variance-change-mcp}
Expand Down Expand Up @@ -477,16 +477,16 @@ jointseg::jointSeg(mean_data_3, K = 2)$bestBkp
```

```{r multivariate-mean-change-Rbeast}
invisible(
capture.output(
result_Rbeast <- Rbeast::beast123(
mean_data_3,
metadata = list(whichDimIsTime = 1),
season = "none"
)
)
)
result_Rbeast$trend$cp
# invisible(
# capture.output(
# result_Rbeast <- Rbeast::beast123(
# mean_data_3,
# metadata = list(whichDimIsTime = 1),
# season = "none"
# )
# )
# )
# result_Rbeast$trend$cp
```

```{r multivariate-mean-change-strucchange}
Expand Down Expand Up @@ -536,16 +536,16 @@ result_InspectChangepoint$changepoints[, "location"]
```

```{r multivariate-mean-and-or-variance-change-Rbeast}
invisible(
capture.output(
result_Rbeast <- Rbeast::beast123(
mv_data_3,
metadata = list(whichDimIsTime = 1),
season = "none"
)
)
)
result_Rbeast$trend$cp
# invisible(
# capture.output(
# result_Rbeast <- Rbeast::beast123(
# mv_data_3,
# metadata = list(whichDimIsTime = 1),
# season = "none"
# )
# )
# )
# result_Rbeast$trend$cp
```

# Linear regression
Expand Down

0 comments on commit 513cedf

Please sign in to comment.