Data Science. TileDB. Open Source. Quant Research. R. C++. Debian. Linux. Adjunct Clinical Professor, University of Illinois. Lots of coffee. And some running.
Glad you like it. We built on top of it with a package for the special case of showing students possible errors in their answers when using an autograder, see
cran.r-project.org/package=t…
for more. As a by-product this extends it for use the `tinytest` test runner we use. #rstats
I like `diffobj` by @BrodieGaslam for this. It has a number of options; a vanilla use (where my default theme makes the color difference a little hard to see) is below: `diffobj::diffObj(M, N)`.
See cran.r-project.org/package=d… for more.
#rstats
There *is* a difference between installing from a carefully maintained repository such as CRAN, versus closing your eyes and trusting a remote URL via `install_github`.
AFAIK we have not been had yet in #Rstats but the attack vector is obviously there.
I am uncovering what seems to be a massive widespread malware attack on @github.
- Currently over 35k repositories are infected
- So far found in projects including: crypto, golang, python, js, bash, docker, k8s
- It is added to npm scripts, docker images and install docs
Sounds like a use case for a pre-made pdf (that you control, including XeTeX if you need it) that is that wrapped inside an Rnw shim. I use that in a few packages in order to "freeze" pdfs in a failsafe manner. The original write-up by @markvdloo is at markvanderloo.eu/yaRb/2019/0…
Canada welcomed me and my family & gave us the opportunity for a better life. it enabled me to live my dreams. It’s a great honour to play for Canada and I want to give back, so I’ve decided that I will donate this years World Cup earnings to charity.
That 2018 post may be outdated as you can now say
library(dplyr, include.only=c("mutate", "data_frame", "%>%"))
and if you then check for, say, `filter()` you see it is still the one from `stats` as `dplyr` was not imported as a whole, but only the declared parts. #rstats
r2u is at its core an `apt` repo, so `apt install` it is. Via `bspm` it is used by `install.packages()`.
Which means all ops NOT using `install.packages()` (i.e. RStudio GUI + internal, renv, rig, ...) do NOT benefit. Similarly, no versioned use of install.packages() either.
We can do this in five lines without `dockerfiler`:
FROM eddelbuettel/r2u:22.04
COPY DESCRIPTION /tmp
RUN install.r remotes \
&& cd /tmp \
&& Rscript -e 'remotes::install_deps(".", dependencies=TRUE)'
50 seconds, Depends + Suggests for moderately large package #rstats
Yes! Where rspm goes 'broad' (across OSs) we go 'deep' with r2u and integrate fully with apt. So a) you get all depends, no suprises and b) depends are known to the system so no more libicu upgrade breaking stringi etc. #rstats
See the r2u site for more:
eddelbuettel.github.io/r2u/
Minor reminder: We often make pre-releases of #Rcpp, #RcppArmadillo, ... available in the rcpp-drat repo. If you want to see what will come to CRAN and #Rstats (eventually) please install and test. I run these locally all the time too without woes.
rcppcore.github.io/drat/
Have you seen r2u with its packages which lets eg `install.packages("haven")` give you binaries with all dependencies?
eddelbuettel.github.io/r2u/
(And I know of no comprehensive complete solution. Also, technically, zlib1g-dev only needed to build, and zlib1g to run.)
I wondered about spokes too, but never found out. I care more about the Conti 'no flats' tires :) Bike is a charm, old (off Craigslist like the Dahon) but with a neat Shimano Ultegra set. Added half-fenders too as I commuted sometimes. It hates the pot holes here though.
The picture is fourteen years old (!!) and lacks the more recent daily-errand Breezer. I still ride the Trek when I (somewhat rarely) ride, haven't used or needed the Dahon in some time.
A few older posts are at dirk.eddelbuettel.com/blog/s…
A few folks aggregate here
strava.com/clubs/rstats-cycl…
(And there is a sibbling #rstats running club at the same base URL ending in just .../rstats )
How it started (circa 1994):
Lars Wirzenius (in a popular book draft): "200mb should be enough disk space for a complete Linux installation." (per my memory)
How it's going:
The current @rstudio .deb (for @Ubuntu jammy) takes 546 mb. (And ~ twice the size of chrome).