Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Usage of = instead of <- in tests file results in error #391

@mjsteinbaugh

Description

@mjsteinbaugh

In case anybody accidentally uses = for assignment instead of <- in a testthat tests file, currently this error comes up in the GitHub version of the package:

Error in doc_parse_raw(x, encoding = encoding, base_url = base_url, as_html = as_html,  :
  Opening and ending tag mismatch: expr line 8 and equal_assign [76]
Calls: lint_package ... read_xml.character -> read_xml.raw -> doc_parse_raw

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