Skip to content

Non-indexed access to header2 causes error in R > 4.3 #162

Description

@amandaj1430

On this line, the comparison

header2 != "IND"

needs an index. In R > 4.3, it raises an error (list(message = "'length = 51253' in coercion to 'logical(1)'", call = header2 != "IND" && header2[2] != "SEX"))

https://github.com/diyabc/diyabcGUI/blame/f93fb3beace3fdcd6ac61b335a608057b03a03d8/R-pkg/R/43_data_read.R#L122

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions