When I try to start building a package with rstantools (using `rstan_create_package`

) that uses the function `ordered_logistic_glm_lpmf`

I get the error:

```
No matches for:
ordered_logistic_glm_lpmf(int[ ], vector, matrix, vector)
Function ordered_logistic_glm_lpmf not found.
```

even though I can compile the same model that includes `ordered_logistic_glm_lpmf`

when I try to compile it directly with `stan_models`

. (I used install_StanHeaders to install the Stan/math version that includes the function)

Does anybody have an idea what the problem could be?

(tagging @bgoodri, @jonah)

Thanks in advance, Guido

PS: RStudio also dose not recognize the function in the .stan file