Skip to content

Commit

Permalink
deploy: af2b9f1
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns committed Dec 24, 2023
1 parent f830738 commit b407cdc
Show file tree
Hide file tree
Showing 20 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/macosx/big-sur-x86_64/contrib/4.3/PACKAGES
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Imports: Rcpp, RcppParallel, posterior, methods, stats, callr
LinkingTo: Rcpp, RcppEigen, BH, RcppParallel, rapidjsonr
Suggests: testthat (>= 3.0.0)
License: MIT + file LICENSE
MD5sum: cea4384f1cee839d404e413c942adc2a
MD5sum: 19cdd0e281cfaaf60e81d3a69c9797fa
Binary file modified bin/macosx/big-sur-x86_64/contrib/4.3/PACKAGES.gz
Binary file not shown.
Binary file modified bin/macosx/big-sur-x86_64/contrib/4.3/PACKAGES.rds
Binary file not shown.
Binary file modified bin/macosx/big-sur-x86_64/contrib/4.3/StanEstimators_0.0.0.9000.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion bin/macosx/contrib/4.2/PACKAGES
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Imports: Rcpp, RcppParallel, posterior, methods, stats, callr
LinkingTo: Rcpp, RcppEigen, BH, RcppParallel, rapidjsonr
Suggests: testthat (>= 3.0.0)
License: MIT + file LICENSE
MD5sum: 44b1a236a8bff3dd636a7639ac5d7bc8
MD5sum: 96beb58ce7c33e380b80ec44cfe33bd2
Binary file modified bin/macosx/contrib/4.2/PACKAGES.gz
Binary file not shown.
Binary file modified bin/macosx/contrib/4.2/PACKAGES.rds
Binary file not shown.
Binary file modified bin/macosx/contrib/4.2/StanEstimators_0.0.0.9000.tgz
Binary file not shown.
Binary file modified bin/windows/contrib/4.2/StanEstimators_0.0.0.9000.zip
Binary file not shown.
Binary file modified bin/windows/contrib/4.3/StanEstimators_0.0.0.9000.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 6 additions & 0 deletions inst/include/cmdstan/command_helper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,13 +174,19 @@ using shared_context_ptr = std::shared_ptr<stan::io::var_context>;
* @param file A system file to read from
*/
inline shared_context_ptr get_var_context(const std::string &file) {
Rcpp::Rcout << "f1" << std::endl;
if (file.empty()) {
return std::make_shared<stan::io::empty_var_context>();
}
Rcpp::Rcout << "f2" << std::endl;
std::ifstream stream = safe_open(file);
Rcpp::Rcout << "f3" << std::endl;
if (get_suffix(file) == ".json") {
Rcpp::Rcout << "f4" << std::endl;
stan::json::json_data var_context(stream);
Rcpp::Rcout << "f5" << std::endl;
return std::make_shared<stan::json::json_data>(var_context);
Rcpp::Rcout << "f6" << std::endl;
}
Rcpp::Rcerr
<< "Warning: file '" << file
Expand Down
2 changes: 1 addition & 1 deletion src/contrib/PACKAGES
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ Imports: Rcpp, RcppParallel, posterior, methods, stats, callr
LinkingTo: Rcpp, RcppEigen, BH, RcppParallel, rapidjsonr
Suggests: testthat (>= 3.0.0)
License: MIT + file LICENSE
MD5sum: 056718f6edf641fd0b934b82836f878b
MD5sum: cc0b11ed516785ce8e52a64eee4d8593
NeedsCompilation: yes
Binary file modified src/contrib/PACKAGES.gz
Binary file not shown.
Binary file modified src/contrib/PACKAGES.rds
Binary file not shown.
Binary file modified src/contrib/StanEstimators_0.0.0.9000.tar.gz
Binary file not shown.

0 comments on commit b407cdc

Please sign in to comment.