-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates s3 construction to be closer to best practice (#441)
* merge changes * overhaul class system and object assertion * get setup script running and prune down class requirements to what is actually needed * remove temporary function * remove test that doesn't do anything * check vignettes * minor tweaks to package family org * rename without epidist prefix * fix file.paths * rename and update functionality for linelist handling * catch changed family name * add lubridate * check date tiem suing lubrdiate * update namespace * flip test to working * fix CRAN notes * fix doc missing * fix R chunk start * rename models * rename models * export stanvar * update cmdstan model check * update package familes * check new tests
- Loading branch information
Showing
66 changed files
with
1,135 additions
and
799 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#' Validation for epidist objects | ||
#' | ||
#' @param data Object to validate | ||
#' @param ... Additional arguments | ||
#' @return NULL invisibly | ||
#' @export | ||
#' @family assert | ||
assert_epidist <- function(data, ...) { | ||
UseMethod("assert_epidist") | ||
} | ||
|
||
#' @export | ||
#' @family assert | ||
assert_epidist.default <- function(data, ...) { | ||
cli_abort( | ||
c( | ||
"!" = "The input needs to be a valid epidist object.", | ||
"i" = "Please convert to epidist object first using as_epidist_<class>()" | ||
) | ||
) | ||
} |
This file was deleted.
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
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.