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

Interactive canonicalization #849

Open
avehtari opened this issue Sep 12, 2023 · 1 comment
Open

Interactive canonicalization #849

avehtari opened this issue Sep 12, 2023 · 1 comment
Assignees
Labels
feature New feature or request

Comments

@avehtari
Copy link
Contributor

avehtari commented Sep 12, 2023

Currently cmdstan_model() outputs deprecation warning or syntax error and recommends running stanc, which is a completely foreign thing for R users. Improve the message to recommend using $format(..., canonicalize = TRUE, overwrite_file = TRUE).

Also if the session is run interactively, ask the user whether they would like to do canonicalization right away [Y/n], and then run $format(..., canonicalize = TRUE, overwrite_file = TRUE)

Also provide instructions how to make conversion for a larger number of Stan code files.

@avehtari avehtari added the feature New feature or request label Sep 12, 2023
@jgabry jgabry changed the title Improve the message in case of deprecated/old syntax + interactive canonicalization Interactive canonicalization Sep 15, 2023
@jgabry
Copy link
Member

jgabry commented Sep 15, 2023

I changed the name of this issue now that we have a better message in #852

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants