dreamRs / esquisse

RStudio add-in to make plots interactively with ggplot2
https://dreamrs.github.io/esquisse
Other
1.78k stars 229 forks source link

Warning: Error in badgeType: length(col_name) == length(col_type) is not TRUE [No stack trace available] #185

Closed zecagis closed 2 years ago

zecagis commented 2 years ago

Quando executo o pacote esquisse no R da este problema e não consigo resolver, já instalei manualmente mas tambem não funciona.

pvictor commented 2 years ago

Which version do you use ? Try by installing GitHub version:

remotes::install_github("dreamRs/esquisse")

If it doesn't work, can you share your data structure ?

Victor

LucasRibeiroRJBR commented 2 years ago

@pvictor I got this same problem. I'm using data from the "geobr" library, which is a database of a Brazilian national data agency. I'm putting the code I used below, along with the error code. (J'ai le même problème. J'utilise les données de la bibliothèque "geobr", qui est une base de données d'une agence de données nationale brésilienne. Je mets le code que j'ai utilisé ci-dessous, ainsi que le code d'erreur.)

Code


library(esquisse)
library(ggplot2)
library(geobr)

SP -> Data from São Paulo State

sp <- read_state(code_state = "SP",year = 2010) esquisser(sp)

> Error
```Warning
> esquisser(sp)
This Font Awesome icon ('gear') does not exist:
* if providing a custom `html_dependency` these `name` checks can 
  be deactivated with `verify_fa = FALSE`
This Font Awesome icon ('file-image-o') does not exist:
* if providing a custom `html_dependency` these `name` checks can 
  be deactivated with `verify_fa = FALSE`
This Font Awesome icon ('file-pdf-o') does not exist:
* if providing a custom `html_dependency` these `name` checks can 
  be deactivated with `verify_fa = FALSE`
This Font Awesome icon ('file-image-o') does not exist:
* if providing a custom `html_dependency` these `name` checks can 
  be deactivated with `verify_fa = FALSE`
This Font Awesome icon ('file-powerpoint-o') does not exist:
* if providing a custom `html_dependency` these `name` checks can 
  be deactivated with `verify_fa = FALSE`
This Font Awesome icon ('gear') does not exist:
* if providing a custom `html_dependency` these `name` checks can 
  be deactivated with `verify_fa = FALSE`
This Font Awesome icon ('remove') does not exist:
* if providing a custom `html_dependency` these `name` checks can 
  be deactivated with `verify_fa = FALSE`
This Font Awesome icon ('remove') does not exist:
* if providing a custom `html_dependency` these `name` checks can 
  be deactivated with `verify_fa = FALSE`
This Font Awesome icon ('gears') does not exist:
* if providing a custom `html_dependency` these `name` checks can 
  be deactivated with `verify_fa = FALSE`
This Font Awesome icon ('close') does not exist:
* if providing a custom `html_dependency` these `name` checks can 
  be deactivated with `verify_fa = FALSE`

Listening on http://127.0.0.1:3204
Warning: Error in badgeType: length(col_name) == length(col_type) is not TRUE
  [No stack trace available]

PS: code executed on RStudio (Code exécuté dans RStudio)

pvictor commented 2 years ago

If you re-install from CRAN it should be ok.

Victor