Skip to content

Commit 185938f

Browse files
committed
chore: Claude
1 parent 6c7f277 commit 185938f

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@
3535
^renovate\.json$
3636
^tests/testthat/helper-sync\.R$
3737
^index\.md$
38+
^CLAUDE\.md$

CLAUDE.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Claude Development Notes for dm Package
2+
3+
This file contains important notes and best practices for working with the dm package codebase.
4+
5+
## Testing Guidelines
6+
7+
### Use test_local() with filter argument for specific test files
8+
9+
Always use the `filter` argument when running specific test files to avoid running all tests:
10+
11+
```r
12+
# Run specific test files
13+
testthat::test_local(filter = "flatten") # Runs test-flatten.R
14+
15+
# Run all tests (only when necessary)
16+
testthat::test_local()
17+
```
18+
19+
**Important**: The `filter` argument filters by test file names, not individual test names within files.
20+
21+
---
22+
23+
*This file should be updated as new patterns are discovered.*

0 commit comments

Comments
 (0)