jaredlander / coefplot

Plotting model coefficients
Other
27 stars 19 forks source link

Problem with ggproto #14

Open jameshunterbr opened 7 years ago

jameshunterbr commented 7 years ago

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.

jaredlander commented 7 years ago

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.

jameshunterbr commented 7 years ago

Thanks.

⁣Sent from BlueMail ​

On Mar 25, 2017, 14:35, at 14:35, Jared Lander notifications@github.com 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

jaredlander commented 7 years ago

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 commented 7 years ago

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

jameshunterbr commented 7 years ago

coefplot - 1.2.4 ggplot2 - 2.2.1.9000

On Mar 26, 2017, 17:59 -0300, Jared Lander notifications@github.com, 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.

jaredlander commented 7 years ago

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

jameshunterbr commented 7 years ago

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 notifications@github.com, 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.