coefplot icon indicating copy to clipboard operation
coefplot copied to clipboard

Problem with ggproto

Open jameshunterbr opened this issue 8 years ago • 7 comments

My attempts to use coefplot() today ran into a problem with the ggproto() function in ggplot2.

I got the following message: Ignoring unknown aesthetics: xmin, xmaxError: PositionDodgeV was built with an incompatible version of ggproto. Please reinstall the package that provides this extension.

I tried the reinstall from Hadley's github version of ggplot2, but it didn't help. Have you seen this before.

There are some stackoverflow comments that indicate that this happens with other packages using ggplot() and it can be fixed by using Hadley's development version of ggplot2, but not in this case.

jameshunterbr avatar Mar 25 '17 17:03 jameshunterbr

Hadley made some breaking changes to ggplot2. Most users should only get a warning but I've seen your error. I plan on updatingcoefplot in the next week or so.

jaredlander avatar Mar 25 '17 17:03 jaredlander

Thanks.

⁣Sent from BlueMail ​

On Mar 25, 2017, 14:35, at 14:35, Jared Lander [email protected] wrote:

Hadley made some breaking changes to ggplot2. Most users should only get a warning but I've seen your error. I plan on updatingcoefplot in the next week or so.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/jaredlander/coefplot/issues/14#issuecomment-289226915

jameshunterbr avatar Mar 25 '17 18:03 jameshunterbr

Someone else reported this problem but I cannot recreate with my setup. Can you reply with your package versions for both ggplot2 and coefplot?

jaredlander avatar Mar 26 '17 19:03 jaredlander

Upon further review, the problem is solved by reinstalling coefplot. But not the CRAN version. So use devtools::install_github('jaredlander/coefplot').

jaredlander avatar Mar 26 '17 20:03 jaredlander

coefplot - 1.2.4 ggplot2 - 2.2.1.9000

On Mar 26, 2017, 17:59 -0300, Jared Lander [email protected], wrote:

Someone else reported this problem but I cannot recreate with my setup. Can you reply with your package versions for both ggplot2 and coefplot? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

jameshunterbr avatar Mar 26 '17 21:03 jameshunterbr

Try installing coefplot from GitHub, hopefully that should fix it.

jaredlander avatar Mar 26 '17 21:03 jaredlander

Works fine now. Both my students and I thank you!

————————————————— James R. Hunter Laboratório de Retrovirologia Disciplina de Infectologia Departamento de Medicina Escola Paulista de Medicina Universidade Federal de São Paulo Cel: (11) 9-5327-5656

Lab 1 Rua Pedro de Toledo 669 6º Andar Fundos 04039-032 São Paulo, SP, BRASIL Fone (11) 5576-4834 —————————————————

On Mar 26, 2017, 18:20 -0300, Jared Lander [email protected], wrote:

Upon further review, the problem is solved by reinstalling coefplot. But not the CRAN version. So use devtools::install_github('jaredlander/coefplot'). — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

jameshunterbr avatar Mar 26 '17 21:03 jameshunterbr