warning message using plot() with model created by stan_surv
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 401
- Forks
- 136
- PR merge metrics
- No merged PRs in 30d
Description
I have been using the stan_surv function of rstanarm (version 2.36.0.9000) for some survival analyses and it is working well. However, when I use the plot() function on the model to display the baseline hazard, I get this warning:
aes_string()was deprecated in ggplot2 3.0.0. ℹ Please use tidy evaluation idioms withaes(). ℹ See also vignette("ggplot2-in-packages")` for more information.
ℹ The deprecated feature was likely used in the rstanarm package.
Is it possible to update this feature, or am I using an out of date version of rstanarm?
Many thanks
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the warning by calling plot() on a model created with stan_surv and displaying the baseline hazard. Search the package's plotting code for the deprecated aes_string() usage and verify that the warning disappears while the baseline hazard plot still renders correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100