stan-dev / stan-dev/rstantools

Changes to stan models in source not recognized -- "make: Nothing to be done for 'all'."

Open
#124 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
48
Forks
24
Avg merge
1h 17m
Merged PRs (30d)
1

Description

When building ctsem (using rstantools), I'm encountering this all of a sudden -- after some small changes to the stan files, I run rstan_config() and double check that the source files are changed, but when I build, compilation is for some reason not triggered. If instead I delete the relevant source files and build, compilation works normally and everything is as expected. Any ideas welcome...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in an R package that uses rstantools: change a Stan source file, run rstan_config(), and build while checking whether the changed source is present. Compare that with deleting the relevant generated source files before building; done means changes to Stan files reliably trigger compilation without manual deletion.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.