search for: conflictrul

Displaying 6 results from an estimated 6 matches for "conflictrul".

Did you mean: conflictrules
2020 May 20
3
Feature Request: User Prompt + Message First Execution when "Managing Search Path Conflicts"
...policy = "strict", conflicts.policy.ask = TRUE) library(dplyr) Executes iteratively the code, in order to ask the user for action (See toy example): opt <- readline(prompt="1: mask.ok; 2: exclude. Choose: ") if (opt == "1"){ txt <- sprintf( fmt = "conflictRules(pkg = '%s' , mask.ok = '%s')", "package.name", "variable.name" ) eval(parse(text = txt)) message(txt) } else if(opt == "2"){ txt <- sprintf( fmt = "conflictRules(pkg = '%s' , exclude = '%s')",...
2020 May 20
0
[External] Feature Request: User Prompt + Message First Execution when "Managing Search Path Conflicts"
...s signaled. This should get you started: ``` options(conflicts.policy = "strict") packageConflictError handle_conflicts <- function(e) { cat(conditionMessage(e)) opt <- readline(prompt="1: mask.ok; 2: exclude. Choose: ") if (opt == "1") conflictRules(e$package, mask.ok = as.character(unlist(e$conflicts))) else if (opt == "2") conflictRules(e$package, exclude = as.character(unlist(e$conflicts))) stop("unresolved conflicts") ## ideal invode a restart here } globalCallingHandlers(packageConflictError = han...
2020 May 21
2
[External] Feature Request: User Prompt + Message First Execution when "Managing Search Path Conflicts"
...`` > options(conflicts.policy = "strict") > > packageConflictError > > handle_conflicts <- function(e) { > cat(conditionMessage(e)) > opt <- readline(prompt="1: mask.ok; 2: exclude. Choose: ") > if (opt == "1") > conflictRules(e$package, mask.ok = as.character(unlist(e$conflicts))) > else if (opt == "2") > conflictRules(e$package, exclude = as.character(unlist(e$conflicts))) > stop("unresolved conflicts") ## ideal invode a restart here > } > > globalCallingHandle...
2020 May 21
0
[External] Feature Request: User Prompt + Message First Execution when "Managing Search Path Conflicts"
...= "strict") >> >> packageConflictError >> >> handle_conflicts <- function(e) { >> cat(conditionMessage(e)) >> opt <- readline(prompt="1: mask.ok; 2: exclude. Choose: ") >> if (opt == "1") >> conflictRules(e$package, mask.ok = as.character(unlist(e$conflicts))) >> else if (opt == "2") >> conflictRules(e$package, exclude = as.character(unlist(e$conflicts))) >> stop("unresolved conflicts") ## ideal invode a restart here >> } >> >...
2023 Apr 05
1
on lexical scoping....
...ll" section. I'd just skip that. It's not at all true that all functions in a package have the package's namespace environment as their environment. There are lots of real examples where that's not true. Functions that maintain persistent records (e.g. the base function conflictRules()) often have a private environment, and occasionally packages import functions from other packages by simple assignment, so they end up in the namespace environment of the importer but still have the namespace environment of the exporter associated with them. And the last diagram (the revis...
2023 Apr 04
2
on lexical scoping....
obviously, everyone has different opinions on what's useful but I always found this document quite helpful. I think, in the past, someone said that there are some incorrect statements in but I'm not sure what they are. https://askming.github.io/study_notes/Stats_Comp/Note-How%20R%20searches%20and%20finds%20stuff.html On Tue, Apr 4, 2023 at 7:06?PM Bert Gunter <bgunter.4567 at