Displaying 7 results from an estimated 7 matches for "dotify".
Did you mean:
notify
2023 Mar 13
1
Multiple Assignment built into the R Interpreter?
...he checks, not with the language.
A simpler approach than your alternativeAssignment function would be
simply to allow globalVariables() to be limited to a single function as
the note in its help page says.
This might be tedious to write by hand, but could be automated using
methods like "dotify" in dotty.
Duncan Murdoch
On 12/03/2023 10:36 p.m., Pavel Krivitsky wrote:
> Dear All,
>
> As a maintainer of large, complex packages, I can think of many places
> in which deconstructing assignment would simplify the code, as well as
> facilitate readability by breaking up...
2023 Mar 11
2
Multiple Assignment built into the R Interpreter?
...ike:
.[nr, nc] <- dim(mtcars)
and that will define 'nr' and 'nc' as you expect.
As for R CMD check warnings, you can suppress those through the use of
globalVariables(), and that can also be automated within the package.
The 'dotty' package includes a function 'dotify()' which automates
looking for such usages in your package, and calling globalVariables()
so that R CMD check doesn't warn. In theory, a similar technique would
be applicable to other packages defining similar operators (zeallot,
collapse).
Obviously, globalVariables() is a very heavy hamm...
2023 Mar 12
2
Multiple Assignment built into the R Interpreter?
...m(mtcars)
>
> and that will define 'nr' and 'nc' as you expect.
>
> As for R CMD check warnings, you can suppress those through the use of
> globalVariables(), and that can also be automated within the package.
> The 'dotty' package includes a function 'dotify()' which automates
> looking for such usages in your package, and calling globalVariables()
> so that R CMD check doesn't warn. In theory, a similar technique would
> be applicable to other packages defining similar operators (zeallot,
> collapse).
>
> Obviously, globalVar...
2023 Mar 13
1
Multiple Assignment built into the R Interpreter?
...ck warnings, you can suppress those
> > > through the
> > > ??????? use of
> > > ??????? globalVariables(), and that can also be automated within
> > > the
> > > ??????? package.
> > > ??????? The 'dotty' package includes a function 'dotify()' which
> > automates
> > > ??????? looking for such usages in your package, and calling
> > > ??????? globalVariables()
> > > ??????? so that R CMD check doesn't warn. In theory, a similar
> > > technique
> > > ??????? would
> > >...
2023 Mar 12
1
Multiple Assignment built into the R Interpreter?
...9; and 'nc' as you expect.
>
> As for R CMD check warnings, you can suppress those through the
> use of
> globalVariables(), and that can also be automated within the
> package.
> The 'dotty' package includes a function 'dotify()' which automates
> looking for such usages in your package, and calling
> globalVariables()
> so that R CMD check doesn't warn. In theory, a similar technique
> would
> be applicable to other packages defining similar operators (zeall...
2023 Mar 12
1
Multiple Assignment built into the R Interpreter?
...pect.
> >
> > As for R CMD check warnings, you can suppress those through the
> > use of
> > globalVariables(), and that can also be automated within the
> > package.
> > The 'dotty' package includes a function 'dotify()' which
> automates
> > looking for such usages in your package, and calling
> > globalVariables()
> > so that R CMD check doesn't warn. In theory, a similar technique
> > would
> > be applicable to other packages def...
2023 Mar 11
1
Multiple Assignment built into the R Interpreter?
On 11/03/2023 4:42 p.m., Sebastian Martin Krantz wrote:
> Thanks Duncan and Ivan for the careful thoughts. I'm not sure I can
> follow all aspects you raised, but to give my limited take on a few:
>
>> your proposal violates a very basic property of the language, i.e. that all statements are expressions and have a value. > What's the value of 1 + (A, C =