Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose_stan_functions errors #768

Closed
spinkney opened this issue May 25, 2023 · 1 comment
Closed

expose_stan_functions errors #768

spinkney opened this issue May 25, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@spinkney
Copy link

I keep getting the error

Compiling standalone functions...
Error in 1:struct_start : argument of length 0

Tested on

    real test (real x) {
      return x + 5;
    }

Session info

R version 4.2.3 (2023-03-15)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.3.1

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] cmdstanr_0.5.3 copula_1.1-0  

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.10             ADGofTest_0.3           mvtnorm_1.1-3           lattice_0.20-45         prettyunits_1.1.1      
 [6] ps_1.7.1                utf8_1.2.2              V8_4.2.0                R6_2.5.1                backports_1.4.1        
[11] stats4_4.2.3            pcaPP_2.0-2             ggplot2_3.4.0           pillar_1.7.0            rlang_1.0.6            
[16] curl_4.3.2              rstudioapi_0.13         data.table_1.14.6       callr_3.7.1             Matrix_1.5-3           
[21] checkmate_2.1.0         RcppEigen_0.3.3.9.2     loo_2.5.1               munsell_0.5.0           compiler_4.2.3         
[26] numDeriv_2016.8-1.1     xfun_0.31               rstan_2.30.1.9000       pkgconfig_2.0.3         gsl_2.1-7.1            
[31] pkgbuild_1.3.1          tidyselect_1.2.0        tibble_3.1.7            tensorA_0.36.2          gridExtra_2.3          
[36] codetools_0.2-19        matrixStats_0.62.0      stabledist_0.7-1        fansi_1.0.3             pspline_1.0-19         
[41] crayon_1.5.1            dplyr_1.1.0             withr_2.5.0             grid_4.2.3              distributional_0.3.0   
[46] jsonlite_1.8.0          gtable_0.3.0            lifecycle_1.0.3         DBI_1.1.3               magrittr_2.0.3         
[51] posterior_1.3.1         StanHeaders_2.30.1.9000 scales_1.2.0            RcppParallel_5.1.5      cli_3.6.0              
[56] farver_2.1.1            decor_1.0.1             ellipsis_0.3.2          generics_0.1.3          vctrs_0.5.2            
[61] tools_4.2.3             glue_1.6.2              processx_3.7.0          abind_1.4-5             parallel_4.2.3         
[66] inline_0.3.19           colorspace_2.0-3        knitr_1.39     
@spinkney spinkney added the bug Something isn't working label May 25, 2023
@andrjohns
Copy link
Collaborator

Resolved by #769

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants