|
5 | 5 | * **future.batchtools** now implements the FutureBackend API |
6 | 6 | introduced in **future** 1.40.0 (2025-04-10). |
7 | 7 |
|
8 | | - * Removed option `future.delete`. To control whether batchtools |
9 | | - futures should be deleted from the file system, see future backend |
10 | | - argument `delete`, which defaults to `"on-success"`, but can also |
11 | | - be set to `"never"` and `"always"`. |
12 | | - |
13 | 8 | ## New Features |
14 | 9 |
|
| 10 | + * Batchtools future backends gained argument `delete` for controlling |
| 11 | + if and when batchtools futures should be deleted from the file |
| 12 | + system`. Supported values are `"on-success"`, `"never"` and |
| 13 | + `"always"`. The default value can be set via R option |
| 14 | + `future.batchtools.delete`. |
| 15 | + |
15 | 16 | * Most types of batchtools future can now be interrupted, including |
16 | 17 | `batchtools_multicore` and all job-scheduler backends, e.g. |
17 | 18 | `batchtools_sge` and `batchtools_slurm`. |
|
52 | 53 | **future.batchtools** will no longer wait for such files and only |
53 | 54 | read their content if they exists when checked. |
54 | 55 |
|
| 56 | +## Deprecated and Defunct |
| 57 | + |
| 58 | + * R option `future.delete` is deprecated. Please use new R option |
| 59 | + `future.batchtools.delete` instead. For backward compatible |
| 60 | + reasons, if R option `future.delete` sets option |
| 61 | + `future.batchtools.delete` when the packages is loaded and the |
| 62 | + latter is not already set. If `future.delete` is FALSE, then |
| 63 | + `future.batchtools.delete` is set to `"never"`. If `future.delete` |
| 64 | + is TRUE, then `future.batchtools.delete` is set to `"on-success"`. |
| 65 | + |
55 | 66 |
|
56 | 67 | # Version 0.12.2 [2025-06-06] |
57 | 68 |
|
|
177 | 188 | `status()`, which were functions that were used for internal |
178 | 189 | purposes. |
179 | 190 |
|
180 | | - |
181 | 191 | ## Documentation |
182 | 192 |
|
183 | 193 | * Document option `future.delete` and clarify option |
184 | 194 | `future.cache.path` in `help("future.batchtools.options")`. |
185 | 195 |
|
186 | | - |
187 | 196 | ## Bug Fixes |
188 | 197 |
|
189 | 198 | * If `run()` was called twice for a BatchtoolsFuture, it would not |
190 | 199 | produce a FutureError but only a regular non-classed error. |
191 | 200 |
|
192 | | - |
193 | 201 | ## Deprecated and Defunct |
194 | 202 |
|
195 | 203 | * Removed S3 generic functions `await()`, `finished()`, and |
|
0 commit comments