Error is raised if not any var in data.frames in sim_list of a stics_wrapper returned object
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 57/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- r
- Ambito
- data-visualization
Direzione di ricerca
Start by tracing plot(res$sim_list) to the dplyr::mutate() call shown in the error and inspect how it handles data frames without variables. Reproduce with the example data frame, then check that plotting works when var.mod is absent and that partially populated simulation lists are handled; the issue names no files or tests.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
the error message when all of the data.frames do not contain any variable or any of them, not tested if some of the data.frames do not contain any var.
> plot(res$sim_list)
Error in `dplyr::mutate()`:
ℹ In argument: `var = factor(as.character(var), levels = lvls)`.
Caused by error in `as.character()`:
! cannot coerce type 'closure' to vector of type 'character'
Run `rlang::last_trace()` to see where the error occurred.
example of data.frame (it occurs when the workspace does not contain a var.mod)
Date pla Plant
1 2005-08-31 ble plant_1
2 2005-09-01 ble plant_1
3 2005-09-02 ble plant_1
4 2005-09-03 ble plant_1
5 2005-09-04 ble plant_1
6 2005-09-05 ble plant_1
7 2005-09-06 ble plant_1
8 2005-09-07 ble plant_1
9 2005-09-08 ble plant_1
10 2005-09-09 ble plant_1
11 2005-09-10 ble plant_1
12 2005-09-11 ble plant_1
13 2005-09-12 ble plant_1
14 2005-09-13 ble plant_1
15 2005-09-14 ble plant_1
- Lingua principale
- R
- Stelle
- 1
- Fork
- 3
- Merge medio
- 9h 41m
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di SticsRPacks/CroPlotR
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
SticsRPacks/CroPlotR#185 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
SticsRPacks/CroPlotR#180 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
SticsRPacks/CroPlotR#186 ·
-
enhancement
Difficoltà 3/5 Mezza giornata Idoneità per principianti 64/100
SticsRPacks/CroPlotR#173 ·
-
Refactor scatter and dynamic plots codeForse già presa @vrahier l’ha presa 58 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 28/100
SticsRPacks/CroPlotR#163 ·
Tutte le issue di SticsRPacks/CroPlotR
Issue simili
-
1.7
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
pharmaverse/admiral#3235 ·
I maintainer di solito rispondono entro 2 giorni
-
Typo: p.381Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
rmcelreath/rethinking#482 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno