search for: zeallot_assign_detect

Displaying 3 results from an estimated 3 matches for "zeallot_assign_detect".

2023 Mar 13
1
Multiple Assignment built into the R Interpreter?
...ed * a character vector containing a list of variables referenced that might not otherwise be detected * expression e with potentially "offending" elements removed, which will then be processed by the rest of the checking code Then, say, 'zeallot' could implement zeallot::zeallot_assign_detect(), and a package developer using it could put utils::alternativeAssignment("%<-%", zeallot::zeallot_assign_detect) in their .onLoad() function. Similarly, users of 'dotty' could set up callbacks for all standard assignment operators to inform the code about the nonstandard as...
2023 Mar 13
1
Multiple Assignment built into the R Interpreter?
...taining a list of variables referenced that > might not otherwise be detected > * expression e with potentially "offending" elements removed, which > will then be processed by the rest of the checking code > > Then, say, 'zeallot' could implement zeallot::zeallot_assign_detect(), > and a package developer using it could put > > utils::alternativeAssignment("%<-%", zeallot::zeallot_assign_detect) > > in their .onLoad() function. Similarly, users of 'dotty' could set up > callbacks for all standard assignment operators to inform the...
2023 Mar 12
1
Multiple Assignment built into the R Interpreter?
Kevins package is very nice as a proof of concept, no doubt about that, but it is not at the level of performance or convenience that a native R implementation would offer. I would probably not use it to translate matlab routines into R packages placed on CRAN, because it?s an additional dependency, I have a performance burden in every iteration, and utils::globalVariables() is everything but