Open stadlerlab opened 1 year ago
Reading from Calculations (lab notebook) CoV2. √ Range ''Plate layouts'!B36:N44'. New names:
` -> ...2 Error inselect(): ! Can't subset columns that don't exist. x ColumnPositivitydoesn't exist. Runrlang::last_error()to see where the error occurred. Warning messages: 1: Expected 2 pieces. Additional pieces discarded in 2 rows [59, 60]. 2: Expected 2 pieces. Missing pieces filled withNA` in 2 rows [59, 60]. 3: In max(negative_controls$PositiveDroplets) : no non-missing arguments to max; returning -Inf
` -> ...2 Error in
: ! Can't subset columns that don't exist. x Column
doesn't exist. Run
to see where the error occurred. Warning messages: 1: Expected 2 pieces. Additional pieces discarded in 2 rows [59, 60]. 2: Expected 2 pieces. Missing pieces filled with
no non-missing arguments to max; returning -Inf
rlang::last_error() <error/vctrs_error_subscript_oob> Error in select(): ! Can't subset columns that don't exist. x Column Positivity doesn't exist. Backtrace: base::source("~/WW-CoV2-project/2-calculations_multiple_runs.R") dplyr:::select.data.frame(...) tidyselect::eval_select(expr(c(...)), .data) tidyselect:::eval_select_impl(...) tidyselect:::vars_select_eval(...) tidyselect:::walk_data_tree(expr, data_mask, context_mask, error_call) tidyselect:::eval_c(expr, data_mask, context_mask) tidyselect:::reduce_sels(node, data_mask, context_mask, init = init) tidyselect:::walk_data_tree(new, data_mask, context_mask) tidyselect:::as_indices_sel_impl(...) tidyselect:::as_indices_impl(x, vars, call = call, strict = strict) tidyselect:::chr_as_locations(x, vars, call = call) vctrs::vec_as_location(x, n = length(vars), names = vars) vctrs <fn>() vctrs:::stop_subscript_oob(...) vctrs:::stop_subscript(...) Run rlang::last_trace() to see the full context.
rlang::last_error() <error/vctrs_error_subscript_oob> Error in select(): ! Can't subset columns that don't exist. x Column Positivity doesn't exist. Backtrace:
select()
Positivity
<fn>
rlang::last_trace()
Just curious, how did you fix this? You can close the issue now @rogit2
Reading from Calculations (lab notebook) CoV2. √ Range ''Plate layouts'!B36:N44'. New names:
` -> ...2 Error in
select(): ! Can't subset columns that don't exist. x Column
Positivitydoesn't exist. Run
rlang::last_error()to see where the error occurred. Warning messages: 1: Expected 2 pieces. Additional pieces discarded in 2 rows [59, 60]. 2: Expected 2 pieces. Missing pieces filled with
NA` in 2 rows [59, 60]. 3: In max(negative_controls$PositiveDroplets) : no non-missing arguments to max; returning -Infno non-missing arguments to max; returning -Inf