
The twentysecond release of
littler as a
CRAN package
landed on CRAN just now, following in the now nineteen year history (!!)
as a (initially non-CRAN) package started by
Jeff in 2006, and joined
by me a few weeks later.
littler
is the first command-line interface for R as it predates
Rscript. It allows for piping as well for
shebang
scripting via
#!, uses command-line arguments more
consistently and still
starts
faster. It also always loaded the
methods package which
Rscript only began to do in recent years.
littler
lives on Linux and Unix, has its difficulties on macOS due to
some-braindeadedness there (who ever thought case-insensitive
filesystems as a default were a good idea?) and simply does not exist on
Windows (yet the build system could be extended see
RInside for
an existence proof, and volunteers are welcome!). See the
FAQ
vignette on how to add it to your
PATH. A few examples
are highlighted at the
Github repo:, as well
as in the
examples
vignette.
This release, the first is almost exactly one year, brings
enhancements to six scripts as well as three new ones. The new ones
crup.r offers CRan UPloads from the command-line,
deadliners.r lists CRAN package by CRAN deadline, and
wb.r uploads to win-builder (replacing an older shell
script of mine). Among the updated ones,
kitten.r now
creates more complete DESCRIPTION files in the packages it makes, and
several scripts support additional options. A number of changes were
made to packaging as well, some of which were contributed by
Jon and
Michael which is of course
always greatly appreciated. The trigger for the release was, just like
for
RQuantLib
earlier today, a
CRAN nag
on bashisms half of which actually false here it was in a comment
only. Oh well.
The full change description follows.
Changes in littler
version 0.3.21 (2025-03-24)
- Changes in examples scripts
- Usage text for
ciw.r is improved, new options were
added (Dirk)
- The noble release is supported by
r2u.r
(Dirk)
- The
installRub.r script has additional options
(Dirk)
- The
ttlt.r script has a new
load_package argument (Dirk)
- A new script
deadliners.r showing CRAN packages
'under deadline' has been added, and then refined (Dirk)
- The
kitten.r script can now use whoami and argument githubuser on the
different *kitten helpers it calls (Dirk)
- A new script
wb.r can upload to win-builder
(Dirk)
- A new script
crup.r can upload a CRAN submission
(Dirk)
- In
rcc.r, the return from rcmdcheck is now explicitly printed (Dirk)
- In
r2u.r the dry-run option is passed
to the build command (Dirk)
- Changes in package
- Regular updates to badges, continuous integration, DESCRIPTION
and
configure.ac (Dirk)
- Errant
osVersion return value are handled more
robustly (Michael Chirico in #121)
- The current run-time path is available via variable
LITTLER_SCRIPT_PATH (Jon Clayden in #122)
- The cleanup script remove macOS debug symbols (Jon Clayden in #123)
My
CRANberries
service provides a comparison to
the
previous release. Full details for the
littler
release are provided as usual at the
ChangeLog
page, and also on the
package docs website.
The code is available via the
GitHub repo, from
tarballs and now of course also from
its CRAN page and
via
install.packages("littler"). Binary packages are
available directly in
Debian as
well as (in a day or two)
Ubuntu binaries at
CRAN thanks to the tireless Michael Rutter. Comments and suggestions
are welcome at the
GitHub repo.
This post by Dirk
Eddelbuettel originated on his Thinking inside the box
blog. If you like this or other open-source work I do, you can sponsor me at
GitHub.