Solución de bug al empezar a día 0 con volumen > 0.
This commit is contained in:
+7
-2
@@ -464,7 +464,10 @@ server <- function(input, output) {
|
|||||||
Volume=0,
|
Volume=0,
|
||||||
Observations=""
|
Observations=""
|
||||||
)
|
)
|
||||||
table<-rbind(table, basal)
|
|
||||||
|
if (!(0 %in% test$DayPostInoc) | sum(test[test$DayPostInoc == 0,"Volume"],na.rm = T) == 0){
|
||||||
|
table<-rbind(table, basal)
|
||||||
|
}
|
||||||
|
|
||||||
if (input$vacc == "Sí"){
|
if (input$vacc == "Sí"){
|
||||||
firstoper<- filter(table, !is.na(substr(Observations,1,1)) & substr(Observations,1,1) == "*") %>%
|
firstoper<- filter(table, !is.na(substr(Observations,1,1)) & substr(Observations,1,1) == "*") %>%
|
||||||
@@ -540,7 +543,9 @@ server <- function(input, output) {
|
|||||||
Volume=0,
|
Volume=0,
|
||||||
Observations=""
|
Observations=""
|
||||||
)
|
)
|
||||||
table<-rbind(table, basal)
|
if (!(0 %in% test$DayPostInoc) | sum(test[test$DayPostInoc == 0,"Volume"],na.rm = T) == 0){
|
||||||
|
table<-rbind(table, basal)
|
||||||
|
}
|
||||||
|
|
||||||
if (input$vacc == "Sí"){
|
if (input$vacc == "Sí"){
|
||||||
firstoper<- filter(table, !is.na(substr(Observations,1,1)) & substr(Observations,1,1) == "*") %>%
|
firstoper<- filter(table, !is.na(substr(Observations,1,1)) & substr(Observations,1,1) == "*") %>%
|
||||||
|
|||||||
Reference in New Issue
Block a user