Skip to content

State that these functions are not vectorised (or vectorise them?) #13

@gabrielodom

Description

@gabrielodom

Here is an example:

CTNote::count_matches(use_pattern = c("-----", "o-o--"), match_is = "-")

This returns the (somewhat confusing) error

Error in if (pattern_trim_length == 0) { : the condition has length > 1

We need to

  1. vectorise all the functions, or
  2. add a better error message and function documentation AND add calls to dplyr::rowwise() in the examples

Metadata

Metadata

Assignees

Labels

build requestadd core functionalitydocumentationImprovements or additions to documentation

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