Conversation
98fb05d to
46b433d
Compare
There was a problem hiding this comment.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
air
[air] reported by reviewdog 🐶
Line 585 in 2daf52f
[air] reported by reviewdog 🐶
Lines 623 to 627 in 2daf52f
[air] reported by reviewdog 🐶
Line 642 in 2daf52f
[air] reported by reviewdog 🐶
Lines 678 to 682 in 2daf52f
[air] reported by reviewdog 🐶
Line 56 in 2daf52f
[air] reported by reviewdog 🐶
Lines 66 to 68 in 2daf52f
[air] reported by reviewdog 🐶
Line 104 in 2daf52f
[air] reported by reviewdog 🐶
Line 109 in 2daf52f
[air] reported by reviewdog 🐶
Lines 148 to 150 in 2daf52f
[air] reported by reviewdog 🐶
Line 157 in 2daf52f
[air] reported by reviewdog 🐶
Line 162 in 2daf52f
[air] reported by reviewdog 🐶
Line 165 in 2daf52f
[air] reported by reviewdog 🐶
Lines 177 to 186 in 2daf52f
[air] reported by reviewdog 🐶
Lines 219 to 220 in 2daf52f
[air] reported by reviewdog 🐶
Lines 238 to 241 in 2daf52f
[air] reported by reviewdog 🐶
Lines 259 to 262 in 2daf52f
[air] reported by reviewdog 🐶
Lines 322 to 325 in 2daf52f
[air] reported by reviewdog 🐶
Lines 341 to 344 in 2daf52f
[air] reported by reviewdog 🐶
Lines 362 to 365 in 2daf52f
[air] reported by reviewdog 🐶
Line 383 in 2daf52f
[air] reported by reviewdog 🐶
Line 388 in 2daf52f
[air] reported by reviewdog 🐶
Lines 409 to 412 in 2daf52f
[air] reported by reviewdog 🐶
Lines 436 to 439 in 2daf52f
[air] reported by reviewdog 🐶
Lines 443 to 446 in 2daf52f
[air] reported by reviewdog 🐶
Line 481 in 2daf52f
[air] reported by reviewdog 🐶
Lines 509 to 510 in 2daf52f
[air] reported by reviewdog 🐶
Line 520 in 2daf52f
[air] reported by reviewdog 🐶
Line 522 in 2daf52f
[air] reported by reviewdog 🐶
Line 524 in 2daf52f
[air] reported by reviewdog 🐶
Line 527 in 2daf52f
[air] reported by reviewdog 🐶
Line 530 in 2daf52f
[air] reported by reviewdog 🐶
Line 566 in 2daf52f
[air] reported by reviewdog 🐶
Line 568 in 2daf52f
[air] reported by reviewdog 🐶
Line 570 in 2daf52f
[air] reported by reviewdog 🐶
Line 573 in 2daf52f
[air] reported by reviewdog 🐶
Line 576 in 2daf52f
There was a problem hiding this comment.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
Reset non-typology files (bilateral_trade, gapfilling, production, livestock, etc.) to main's version. Restore files deleted by stale sub-branch merges (calculate_lmdi, harmonize, toy_examples). Keep typology-specific work in n_prov_destiny, n_soil_inputs_nue, utils. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Restore example=FALSE parameter to create_n_prov_destiny, create_n_nat_destiny, create_n_soil_inputs, create_n_production, calculate_nue_crops, calculate_nue_livestock, calculate_system_nue to match main's API. Remove non-existent linear_fill, proxy_fill, sum_fill exports from NAMESPACE. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Accept remote updates to typology plot files (typologies_kgN_ha, typologies_spain_plot, typologies_spain_stacked_bar). Merge both sides for DESCRIPTION, _pkgdown.yml, .Rbuildignore, and whep-package.R. All 473 tests pass. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
These datasets were part of the old version= API approach. The current example=TRUE pattern uses toy_examples.R instead. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add rename_with(tolower) at the end of create_n_prov_destiny() and create_n_soil_inputs() to output snake_case column names (year, province_name, item, irrig_cat, box, origin, destiny, mg_n) matching main's API. Update all 15 downstream files (typology classifiers, grafs_plot, NUE functions, plots) to use snake_case column references. Add @param example and @examples documentation to all 7 exported N flow functions. Regenerate man pages. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Update roxygen @return docs to use snake_case column names matching the actual output. Remove decorative dashes from exported function titles. Add detailed column docs to create_n_nat_destiny and irrig_cat to create_n_soil_inputs. Fix stray character at start of n_prov_destiny.R. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Merge origin/main into alice/typologies. Keep rename_with(tolower) only at the public create_n_prov_destiny() boundary, not inside internal .add_n_soil_inputs. Take main's version for non-typology files. Add branch-specific typology section to _pkgdown.yml. Add mipfp, ggpattern, patchwork, sf, readxl, stringi deps for typology code. 679/684 tests pass (5 pre-existing failures on main). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Remove linear_fill, proxy_fill, sum_fill from _pkgdown.yml (renamed to fill_linear, fill_sum, fill_proxy_growth on main). Remove mipfp from Imports as it is no longer used. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Replace non-ASCII chars (en-dashes, superscripts) with ASCII in intensification_specialization_plot.R and land_use_typology_panel.R. - Add scales to Imports in DESCRIPTION. - Add missing globalVariables() for all typology NSE variables. - Remove Rplots.pdf and typology_kgha_agricultural.jpg from repo. - Add both to .gitignore. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Remove explicit return() calls (use implicit returns). - Shorten function names exceeding 30 chars. - Fix T symbol to t_ratio (avoids shadowing TRUE). - Rename recycled_N to recycled_n (snake_case). - Add spaces after commas in tribble definitions. - Replace 1:nrow() with seq_len(nrow()). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Remove explicit return() in land_use_typology_panel.R, Typologies_Josette.R, typologies_spain_plot.R, typologies_spain.R. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
No description provided.