Comments (7)
using group_id <- name_abcd <- sector <- activity_unit <- region <- scenario_source <- scenario <- year <- NULL
inside the function fill_missing_direction()
is one hack to get around the build notes (see tidyverse/tidyr#971 (comment))
the other is to add these to imports.R
(see tidyverse/tidyr#971 (comment))
utils::globalVariables("group_id")
utils::globalVariables("name_abcd")
utils::globalVariables("sector")
utils::globalVariables("activity_unit")
utils::globalVariables("region")
utils::globalVariables("scenario_source")
utils::globalVariables("scenario")
utils::globalVariables("year")
seems like these will be the only options until tidyverse figures out and implements a very different strategy (see tidyverse/tidyr#971 (comment))
from pacta.multi.loanbook.analysis.
I don't really love either, but would probably lean towards the first option as it seems like it does not play with global variables across the entire package for no reason.
from pacta.multi.loanbook.analysis.
I have not been able to figure out how to get rid of the NOTE
relating to function fill_missing_direction()
. Any attempt I have made at fixing the no visible binding for global variable
issue in two nested tidyr
functions has lead to ERRORs in R CMD... any ideas?
from pacta.multi.loanbook.analysis.
Wanna schedule a pair program with me on Thursday? Need a bit more context to help 😊
from pacta.multi.loanbook.analysis.
I know I'm late to the party here, but is there a reason to not use quoted strings, rather than bare column names?
from pacta.multi.loanbook.analysis.
I know I'm late to the party here, but is there a reason to not use quoted strings, rather than bare column names?
tried that, it leads to errors
from pacta.multi.loanbook.analysis.
I know I'm late to the party here, but is there a reason to not use quoted strings, rather than bare column names?
because it uses "<[data-masking]>"
https://tidyr.tidyverse.org/reference/expand.html
https://tidyr.tidyverse.org/reference/tidyr_data_masking.html
from pacta.multi.loanbook.analysis.
Related Issues (20)
- remove handling of bridge_technologies
- Build NOTE: add utility functions to avoid using unexported objects HOT 2
- use `dplyr::all_of()` in select on external vector HOT 1
- R-CMD NOTE: undefined global variables activity_unit and activity_units HOT 1
- use reasonable settings in `.lintr`file
- clean up nolints
- remove plot related functions
- upkeep: `create_benchmark_loanbook()` cannot use `code_level` from `r2dii.data` anymore HOT 4
- upkeep: remove unused utility function `beautify_scenario_label`
- upkeep: squelch warning in `test-aggregate_alignment_loanbook_exposure.R`
- upkeep: update roxygen to 7.3.1
- update GH actions
- add NEWS.md HOT 1
- update README
- upkeep: maybe rename `.github/workflows/R.yml` to `R-CMD-check.yaml` HOT 3
- upkeep: pkgdown website does not build - fix HOT 2
- add filter/group/aggregate functionality
- feat: use column name `id_loanbook` instead of `group_id` HOT 2
- calculate aggregate results for both `loan_size_outstanding` and `loan_size_credit_limit` by default
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pacta.multi.loanbook.analysis.