wencke / wencke.github.io

GOplot
19 stars 7 forks source link

Error: Breaks and labels are different lengths #14

Closed PavelEG closed 2 years ago

PavelEG commented 2 years ago

Hi, I was trying to get the GOChord figure but I couldn't figure out what's going on here:

Error: Breaks and labels are different lengths Run rlang::last_error() to see where the error occurred. Además: Warning messages: 1: Using size for a discrete variable is not advised. 2: Removed 2 rows containing missing values (geom_point).

when I run `rlang::last_error() I get: <error/rlang_error> Breaks and labels are different lengths Backtrace:

  1. (function (x, ...) ...
  2. ggplot2:::print.ggplot(x)
  3. ggplot2:::ggplot_gtable.ggplot_built(data)
  4. ggplot2:::build_guides(...)
  5. ggplot2:::guides_train(...)
  6. ggplot2:::guide_train.colorbar(guide, scale, output)
  7. scale$get_labels(breaks)
    1. ggplot2:::f(..., self = self)

Have you seen this before? some clue?

Many thanks in advance!

PavelEG commented 2 years ago

It was an error in packages versión.