Commit 8afdca6
District creation and edition (#246)
* Find exact match with grep to remove a district
* Use the specific endpoint to create a district
* Add unit tests for createDistrict()
* .Rd files after package check
* editDsitrict() in API mode
* Canhe control to avoid tthe use of add_area and remove_area at the same time
* Add to list new_district only existing object remove_area or add_area
* Enrich unit tests to check the district more precisely
* Edit a district in disk mode
* Add unit tests for editDistrict()
* Update NEWS.md
* Treat single area case
* Add unbox to @importFrom section
* Update NEWS.md in right section after pulling from master
* Update NEWS.md
---------
Co-authored-by: kemihak <kamel.kemiha@rte-france.com>1 parent 54e3502 commit 8afdca6
File tree
7 files changed
+489
-62
lines changed- R
- man
- tests/testthat
7 files changed
+489
-62
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| 153 | + | |
152 | 154 | | |
153 | 155 | | |
154 | 156 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
4 | 13 | | |
5 | 14 | | |
6 | 15 | | |
| |||
15 | 24 | | |
16 | 25 | | |
17 | 26 | | |
| 27 | + | |
18 | 28 | | |
19 | 29 | | |
20 | 30 | | |
| |||
0 commit comments