jrfaulkner / spmrf

R package for Bayesian nonparametric adaptive smoothing with Stan
GNU Lesser General Public License v3.0
8 stars 4 forks source link

Deprecation warnings in Stan #2

Closed george-githinji closed 6 years ago

george-githinji commented 7 years ago

Stan throws these warnings while running the example in the vignette

DIAGNOSTIC(S) FROM PARSER:
Warning (non-fatal): assignment operator <- deprecated in the Stan language; use = instead.
Warning (non-fatal): assignment operator <- deprecated in the Stan language; use = instead.
Warning (non-fatal): assignment operator <- deprecated in the Stan language; use = instead.
Warning (non-fatal): assignment operator <- deprecated in the Stan language; use = instead.
Warning (non-fatal): assignment operator <- deprecated in the Stan language; use = instead.
Warning (non-fatal): assignment operator <- deprecated in the Stan language; use = instead.
Warning (non-fatal): assignment operator <- deprecated in the Stan language; use = instead.
Warning (non-fatal): assignment operator <- deprecated in the Stan language; use = instead.

additional warnings on divergent transitions. Can be fixed with increase the adapt delta but just wondering if you cam across the same while working on the example.

jrfaulkner commented 7 years ago

Thanks for pointing these out. I need to update the code to be in line with the changes to recent versions of stan. They used to have <- as the assignment operator and then they all of a sudden decided to change it to only = for some unknown reason.

I will also make updates to the spmrf function to have higher adapt delta, a little more max treedepth, and a longer warmup period as defaults. Those should help with the divergences.

Thanks again

On Tue, Apr 25, 2017 at 12:05 AM, George notifications@github.com wrote:

Stan throws these warnings while running the example in the vignette

DIAGNOSTIC(S) FROM PARSER: Warning (non-fatal): assignment operator <- deprecated in the Stan language; use = instead. Warning (non-fatal): assignment operator <- deprecated in the Stan language; use = instead. Warning (non-fatal): assignment operator <- deprecated in the Stan language; use = instead. Warning (non-fatal): assignment operator <- deprecated in the Stan language; use = instead. Warning (non-fatal): assignment operator <- deprecated in the Stan language; use = instead. Warning (non-fatal): assignment operator <- deprecated in the Stan language; use = instead. Warning (non-fatal): assignment operator <- deprecated in the Stan language; use = instead. Warning (non-fatal): assignment operator <- deprecated in the Stan language; use = instead.

additional warnings on divergent transitions. Can be fixed with increase the adapt delta but just wondering if you cam across the same while working on the example.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jrfaulkner/spmrf/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AKVwoBWVMx9BRChwAtuG9kLMzPgoel3zks5rzZsogaJpZM4NHE7b .

george-githinji commented 7 years ago

Thank you for the package!

jrfaulkner commented 7 years ago

You're welcome! I plan to make some more additions and modifications over the next several months that will hopefully make it more useful. Stay tuned!

On Sat, Apr 29, 2017 at 10:17 AM, George notifications@github.com wrote:

Thank you for the package!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jrfaulkner/spmrf/issues/2#issuecomment-298181897, or mute the thread https://github.com/notifications/unsubscribe-auth/AKVwoGRiSgxl7oQrFEbaX7yAvM1JlMHXks5r03CTgaJpZM4NHE7b .