-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added internal testing data so no data is created within test_that() …
…functions, y_single and y_multi are not evaluated globally #1
- Loading branch information
Showing
8 changed files
with
1,484 additions
and
2,708 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 |
---|---|---|
|
@@ -6,3 +6,4 @@ | |
^LICENSE\.md$ | ||
^\.github$ | ||
^codecov\.yml$ | ||
^data-raw$ |
Binary file not shown.
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,13 @@ | ||
## code to prepare `DATASET` dataset goes here | ||
|
||
true_single <- seq(from=1, by=2.5, length.out=7) | ||
set.seed(2024) | ||
y_single <- true_single + true_single*rnorm(n=7, 0, 0.02) + rnorm(n=7, 0, 0.2) | ||
|
||
|
||
true_multi <- c(seq(from=1, by=2.5, length.out=7), | ||
seq(from=2, by=2, length.out=7)) | ||
set.seed(2024) | ||
y_multi <- true_multi + true_multi*rnorm(n=14, 0, 0.02) + rnorm(n=14, 0, 0.2) | ||
|
||
usethis::use_data(y_single, y_multi, overwrite = TRUE, internal = TRUE) |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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