Hi,
For keeping track, I spend a few hours trying to identify the error "invalid 'subset' argument!". The error occurs when rendering a R MarkDown file. It does raise when running the RMD chunk by chunk, nor when extracting and excuting the script from the RMD.
Finally, adding an output file for the try() function (options(try.outFile = "totototot")), reveals that
Error in filter(keys, !!enquo(subset)) :
ℹ In argument: `list(`$FIL` = fcs_file)`.
Caused by error:
! `..1` must be a logical vector, not a list.
Before using a list, I passed the fcs_file directly, but it also failed.
In the future, it would be great that the error catching returns the original message.
|
filter(keys, !!enquo(subset))$name |
|
}) |
|
} |
|
if(class(subset_parsed) == "try-error") |
|
stop("invalid 'subset' argument!") |
|
|
|
subset <- subset_parsed |
Hi,
For keeping track, I spend a few hours trying to identify the error "invalid 'subset' argument!". The error occurs when rendering a R MarkDown file. It does raise when running the RMD chunk by chunk, nor when extracting and excuting the script from the RMD.
Finally, adding an output file for the try() function (
options(try.outFile = "totototot")), reveals thatBefore using a list, I passed the fcs_file directly, but it also failed.
In the future, it would be great that the error catching returns the original message.
CytoML/R/flowJoWorkspace_Methods.R
Lines 252 to 258 in 36d4df3