Skip to content

Catching error #169

@SamGG

Description

@SamGG

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions