pglpm / bayes_nonparametric_inference

Software development for "Bayesian nonparametric population inference". In other words, just the direct application of probability theory to get the most general, principled, model-free inference we can have.
Creative Commons Zero v1.0 Universal
4 stars 1 forks source link

Delay writing of roxygen preliminary comments? #23

Closed pglpm closed 3 weeks ago

pglpm commented 4 weeks ago

@choisant I've noticed that the diff function on new file versions is thrown off by new roxygen comments at the beginning of a file. This makes the diff utility useless and the check of the diffs much more difficult.

One possible way out: not inserting the initial roxygen comments yet – they can be written or cut-copied into a separate temporary file – and insert them back only when we have converged to a more definitive version of the functions?

choisant commented 4 weeks ago

I don't understand how this can be, please show me next time we meet. Sounds like it's something that can be easily fixed. Worst case we just add the comments without the @ prefixes (are they the problem?), as separating into another document will not work with our brains I think.