Execortesi / DataFocus

Data Manipulation and Analysis Tools
https://execortesi.github.io/DataFocus/
Other
0 stars 0 forks source link

Error en devtools::check() #4

Open Execortesi opened 2 days ago

Execortesi commented 2 days ago

@paocorrales Buenas tardes profe, me apareció un error al hacer devtools::check() que no entiendo que significa, es el siguiente: E creating vignettes (8.6s) --- re-building ‘vinieta_DataFocus.Rmd’ using rmarkdown trying URL 'https://raw.githubusercontent.com/rse-r/intro-programacion/main/datos/NH0098.csv' Content type 'text/plain; charset=utf-8' length 2179862 bytes (2.1 MB)

downloaded 2.1 MB

Quitting from lines 34-35 [unnamed-chunk-3] (vinieta_DataFocus.Rmd) Error: processing vignette 'vinieta_DataFocus.Rmd' failed with diagnostics: could not find function "%>%" --- failed re-building ‘vinieta_DataFocus.Rmd’

SUMMARY: processing the following file failed: ‘vinieta_DataFocus.Rmd’

Error: Vignette re-building failed. Execution halted Error in (function (command = NULL, args = character(), error_on_status = TRUE, …: ! System command 'R' failed

Exit status: 1 stdout & stderr:

Type .Last.error to see the more details.

paocorrales commented 2 days ago

Exequiel,

El error dice:

Error: processing vignette 'vinieta_DataFocus.Rmd' failed with diagnostics:
   could not find function "%>%"

Esto es un problema de dependencias. La pite %>% es parte de dplyr y si bien tenes esa dependencia no podemos usar dplyr::%>% porque es un operador, no una función.

Aca tenes 2 opciones o usas la pipe nativa |> o agregas la pipe %>% con usethis::use_pipe()

Execortesi commented 2 days ago

Perfecto, muchas gracias!