# Very minor mistake in cmdstanr model-method-compile help page

**URL:** <https://discourse.mc-stan.org/t/very-minor-mistake-in-cmdstanr-model-method-compile-help-page/36051>\
**Category:** Interfaces\
**Tags:** docs, cmdstanr\
**Created:** [July 29, 2024, 9:19pm UTC](https://discourse.mc-stan.org/t/very-minor-mistake-in-cmdstanr-model-method-compile-help-page/36051 "2024-07-29T21:19:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnnyZoom4H](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/johnnyzoom4h/32/20953_2.png) [@JohnnyZoom4H](https://discourse.mc-stan.org/u/JohnnyZoom4H)\
**Post date:** [July 29, 2024, 9:19pm UTC](https://discourse.mc-stan.org/t/very-minor-mistake-in-cmdstanr-model-method-compile-help-page/36051/1 "2024-07-29T21:19:40Z")

</div>

On the model-method-compile help page from the cmdstanr package, there is a trivial mistake in the description of the “pedantic” argument.

The link there to the “Pedantic mode” subchapter in the Stan User’s Guide is described in the text as being from the Stan Reference Manual.

The link itself otherwise works fine.

Edit: the link text calls that section of the UG “chapter”, though I would call it “subchapter” of the “Using the Stan Compiler” chapter of the appendices. But this may be hair-splitting.

- Operating System: MacOS 14.5
- CmdStan Version: 0.8.1.9000
- Compiler/Toolkit: XCode 15.4

---

<div class="post-metadata">

**Author:** ![Bob\_Carpenter](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/bob_carpenter/32/9230_2.png) [@Bob\_Carpenter](https://discourse.mc-stan.org/u/Bob_Carpenter)\
**Post date:** [July 30, 2024, 6:39pm UTC](https://discourse.mc-stan.org/t/very-minor-mistake-in-cmdstanr-model-method-compile-help-page/36051/2 "2024-07-30T18:39:03Z")

</div>

Thanks. I created an issue on GitHub under cmdstanr (the interfaces other than cmdstan manage their own doc):

> <https://github.com/stan-dev/cmdstanr/issues/1013>
>
> \#### Summary:
> 
> From \[JohnnyZoom4H\](https://discourse.mc-stan.org/u/JohnnyZoom4…H) on Discourse:
> 
> On the model-method-compile help page from the cmdstanr package, there is a trivial mistake in the description of the “pedantic” argument.
> 
> \#### Description:
> 
> From Discourse topic: https://discourse.mc-stan.org/t/very-minor-mistake-in-cmdstanr-model-method-compile-help-page/36051
> 
> The link there to the “Pedantic mode” subchapter in the Stan User’s Guide is described in the text as being from the Stan Reference Manual.
> 
> The link itself otherwise works fine.
> 
> Edit: the link text calls that section of the UG “chapter”, though I would call it “subchapter” of the “Using the Stan Compiler” chapter of the appendices. But this may be hair-splitting.
> 
> Operating System: MacOS 14.5
> CmdStan Version: 0.8.1.9000
> Compiler/Toolkit: XCode 15.4

It’s very easy to generate a PR to fix if you can find the page that generated it—there’s a visual editor you can pop up with a button to create the PR. If you don’t want to bother, we’ll fix.

---

<div class="post-metadata">

**Author:** ![JohnnyZoom4H](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/johnnyzoom4h/32/20953_2.png) [@JohnnyZoom4H](https://discourse.mc-stan.org/u/JohnnyZoom4H)\
**Post date:** [July 30, 2024, 6:56pm UTC](https://discourse.mc-stan.org/t/very-minor-mistake-in-cmdstanr-model-method-compile-help-page/36051/3 "2024-07-30T18:56:29Z")

</div>

> [@Bob\_Carpenter](#):
>
> [chapter -\> section reference · Issue #1013 · stan-dev/cmdstanr · GitHub](https://github.com/stan-dev/cmdstanr/issues/1013)

Thanks Bob. I didn’t see this feature but will make sure to look again if a similar situation arises.

I tried to edit [this file itself](https://github.com/stan-dev/cmdstanr/blob/master/R/model.R) (line 398) myself, but it made me fork the whole project, which I really didn’t want to do!

---

<div class="post-metadata">

**Author:** ![Bob\_Carpenter](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/bob_carpenter/32/9230_2.png) [@Bob\_Carpenter](https://discourse.mc-stan.org/u/Bob_Carpenter)\
**Post date:** [July 30, 2024, 7:14pm UTC](https://discourse.mc-stan.org/t/very-minor-mistake-in-cmdstanr-model-method-compile-help-page/36051/4 "2024-07-30T19:14:44Z")

</div>

There’s an “edit this file” button on the header that just pulls up an editor.

Then when you’re done, there’s a “Commit Changes…” button, where the “…” is the universal signal that it’s going to pop up a dialog box. When it does that, it gives you the option to “create a new branch”, which is what you want to do. Then it opens the PR, which you just need to submit.

I just did it for this one, to make sure it still worked.

Does it work differently for you without merge privileges?

---

<div class="post-metadata">

**Author:** ![JohnnyZoom4H](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/johnnyzoom4h/32/20953_2.png) [@JohnnyZoom4H](https://discourse.mc-stan.org/u/JohnnyZoom4H)\
**Post date:** [July 30, 2024, 8:16pm UTC](https://discourse.mc-stan.org/t/very-minor-mistake-in-cmdstanr-model-method-compile-help-page/36051/5 "2024-07-30T20:16:22Z")

</div>

I think I lack necessary privileges. I did find the editing facility but when I tried to commit, it said I lacked access and could only fork the project.

But as I’ve only been on github for a few weeks, I guess I’d need to earn them first. No prob though, glad I can help in any way.

---

<div class="post-metadata">

**Author:** ![jonah](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/jonah/32/200_2.png) [@jonah](https://discourse.mc-stan.org/u/jonah)\
**Post date:** [July 30, 2024, 8:50pm UTC](https://discourse.mc-stan.org/t/very-minor-mistake-in-cmdstanr-model-method-compile-help-page/36051/6 "2024-07-30T20:50:46Z")

</div>

Yeah I think you’d need to fork it and create a pull request from your fork. That’d definitely doable, but no need since @Bob_Carpenter took care of it. Thanks to you both!

---

<div class="post-metadata">

**Author:** ![avehtari](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/avehtari/32/5935_2.png) [@avehtari](https://discourse.mc-stan.org/u/avehtari)\
**Post date:** [July 31, 2024, 9:39am UTC](https://discourse.mc-stan.org/t/very-minor-mistake-in-cmdstanr-model-method-compile-help-page/36051/7 "2024-07-31T09:39:01Z")

</div>

> [@jonah](#):
>
> Yeah I think you’d need to fork it and create a pull request from your fork

The GitHub file edit functionality offers to create that fork, and creates the PR so it is easy. After the PR has been merged, the forked repo can be removed which is also easy to do. If you have questions about the process don’t hesitate to ask more.

The branch option requires that you are added as a contributor with write permission to the original repo.
