inops
Infix Operators for Detection, Subsetting and Replacement (by moodymudskipper)
unpack
Vector unpack assignment syntax for R (by klmr)
inops | unpack | |
---|---|---|
2 | 2 | |
40 | 5 | |
- | - | |
0.0 | 0.0 | |
over 4 years ago | about 3 years ago | |
R | R | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
inops
Posts with mentions or reviews of inops.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-03-22.
-
Array Languages: R vs. APL
We with Antoine Fabri tried to make a package that uses this behaviour for some clever replacement operators [1], but beyond that I don't see where this could useful in real practice.
[1]: https://github.com/moodymudskipper/inops
- {typed} is on CRAN!
unpack
Posts with mentions or reviews of unpack.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-03-22.
-
{typed} is on CRAN!
The main issue with ‘unpack’ being accepted by CRAN (besides manipulating the calling scope) is that it fails R CMD CHECK because it gets confused by the assignment syntax in the \usage in the documentation. I think this is an error in R CMD check since the CRAN message makes incorrect claims about missing \alias entries (which are in fact there). But, to be fair, this usage was clearly not intended by R, so all bets are off. I might be able to use \special{}. Hmm …
-
How do I access the multiple return values in a function?
This requires the ‘unpack’ package.
What are some alternatives?
When comparing inops and unpack you can also consider the following projects:
zeallot - Variable assignment with zeal! (or multiple, unpacking, and destructuring assignment in R)
dplyr - dplyr: A grammar of data manipulation