Commit 45a60cf
Fix CI failures: lint, test mock, duplicate verbose message, docs
- Fix line length lint errors in R/sim_pop_data_multi.R (lines 28, 30
exceeded 80 chars; wrap check_parallel_cores() call across lines)
- Fix check_parallel_cores mock signature in test-sim_pop_data_multi.R:
mock was function(x) but production code calls with named args
(num_cores, chk, verbose); rewrite test to mock detectCores instead
so the full cap path (including env-var cap inside check_parallel_cores)
is exercised end-to-end via register_calls
- Remove duplicate cli::cli_inform in check_parallel_cores() verbose block
- Remove misleading '(Unchanged)' annotation from comment
- Update man/check_parallel_cores.Rd: \verb{} -> \code{} for
_R_CHECK_LIMIT_CORES_ (roxygen2 8.0.0 uses \code{} for strings
without Rd markup characters)
Co-authored-by: Kristina W. Lai <undefined@users.noreply.github.com>1 parent 477cc4d commit 45a60cf
4 files changed
Lines changed: 20 additions & 31 deletions
File tree
- R
- man
- tests/testthat
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | 55 | | |
59 | 56 | | |
60 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
| 81 | + | |
| 82 | + | |
85 | 83 | | |
86 | 84 | | |
87 | 85 | | |
| |||
111 | 109 | | |
112 | 110 | | |
113 | 111 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
123 | 118 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
132 | 123 | | |
0 commit comments