You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+23-1Lines changed: 23 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,33 @@
2
2
3
3
> **Note**: For general development guidelines, code style conventions, and AI agent instructions, see [`AGENTS.md`](../AGENTS.md) in the repository root.
4
4
5
+
## Project Overview
6
+
7
+
igraph/rigraph is an R package for network analysis and graph theory with a C/C++ backend.
8
+
5
9
## Common Commands for Copilot Chat
6
10
7
11
- Load for development: `pkgload::load_all()`
8
12
- Run tests: `testthat::test_local(reporter = "check")`
13
+
- Run tests for a single file: `testthat::test_local(filter = "foo", reporter = "check")`
9
14
- Format code: `air format .`
10
15
- Update documentation: `devtools::document()`
16
+
- Build package: `devtools::build()`
17
+
- Check package: `devtools::check()`
18
+
19
+
## Key Conventions
20
+
21
+
- Use `snake_case` for functions and arguments
22
+
- Follow tidyverse style guide
23
+
- Use roxygen2 with Markdown for documentation
24
+
- Run `air format .` before committing
25
+
- Add tests for all new functionality
26
+
- Use explicit package prefixes (e.g., `withr::local_db_connection()`)
27
+
28
+
## Important Files
29
+
30
+
-**Do not modify directly**: `src/rinterface.c`, `R/aaa-auto.R` (generated by Stimulus)
0 commit comments