How do I write a test to check if a random number generator is
working?
Context: I need something cross-platofrm that access system CSPRNGs (arc4random, bcyprt (on win), etc).
I can test local on a mac that it behaves sanely, but on windows (running as a github action), I want a few quick tests to check that it as least not all the same number repeated :)
Some days ago, the CRAN check with R-devel started to raise "Found non-API calls to R" NOTE. I'm not sure if they are serious on disallowing these not-so-minor APIs, but what should I do? Do you take some action or just wait? #stats
For example, rlang package now has these NOTE:
File ‘rlang/libs/rlang.so’:
Found non-API calls to R: ‘R_ClosureExpr’, ‘R_PromiseExpr’,
‘SETLENGTH’, ‘SET_ENCLOS’, ‘SET_ENVFLAGS’, ‘SET_TRUELENGTH’
Now that this pkg is actually in a state where it can do something useful, I can quickly realize some ideas for rendering. From idea to proof-of-concept render was ~15 minutes.
This is a ggplot object rendered into isometric layers.
It's just a shear + foreshortening transformation applied to the geometry, with points further offset in the y axis.