Skip to content

Commit 5f2b522

Browse files
committed
Some more specific advice
1 parent f2d52b0 commit 5f2b522

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

AGENTS.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
## This package
22

3-
<!-- Insert package-specific content here. use_tidy_agents() will preserve this section when updating the rest of the file. -->
3+
* Use `:=` with `new_class()` and `new_generic()`, i.e. `foo := new_class(...)` instead of `foo <- new_class("foo", ...)`.
4+
* Use `defer()` instead of `on.exit()`.
5+
* For tests, only use `test_that()`, not `describe()`/`it()`
46

57
## Package development
68

0 commit comments

Comments
 (0)