# Problem running devtools::install() on simple rstan-based package

**URL:** <https://discourse.mc-stan.org/t/problem-running-devtools-install-on-simple-rstan-based-package/7046>\
**Category:** RStan\
**Created:** [December 21, 2018, 10:54am UTC](https://discourse.mc-stan.org/t/problem-running-devtools-install-on-simple-rstan-based-package/7046 "2018-12-21T10:54:37Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![bgoodri](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/bgoodri/32/4451_2.png) [@bgoodri](https://discourse.mc-stan.org/u/bgoodri)\
**Post date:** [January 17, 2019, 11:28pm UTC](https://discourse.mc-stan.org/t/problem-running-devtools-install-on-simple-rstan-based-package/7046/21 "2019-01-17T23:28:38Z")

</div>

That isn’t particularly nasty and none of them should be a problem with the compilers available on a Mac but CRAN policy prevents quashing compiler warnings via flags.

---

<div class="post-metadata">

**Author:** ![jeffreypullin](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/jeffreypullin/32/8515_2.png) [@jeffreypullin](https://discourse.mc-stan.org/u/jeffreypullin)\
**Post date:** [January 28, 2019, 5:45am UTC](https://discourse.mc-stan.org/t/problem-running-devtools-install-on-simple-rstan-based-package/7046/22 "2019-01-28T05:45:58Z")

</div>

Hi bgoodri,

Just wanted to ask: is there a rough timeline as to when the branch of **rstantools** you recommended to me will be merged into master and therefore be on CRAN?

Thanks!

---

<div class="post-metadata">

**Author:** ![eric.ward](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/eric.ward/32/4133_2.png) [@eric.ward](https://discourse.mc-stan.org/u/eric.ward)\
**Post date:** [February 21, 2019, 4:34am UTC](https://discourse.mc-stan.org/t/problem-running-devtools-install-on-simple-rstan-based-package/7046/23 "2019-02-21T04:34:22Z")

</div>

Thanks @bgoodri @jeffreypullin. This thread has been incredibly helpful. I followed the above instructions, installing rstantools as suggested  
devtools::install\_github(“stan-dev/rstantools”, ref = “c3c59fb”)

We’re re-building a package that’s already on CRAN, and I realized it’s in a bit of limbo. The package passes most checks ok ([https://github.com/fate-ewi/bayesdfa](https://github.com/fate-ewi/bayesdfa)) but for re-submitting to CRAN using this developmental version of rstantools, I don’t think we can use Remotes in the DESCRIPTION file. Example thread on this is [https://github.com/r-lib/devtools/issues/1521](https://github.com/r-lib/devtools/issues/1521)

Any tips on how to proceed would be hugely appreciated. Thanks!

[Previous page](https://discourse.mc-stan.org/t/problem-running-devtools-install-on-simple-rstan-based-package/7046.md?page=1)
