You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
do.call(tagList, plot_output_list) # needed to display properly.
return(plot_output_list)
} this is my global code where op12 is giving me 7 obs and 65 variables in server I have similar table output which is op 11 gives 5 obs and 9 variables
output$spec_table <- renderUI({
if(is.null(spec_results)) return(NULL)
if(is.null(input$testname) || sum(input$testname == "")) {
test_name_info_spec <- unique(test_name_data_specs()$description)
} else{
test_name_info_spec <- input$testname
}
spec_results <- spec_results %>%
filter(description %in% c(test_name_info_spec)) %>%
select(-category_group,-sort_no,-`Nutrient Testing`,-formula_cd,-version,-created_by,-parameter_cd) %>%
rename("Unit Desc"=unit,"Min Spec"=min_spec,"Max Spec"=max_spec,"Target Spec"=target_spec,"Nutrient Testing" = description)
testname111 <<- input$testname
print(spec_results)
print(input$testname)
op <- as.data.frame(t(spec_results))
op <- cbind(rownames(op),op)
colnames(op) <- make.unique(colnames(op))
op11 <<- op
colnames(op) <- op[1,]
op <- op[-1,]
op <- op %>% flextable() %>% add_header_row(values=colnames(op), top=FALSE) %>% delete_rows(i=1,part="header")
op <- op %>%
#theme_zebra() %>% # theme_booktabs() %>%
bg(bg = "#f7f5f5", part = "all") %>%
bg(bg = "#D9D9D9", part = "header") %>%
color(color = "#000000", part = "all") %>%
bg(j=1,i=1,bg = "#FFFFCC", part = "body") %>%
bg(j=1,i=2,bg = "#DAEEF3", part = "body") %>%
bg(j=1,i=3,bg = "#DAEEF3", part = "body") %>%
bg(j=1,i=4,bg = "#B8CCE4", part = "body") %>%
bold(j=1, bold = TRUE, part = "body") %>%
bold(bold = TRUE, part = "header") %>% #<= 0.05
font(fontname = 'Arial', part = "all") %>%
padding(padding = 0,part = "all") %>%
fontsize(size = 12, part = "header") %>%
fontsize(size = 11, part = "body") %>%
fontsize(j=1, size = 12, part = "body") %>%
align(align = "center", part = "all") %>%
border(border = fp_border(color = "#000000") , part = "all") %>%
border_outer(border = fp_border(color = "#000000", style = "solid", width = 2) , part = "all") %>%
autofit() %>%
height_all(height = 0.5, part = "all") %>% hrule(rule = "exact", part = "all") %>%
htmltools_value()
return(op)
})
where is the error
The text was updated successfully, but these errors were encountered:
})
do.call(tagList, plot_output_list) # needed to display properly.
return(plot_output_list)
} this is my global code where op12 is giving me 7 obs and 65 variables in server I have similar table output which is op 11 gives 5 obs and 9 variables
output$spec_table <- renderUI({
if(is.null(spec_results)) return(NULL)
})
where is the error
The text was updated successfully, but these errors were encountered: