Repository navigation
[Linting Rule] Autoload Files
Generated from 'wiki-linter.ts' on 2026-11-21, 15:29:25 UTC (v2.17.9), do not edit directly.
Autoload Files [overview]
This rule is a over-approximative rule.
Finds code in a project that will be executed automatically through autoload files like .RProfile
This linting rule is implemented in src/linter/rules/autoload-files.ts.
Linting rules can be configured by passing a configuration object to the linter query as shown in the example below.
The autoload-files rule accepts the following configuration options:
A project with the code R/code.R:
f <- function() 1and the files
.RProfile:
system("rm -rf /")
The linting query can be used to run this rule on the above example:
[ { "type": "linter", "rules": [ { "name": "autoload-files", "config": {} } ] } ]Results (prettified and summarized):
Query: linter (12 ms)
╰ Autoload Files (autoload-files):
╰ certain:
╰ File /pkg/.RProfile
More examples are the test cases in test/functionality/linter/lint-autoload-files.test.ts.
Currently maintained by Florian Sihler and Oliver Gerstl at Ulm University
Email | GitHub | Penguins | Portfolio
- 🧑💻 Developer Onboarding
- 💻 Setup
- 👓 Overview
- 🪟 Interfacing with flowR
- 🌋 Core
- 🧹 Testing & Linting (Benchmark Page)
⁉️ FAQ- ℹ️ Extra Information