-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix issue with global environment CU-8677zdvv4 #63
base: DEV
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @randrescastaneda , I just added a couple of trivial suggestions
R/aaa.R
Outdated
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
## Evaluate if exists -------- | ||
|
||
to_set <- 1 | ||
if (rlang::env_has(.pip, table)) { | ||
if (force == FALSE) { | ||
if (replace == FALSE) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use isFALSE
function here as we do it at other places?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea. Yes
R/utils.R
Outdated
#' | ||
#' @return data frame with new names | ||
#' @keywords internal | ||
renamecols <- function(df, oldnames, newnames) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the name to rename_cols
for consistency with other functions in the package ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Good idea.
Hi @shahronak47 , good suggestions. Could you please implement them? I can't right now. If you can't, I'll do it in a few hours. Thanks! |
HI Ronak. I just implemented your suggestions. |
Hi @tonyfujs,
I think this PR is ready to merge. It solves the issue of the caching. The only thing that is missing is the ability to turn the caching on or off. I just thought about it. I don't think that is super important, either is it too difficult to implement. @shahronak47 , could you please take a look and let me know?
Thanks.
Best,