Open AARON-CLARK opened 1 year ago
Change pillar::new_pillar_type() to pillar::type_sum() since the original code is just grabbing the output from type_sum() anyways. Certainly is more efficient coding. See dgkf/shinyDataFilter PR #15
pillar::new_pillar_type()
pillar::type_sum()
type_sum()
Replace this: https://github.com/Biogen-Inc/IDEAFilter/blob/d216e1e81205fea46aa74630a1adc47eb156019d/R/shiny_vector_filter.R#L142
With this:
type <- pillar::type_sum(obj) if (length(type) == 0L) "" else type
Change
pillar::new_pillar_type()
topillar::type_sum()
since the original code is just grabbing the output fromtype_sum()
anyways. Certainly is more efficient coding. See dgkf/shinyDataFilter PR #15Replace this: https://github.com/Biogen-Inc/IDEAFilter/blob/d216e1e81205fea46aa74630a1adc47eb156019d/R/shiny_vector_filter.R#L142
With this: