-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create TIGER.R add TIGER.R * Add TIGER * compile TIGER 1. change the TIGER example to fit LazyData=F mode 2. document all the functions and required packages * DESCRIPTION depends Add cmdstanr to DESCRIPTION depends * onLoad install cmdstan * Update puma.Rd * Add data document --------- Co-authored-by: Marouen <marouenbg@users.noreply.github.com>
- Loading branch information
Showing
8 changed files
with
120 additions
and
37 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
.onLoad <- function(...) { | ||
cmdstan_version <- cmdstanr::cmdstan_version(error_on_NA = FALSE) | ||
if (is.null(cmdstan_version)) { | ||
#stop("No CmdStan installation found. Run cmdstanr::install_cmdstan() to install.", call. = FALSE) | ||
cmdstanr::check_cmdstan_toolchain(fix = TRUE) | ||
cmdstanr::install_cmdstan() | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
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.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.