Skip to contents

Runs lintr on path (relative to cwd) and reports any lints as a verification failure, so the agent loop re-enters to fix them. Use as verify_fn in codeagent_client() / agent_loop(), on its own or combined with verify_r_tests().

Usage

verify_r_lints(path = "R")

Arguments

path

Character. File or directory to lint, relative to cwd (default "R").

Value

A function suitable for verify_fn.