{"config":{"indexing":"full","lang":["en"],"min_search_length":3,"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"","text":"A scripting and command-line front-end for GNU R So What Is It For? #!/usr/bin/env r ## for use in scripts other input | r ## for use in pipes r somefile.R ## for running files r - e 'expr' ## for evaluating expressions r -- help ## to show a quick synopsis Examples? Plenty. See the examples vignette for a full set of introductory examples. Also see the examples/ directory for a full 28 example scripts, as well as maybe the older tests directory both of which are installed with the package. Some scripts I use daily or near daily (in alphabetical order): build.r ## builds from the current directory c4c.r ## submits current directory to winbuilder compAttr.r ## run compileAttributes() for a Rcpp package dratInstert.r 1.2-3.tar.gz -r /srv ## inserts package into drat repo install.r abc def ## installs packages abc and def install.r abc_1.2-3.tar.gz ## installs given tarball install2.r -l /tmp/lib abc def ## installs abc and def into /tmp/lib rcc.r abc_1.2-3.tar.gz ## run's R CMD check via Gabor's rcmdcheck render.r foo.Rmd ## calls rmarkdown::render() roxy.r ## run roxygenize() for a package (only Rd creation) update.r ## updates any currently installed packages Installation Version 0.3.0 or later The package resides on the CRAN network and can be installed via install.packages(\"littler\") Note that the package states OS_type: unix . It works great on all Linux variants, with a naming caveat on macOS (see below and the FAQ vignettes ) and not at all on Windows (but could be ported just like RInside has been--the two show architectural similarities). Previous Versions up to 0.2.3 In general, simply running the script bootstrap will configure and build the executable. Running make install (possibly as sudo make install ) will install the resulting binary. On Linux systems, ensure you have the autotools-dev package (or its equivalent on non-Debian/Ubuntu systems). On OS X, you may need to run brew install automake autoconf to get all the tools. Alternate Naming On some operating systems such as OS X, r is not different from R . As this risks confusing the main binary R for the R system with our smaller scripting frontend r , we suggest to consider running configure --program-prefix=\"l\" which this leads to installation of a binary lr instead of r . Alternate R Version As littler uses autoconf its AC_PATH_PROG() macro to find R , one can simply adjust the PATH when calling configure (or, rather, bootstrap ) to have another version of R used. For example, on a server with R-devel in this location, the following builds littler using this R-devel version: PATH=\"/usr/local/lib/R-devel/bin/:$PATH\" ./bootstrap . More Information For more information about littler, please see Dirk's littler page Dirk's page with littler examples (but note that the latter now overlaps with the example vignette ). Authors Jeff Horner (2006 to 2008) and Dirk Eddelbuettel (since 2006) License GPL (>= 2)","title":"littler"},{"location":"#a-scripting-and-command-line-front-end-for-gnu-r","text":"","title":"A scripting and command-line front-end for GNU R"},{"location":"#so-what-is-it-for","text":"#!/usr/bin/env r ## for use in scripts other input | r ## for use in pipes r somefile.R ## for running files r - e 'expr' ## for evaluating expressions r -- help ## to show a quick synopsis","title":"So What Is It For?"},{"location":"#examples","text":"Plenty. See the examples vignette for a full set of introductory examples. Also see the examples/ directory for a full 28 example scripts, as well as maybe the older tests directory both of which are installed with the package. Some scripts I use daily or near daily (in alphabetical order): build.r ## builds from the current directory c4c.r ## submits current directory to winbuilder compAttr.r ## run compileAttributes() for a Rcpp package dratInstert.r 1.2-3.tar.gz -r /srv ## inserts package into drat repo install.r abc def ## installs packages abc and def install.r abc_1.2-3.tar.gz ## installs given tarball install2.r -l /tmp/lib abc def ## installs abc and def into /tmp/lib rcc.r abc_1.2-3.tar.gz ## run's R CMD check via Gabor's rcmdcheck render.r foo.Rmd ## calls rmarkdown::render() roxy.r ## run roxygenize() for a package (only Rd creation) update.r ## updates any currently installed packages","title":"Examples?"},{"location":"#installation","text":"","title":"Installation"},{"location":"#version-030-or-later","text":"The package resides on the CRAN network and can be installed via install.packages(\"littler\") Note that the package states OS_type: unix . It works great on all Linux variants, with a naming caveat on macOS (see below and the FAQ vignettes ) and not at all on Windows (but could be ported just like RInside has been--the two show architectural similarities).","title":"Version 0.3.0 or later"},{"location":"#previous-versions-up-to-023","text":"In general, simply running the script bootstrap will configure and build the executable. Running make install (possibly as sudo make install ) will install the resulting binary. On Linux systems, ensure you have the autotools-dev package (or its equivalent on non-Debian/Ubuntu systems). On OS X, you may need to run brew install automake autoconf to get all the tools.","title":"Previous Versions up to 0.2.3"},{"location":"#alternate-naming","text":"On some operating systems such as OS X, r is not different from R . As this risks confusing the main binary R for the R system with our smaller scripting frontend r , we suggest to consider running configure --program-prefix=\"l\" which this leads to installation of a binary lr instead of r .","title":"Alternate Naming"},{"location":"#alternate-r-version","text":"As littler uses autoconf its AC_PATH_PROG() macro to find R , one can simply adjust the PATH when calling configure (or, rather, bootstrap ) to have another version of R used. For example, on a server with R-devel in this location, the following builds littler using this R-devel version: PATH=\"/usr/local/lib/R-devel/bin/:$PATH\" ./bootstrap .","title":"Alternate R Version"},{"location":"#more-information","text":"For more information about littler, please see Dirk's littler page Dirk's page with littler examples (but note that the latter now overlaps with the example vignette ).","title":"More Information"},{"location":"#authors","text":"Jeff Horner (2006 to 2008) and Dirk Eddelbuettel (since 2006)","title":"Authors"},{"location":"#license","text":"GPL (>= 2)","title":"License"},{"location":"changelog/","text":"2024 2024-03-23 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.20 * configure.ac: Idem * configure: Idem 2024-03-17 Dirk Eddelbuettel edd@debian.org * inst/examples/ciw.r: Correct one documentation label 2024-03-14 Dirk Eddelbuettel edd@debian.org * inst/examples/doi2bib.r: Allow multiple DOIs, check packages 2024-03-13 Dirk Eddelbuettel edd@debian.org * inst/examples/doi2bib.r: New wrapper for DOI request for bibtex entry 2024-03-11 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll micro version and date 2024-03-10 Dirk Eddelbuettel edd@debian.org * R/init.R: Tweaks to generalized message * src/littler.c: In non-vanilla mode, rerun temp. dir initialization after local configuration files to allow for non-standard temp. file 2024-03-10 Berwin A Turlach berwin.turlach@gmail.com * R/init.R: Generalize message to reflect ${R_ARCH} (if set) 2024-03-06 Dirk Eddelbuettel edd@debian.org * inst/examples/ciw.r: Add connectivity check, tweak lines display 2024-03-05 Dirk Eddelbuettel edd@debian.org * inst/examples/tttf.r: Support devtools::load_all() option 2024-03-02 Dirk Eddelbuettel edd@debian.org * inst/examples/ciw.r: Several small tweaks 2024-02-29 Dirk Eddelbuettel edd@debian.org * inst/examples/ciw.r: New wrapper around ciw::incoming() 2024-02-28 Dirk Eddelbuettel edd@debian.org * inst/examples/tttf.r: Use env -S r -t for per-session temp dir, support command-line argument -c | --ci to set env.var CI 2024-02-25 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Suggests): Removed package used in only one example 2024-02-22 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll micro version and date * inst/examples/tt.r: Fill in \"inst/tinytest\" if `-d | --dir` but the target directory was omitted, and exists 2024-02-20 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll micro version and date * inst/examples/tt.r: Use env -S r -t for per-session temp dir, support command-line argument -c | --ci to set env.var CI 2024-02-16 Dirk Eddelbuettel edd@debian.org * .github/workflows/ci.yaml (jobs): Update to actions/checkout@v4, add r-ci-setup actions 2024-01-18 Dirk Eddelbuettel edd@debian.org * inst/examples/tttl.r: Use env -S r -t for per-session temp dir 2024-01-16 Dirk Eddelbuettel edd@debian.org * inst/examples/rcc.r (rccwrapper): Use env -S r -t to switch to using a per-session temporary directory as R does 2024-01-03 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll micro version and date * inst/examples/installDeps2.r: Add simpler, dependency-free second variant of 'install dependencies found in DESCRIPTION' 2023 2023-12-17 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.19 * configure.ac: Idem * configure: Idem 2023-12-12 Dirk Eddelbuettel edd@debian.org * inst/examples/installRSPM.r: Update to p3m, install as installP3M.r 2023-12-01 Dirk Eddelbuettel edd@debian.org * inst/examples/r2u.r: Add new --compile flag, small edits * inst/examples/installDeps.r: Small edit for --help text 2023-11-03 Dirk Eddelbuettel edd@debian.org * inst/examples/installGithub.r: Add usage example for installation from repository sub-directory 2023-10-09 Dirk Eddelbuettel edd@debian.org * inst/examples/r2u.r: Add --dryrun argument for (single) package build 2023-10-03 Dirk Eddelbuettel edd@debian.org * inst/examples/tt.r: Switch the default value for 'effects' from FALSE to TRUE which, while a breaking change, is the better default. 2023-09-25 Dirk Eddelbuettel edd@debian.org * inst/examples/installRub.r: Also allow 'package@universe' format 2023-09-20 Dirk Eddelbuettel edd@debian.org * inst/examples/r2u.r: Another posit.co URL update 2023-09-19 Dirk Eddelbuettel edd@debian.org * inst/examples/tttf.r: Extend --library to several arguments 2023-09-16 Dirk Eddelbuettel edd@debian.org * inst/examples/installRSPM.r: Edits to help text, also show default distribution 2023-09-02 Dirk Eddelbuettel edd@debian.org * inst/examples/r2u.r: Support BioConductor updates 2023-09-01 Dirk Eddelbuettel edd@debian.org * inst/examples/tttf.r: Add --source argument 2023-08-21 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll micro version and date * README.md: Add r-universe badge 2023-08-20 Dirk Eddelbuettel edd@debian.org * inst/examples/installRSPM.r: Minor edits for coexistence, update base url to new corporate name and URL * inst/examples/installPPM.r: Install as hard link to installRSPM.r 2023-08-09 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll micro version and date * inst/examples/r2u.r: Add two more options for modifying the Debian version of a package being built * inst/examples/tttf.r: Very initial version of a single file testthat runner (aka 'testthat::test_file()' 2023-07-15 Dirk Eddelbuettel edd@debian.org * inst/examples/installDeps.r: Support dependencies argument * inst/examples/check.r: Correct one line in help text 2023-06-01 Dirk Eddelbuettel edd@debian.org * README.md: Note more prominently that this does not build on Windows 2023-05-15 Dirk Eddelbuettel edd@debian.org * inst/examples/tttl.r: Expanded usage text 2023-05-11 Dirk Eddelbuettel edd@debian.org * inst/examples/r2u.r: Micro-edit to displayed text 2023-03-25 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.18 * configure.ac: Idem * configure: Idem 2023-03-23 SHIMA Tatsuya ts1s1andn@gmail.com * inst/examples/install2.r (capture): Update error message pattern used to detect failure to change in R 4.3.* 2023-03-23 Dirk Eddelbuettel edd@debian.org * inst/examples/install2.r (capture): Small generalisation for somewhat fragile error capture 2023-03-22 Dirk Eddelbuettel edd@debian.org * inst/examples/tttl.r: Small usability enhancement 2023-03-21 Dirk Eddelbuettel edd@debian.org * inst/examples/installRub.r: Small extensions * inst/examples/r2u.r: Correction on suffix use 2023-03-20 Dirk Eddelbuettel edd@debian.org * inst/examples/installRub.r: Initial version of r-universe binary installer 2023-03-10 Dirk Eddelbuettel edd@debian.org * inst/examples/tttl.r: Very simple wrapper to testthat::test_local() * inst/examples/tt.r: Remove extra library(), change to https url 2023-02-22 Dirk Eddelbuettel edd@debian.org * inst/examples/r2u.r: Extend with --suffix option 2023-02-14 Dirk Eddelbuettel edd@debian.org * inst/examples/installGithub.r: Offer a type option and set it * inst/examples/install2.r: Ditto 2023-02-13 Dirk Eddelbuettel edd@debian.org * inst/examples/getRStudioDesktop.r: Updated default file * inst/examples/getRStudioServer.r: Idem 2022 2022-12-31 Dirk Eddelbuettel edd@debian.org * inst/examples/roxy.r: Added --libpath LIB option 2022-10-29 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.17 * configure.ac: Idem * configure: Idem 2022-10-28 Dirk Eddelbuettel edd@debian.org * src/littler.c: Turn several functions into proper prototypes to make clang-15 happier * .github/workflows/ci.yaml (jobs): Update to actions/checkout@v3 2022-09-03 Dirk Eddelbuettel edd@debian.org * inst/examples/installBioc.r (capture): Update error message pattern used to detect failure to change in R 4.3.* 2022-09-03 SHIMA Tatsuya ts1s1andn@gmail.com * inst/examples/install2.r (capture): Update error message pattern used to detect failure to change in R 4.3.* 2022-08-28 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.16 * configure.ac: Idem * configure: Idem * inst/examples/installBioc.r: Small polish 2022-08-24 Pieter Moris pieter.moris@glpg.com * inst/examples/installBioc.r: Generalization, extension and extra features similar to how install2.r generalizes install2.r 2022-07-16 Dirk Eddelbuettel edd@debian.org * inst/examples/r2u.r: Add simple r2u.r frontend 2022-04-03 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll minor version and date * src/littler.c (init_rand): Update to current seeding version in R, add stdint.h header for uint_least64_t 2022-04-02 Dirk Eddelbuettel edd@debian.org * configure.ac: Add two more header function checks * configure: Regenerated * src/config.h.in: Regenerated from expanded configure.ac 2022-02-25 Dirk Eddelbuettel edd@debian.org * inst/examples/install2.r: Default installation directory is now the first element in .libPaths() which can reflect R_LIBS_USER etc 2022-02-22 Dirk Eddelbuettel edd@debian.org * inst/examples/rcc.r: Add -v | --valgrind option 2022-01-21 Dirk Eddelbuettel edd@debian.org * inst/examples/install2.r: Correct typo (thanks, @jds485) 2022-01-16 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll minor version and date 2022-01-16 SHIMA Tatsuya ts1s1andn@gmail.com * inst/examples/install2.r: Generalize -r option use 2021 2021-12-21 Dirk Eddelbuettel edd@debian.org * inst/examples/getPandoc.r: Add Pandoc .deb downloader 2021-12-15 Dirk Eddelbuettel edd@debian.org * inst/examples/cowu.r: Add Windows UCRT checker 2021-12-03 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.15 * configure.ac: Idem * configure: Idem 2021-12-02 Dirk Eddelbuettel edd@debian.org * inst/examples/mdweave2html.r: Add caller for simplermarkdown 2021-11-17 Dirk Eddelbuettel edd@debian.org * README.md: Remove Travis badge * .travis.yml: Remove Travis YAML config 2021-10-27 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll minor version and date, (Suggests): Use simplermarkdown not knitr, rmarkdown, minidown * vignettes/littler-faq.md: Converted to simplermarkdown vignette * vignettes/littler-examples.md: Idem * vignettes/water.css: Added 2021-10-26 Dirk Eddelbuettel edd@debian.org * inst/examples/build.r: Set --compact-vignettes to both * inst/examples/getRStudioDesktop.r: Updated to changed urls * inst/examples/getRStudioServer.r: Idem 2021-10-23 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll minor version and date 2021-10-22 Gergely Daroczi daroczig@rapporter.net * inst/examples/install2.r: Check failure from parallel installs 2021-10-20 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll minor version and date 2021-10-20 Gergely Daroczi daroczig@rapporter.net * inst/examples/install2.r: Support download methods argument 2021-10-18 John Kerl kerl.john.r@gmail.com * README.md: Fix three typos 2021-10-05 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.14 * configure.ac: Idem * configure: Idem * configure.ac: Updated via 'autoupdate' and 'autoreconf --warnings=obsolete' followed by light edit * src/config.h.in: Idem 2021-10-03 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (URL): Add documentation site to URL entry 2021-09-18 Dirk Eddelbuettel edd@debian.org * inst/examples/getQuartoCli.r: Add simple convenience downloader for Quarto command-line .deb package parsing GitHub release result 2021-09-14 Dirk Eddelbuettel edd@debian.org * inst/examples/roxy.r: Add -m | --minimal variant for namespace and rd roclets using the cached older version 2021-08-31 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll minor version and date 2021-08-30 Dirk Eddelbuettel edd@debian.org * inst/examples/getRStudioDesktop.r: Updated to changed names * inst/examples/getRStudioServer.r: Idem 2021-07-24 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.13 * configure.ac: Idem * configure: Idem * tests/simpleTests.R: Slightly extended * R/test.R (test): Minor tweak * vignettes/littler-faq.Rmd (vignette): Update one URL * vignettes/littler-faq.html: Re-rendered * vignettes/littler-examples.html: Idem * .editorconfig: Added * .Rbuildignore: Added .editorconfig 2021-07-21 Dirk Eddelbuettel edd@debian.org * inst/NEWS.Rd: Added entries for several changes since last release 2021-07-19 Dirk Eddelbuettel edd@debian.org * inst/examples/kitten.r: Note bunny and puppy only work with plain 2021-07-09 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll minor version and date * inst/examples/kitten.r: Correct calls for arma and eigen 2021-06-28 Dirk Eddelbuettel edd@debian.org * inst/examples/cranIncoming.r: Corrected message 2021-06-28 Aaron Wolen aaron@wolen.com * inst/examples/tt.r: Correct two typos 2021-04-04 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (URL): Add repo URL 2021-03-28 Dirk Eddelbuettel edd@debian.org * docs/mkdmt-src/: Moved mkdocs-material input 2021-03-24 Dirk Eddelbuettel edd@debian.org * vignettes/littler-faq.Rmd (vignette): Add %\\Vignette{Encoding,Package} * vignettes/littler-examples.Rmd (vignette): Idem 2021-03-12 Dirk Eddelbuettel edd@debian.org * inst/examples/kitten.r: Allow calling Rcpp{,Arma,Eigen}.package.skeleton * inst/examples/roxy.r: Expand roclets example and argument test 2021-03-10 Dirk Eddelbuettel edd@debian.org * inst/examples/getRStudioDesktop.r: Updated to cope with rvest change * inst/examples/getRStudioServer.r: Idem 2021-03-01 Dirk Eddelbuettel edd@debian.org * docs-src/: Updated reflecting current files * docs/: Ditto 2021-02-22 Dirk Eddelbuettel edd@debian.org * inst/examples/kitten.r: Add bunny option for kitten() 2021-02-20 Dirk Eddelbuettel edd@debian.org * inst/examples/kitten.r: Pass puppy option on to kitten() call 2021-01-31 Dirk Eddelbuettel edd@debian.org * inst/examples/silenceTwitterAccount.r: Check for updated version of rtweet with post_silence function 2021-01-30 Dirk Eddelbuettel edd@debian.org * inst/examples/installRSPM.r: Correct -c | --code argument use 2021-01-29 Dirk Eddelbuettel edd@debian.org * inst/examples/silenceTwitterAccount.r: Wrapper for rtweet 2021-01-17 Dirk Eddelbuettel edd@debian.org * inst/examples/compiledDeps.r: Add -n | --nonrecursive option 2021-01-16 Dirk Eddelbuettel edd@debian.org * inst/examples/compiledDeps.r: New script to show which dependencies of a package are in fact native i.e. compiled 2020 2020-12-27 Dirk Eddelbuettel edd@debian.org * .github/workflows/ci.yaml: Add CI runner using r-ci * README.md: Add new CI badge * tests/simpleTests.R: Update for GitHub Actions 2020-10-04 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.12 * configure: Idem 2020-10-03 Dirk Eddelbuettel edd@debian.org * vignettes/littler-faq.Rmd: Switch to minidown::mini_document and 'framework: water' to dramatically reduce vignettes size * vignettes/littler-examples.Rmd: Idem * inst/examples/urlUpdate.r: Add -c | --check-only option 2020-10-02 Dirk Eddelbuettel edd@debian.org * inst/examples/urlUpdate.r: New script to update URLs 2020-09-25 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * inst/examples/cranIncoming.r: New script 2020-09-21 Dirk Eddelbuettel edd@debian.org * inst/examples/installBSPM.r: Initial version of BSPM installer 2020-09-20 I\u00f1aki \u00dacar iucar@fedoraproject.org * inst/examples/installRSPM.r: Add RH/CentOS/Fedora support 2020-09-20 Dirk Eddelbuettel edd@debian.org * .travis.yml (install): Switch to BSPM use for Travis * docs/: Added package website * docs-src/: Added package website inputs 2020-09-19 Dirk Eddelbuettel edd@debian.org * inst/examples/installRSPM.r: First rough version of an RSPM installer which 'works for me' on Ubuntu but needs other tests 2020-09-13 Dirk Eddelbuettel edd@debian.org * inst/examples/check.r: New option '-n | --no-manvig' replacing earlier attempt and implementing '--no-manual --no-vignettes' 2020-09-07 Dirk Eddelbuettel edd@debian.org * README.md: Added 'last commit' badge 2020-09-01 Dirk Eddelbuettel edd@debian.org * inst/examples/installDeps.r: Added initial version 2020-08-15 Dirk Eddelbuettel edd@debian.org * inst/examples/tt.r: For n=1 enforce serial mode 2020-07-26 Dirk Eddelbuettel edd@debian.org * inst/examples/cos.r: Support pre-built tar.gz as well 2020-07-24 Dirk Eddelbuettel edd@debian.org * inst/examples/cow.r: Support pre-built tar.gz as well 2020-07-23 Dirk Eddelbuettel edd@debian.org * inst/examples/c4c.r: Support pre-built tar.gz as well 2020-07-07 Dirk Eddelbuettel edd@debian.org * inst/examples/com.r: Add 'check_on_macos' wrapper 2020-06-28 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * inst/examples/check.r: Add options --no-manual and --no-vignettes 2020-06-26 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Release 0.3.11 * configure: Idem 2020-06-25 Dirk Eddelbuettel edd@debian.org * inst/examples/check.r: Accomodate recent docopt change for quoted arguments simplifying the use script use * inst/examples/rcc.r: Idem * inst/examples/roxy.r: Idem, add new option -f --full to select --nocache and all roclets * inst/examples/installGithub.r: Minor help text edit 2020-06-17 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version 2020-06-16 Dirk Eddelbuettel edd@debian.org * vignettes/littler-faq.Rmd (vignette): Mention zsh builtin again * vignettes/littler-examples.Rmd (vignette): Add short note too 2020-06-03 Dirk Eddelbuettel edd@debian.org * src/littler.c: Update copyright year to 2020 in two places 2020-06-02 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Release 0.3.10 * configure.ac: Idem * configure: Idem 2020-06-01 Dirk Eddelbuettel edd@debian.org * inst/examples/roxy.r: Added docopt, support nocache and roclets * .travis.yml: Switch to bionic and R 4.0.0 2020-04-11 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version 2020-04-09 Sergio Oller sergioller@gmail.com * inst/examples/install2.r: Generalize --error behaviour by ignoring two more possible sources of error 2020-03-20 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * inst/examples/installBioc.r: Ensure .libPaths() is set 2020-02-23 Dirk Eddelbuettel edd@debian.org * inst/examples/installBioc.r: New helper script for BioConductor 2019 2019-12-27 Dirk Eddelbuettel edd@debian.org * inst/examples/update.r: Set _R_SHLIB_STRIP_ to 'true' 2019-12-23 Dirk Eddelbuettel edd@debian.org * inst/examples/install.r: Set _R_SHLIB_STRIP_ to 'true' * inst/examples/install2.r: Idem * inst/examples/installGitHub: Idem * inst/examples/installRepo: Idem 2019-12-01 Dirk Eddelbuettel edd@debian.org * inst/examples/tt.r: Correct ncpu fallback setting 2019-11-16 Dirk Eddelbuettel edd@debian.org * inst/examples/rcc.r: Set _R_CHECK_TESTS_NLINES_=0 for full logs 2019-10-28 Dirk Eddelbuettel edd@debian.org * inst/examples/update.r: Now only considers writeable directories 2019-10-27 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Release 0.3.9 * configure.ac: Idem * configure: Idem 2019-10-26 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * inst/examples/kitten.r: Now with puppy love for tinytest * inst/examples/pkg2bibtex.r: New helper for bibtex package records * inst/examples/sweave.r: New helper script to sweave (and compact) * inst/examples/render.r: Add pdf compacting option * inst/examples/compactpdf.r: Slightly improved file logic * inst/examples/kitten.r: Add tinytest::puppy support via '-p' option 2019-10-25 Dirk Eddelbuettel edd@debian.org * inst/examples/sweave.r: New helper to 'Sweave' Rnw files, with automatic call to compactPDF (and option to suppress this) * inst/examples/render.r: Add support for compactPDF, and option not to 2019-09-26 Dirk Eddelbuettel edd@debian.org * inst/examples/update.r: Correct libloc help text and default value * inst/examples/rcc.r: Use max(all rc values) as status return 2019-09-25 Dirk Eddelbuettel edd@debian.org * inst/examples/rcc.r: Support exit status return, accept new option '--erroron' to pass to error_on option of rcmdcheck 2019-08-29 Dirk Eddelbuettel edd@debian.org * inst/examples/tt.r: Support tinytest side effects and npus 2019-08-25 Dirk Eddelbuettel edd@debian.org * inst/examples/compactpdf.r: New simple helper script * inst/examples/build.r: Add '--compact-vignettes --resave-data' 2019-07-24 Dirk Eddelbuettel edd@debian.org * inst/examples/cos.r: New 'rhub: check on Solaris' helper 2019-06-23 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version 2019-06-21 Stefan Widgren stefan.widgren@gmail.com * inst/examples/dratInsert.r: Correct use of call. in stop() * inst/examples/render.r: Idem * vignettes/littler-examples.Rmd: Idem 2019-06-09 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.8 * configure.ac: Idem * configure: Idem * inst/examples/c4c.r: Set check_args=\"--no-manual --no-vignettes\" as we cannot assume rhub to have functioning latex infrastructure * inst/examples/cow.r: Ditto * inst/examples/rchk.r: Ditto 2019-06-08 Dirk Eddelbuettel edd@debian.org * inst/examples/tt.r: Initial steps towards a tinytest wrapper 2019-06-03 Dirk Eddelbuettel edd@debian.org * inst/examples/install2.r: Extend to optional parallel installation 2019-05-22 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * inst/examples/install.r: Extend to optional parallel installation as tested in installedParallel.r * inst/examples/installParallel.r: Removed now redundant file 2019-05-13 Dirk Eddelbuettel edd@debian.org * inst/examples/installParallel.r: Potential replacement for install.r which can install external repos in parallel 2019-04-30 Dirk Eddelbuettel edd@debian.org * inst/examples/install.r: Usage help display update 2019-03-23 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * vignettes/littler-faq.Rmd (vignette): New section on adding r to PATH * src/Makevars.in: Reference new littler-faq entry in help display * R/init.R (.onAttach): If 'r' ('lr') is not in path, displayed message also references new entry in littler-faq vignette 2019-03-15 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.7 * configure.ac: Idem * configure: Idem 2019-03-14 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * configure.ac: Correct use of AC_DEFINE * configure: Idem 2019-01-31 Gergely Daroczi daroczig@rapporter.net * inst/examples/install2.r: Fix warning on multiple repos * inst/examples/installGithub.r: Add -r | --repos option like in install2.r 2019-01-27 Dirk Eddelbuettel edd@debian.org * src/littler.c: Update copyright year to 2019 * vignettes/littler-examples.Rmd (date): Correct typo in date 2019-01-26 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.6 * configure.ac: Idem * configure: Idem * inst/examples/install.r (installArg): Use explicit argument repos 2019-01-14 Dirk Eddelbuettel edd@debian.org * README.md: Add dependency badge 2019-01-06 Dirk Eddelbuettel edd@debian.org * vignettes/littler-faq.Rmd: Adding a short FAQ vignette * R/init.R (.onAttach): Mention new FAQ vignette in message 2018 2018-12-31 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * inst/examples/update.r: Add -n | --ncpus support 2018-12-30 Colin Gillespie csgillespie@gmail.com * inst/examples/install2.r: Add -n (Ncpus) argument 2018-10-30 Dirk Eddelbuettel edd@debian.org * inst/examples/install.r: Add \".\" if no argument given but DESCRIPTION and NAMESPACE in current directory * inst/examples/install2.r: Idem 2018-10-27 Dirk Eddelbuettel edd@debian.org * inst/examples/install.r: Use \".\" to install from current directory * inst/examples/install2.r: Idem 2018-10-04 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.5 * configure.ac: Idem * configgure: Idem 2018-09-23 Dirk Eddelbuettel edd@debian.org * inst/examples/rchk.r: Minimal wrapper for rchk 2018-09-21 Dirk Eddelbuettel edd@debian.org * inst/examples/rcc.r (rccwrapper): Insert a wrapper to set arguments explicitly now that the command order was changed in rcmdcheck 1.3.0 2018-09-12 Dirk Eddelbuettel edd@debian.org * inst/examples/roxy.r: Overcome roxygen2 6.1.0 breakage by loading a build of, eg, roxygen2 6.0.1 if found at ~/.R/cache/roxygen2 2018-09-02 Dirk Eddelbuettel edd@debian.org * .travis.yml: Switch Travis CI to R 3.5 repo 2018-08-24 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.4 * configure.ac: Idem * configgure: Idem * README.md: Updated 2018-08-23 Dirk Eddelbuettel edd@debian.org * inst/examples/check.r: Use is.null(), other docopt simplifications 2018-08-09 Dirk Eddelbuettel edd@debian.org * inst/examples/rcc.r: Use is.null() to test for empty arguments 2018-08-03 Dirk Eddelbuettel edd@debian.org * update.r: No longer need suppressMessages() around library() * shiny.r: Idem * rcc.r: Idem * install2.r: Idem * check.r: Idem * build.r: Idem * render.r: Idem * testInstalled.r: Idem * rd2md.r: Idem 2018-07-31 Dirk Eddelbuettel edd@debian.org * inst/examples/getRStudioDesktop.r: More defensive use of URL while curl (OS-level) library packages have is more fragile * inst/examples/getRStudioServer.r: Idem 2018-07-29 Dirk Eddelbuettel edd@debian.org * inst/examples/getRStudioDesktop.r: URLs updated * inst/examples/getRStudioServer.r: Idem 2018-05-25 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * inst/examples/update.r: Added docopt support 2018-05-24 Dirk Eddelbuettel edd@debian.org * vignettes/littler-examples.Rmd: Updated and extended * inst/examples/render.r: Minor tweak 2018-05-23 Dirk Eddelbuettel edd@debian.org * inst/examples/rcc.r: Correct args for '--fast' call 2018-05-12 Dirk Eddelbuettel edd@debian.org * inst/examples/install2.r: New option -s to skip installed packages * inst/examples/installIfNew.R: Removed as now redundant * inst/examples/getRStudioServer.r: Update URL to trusty 2018-05-06 Brandon Bertelsen brandon@bertelsen.ca * inst/examples/installIfNew.R: New example to only install new packages not already installed 2018-02-26 Dirk Eddelbuettel edd@debian.org * inst/examples/getRStudioDesktop.r: Source URL update 2018-01-02 Dirk Eddelbuettel edd@debian.org * inst/examples/kitten.r: New script to call pkgKitten::kitten() * inst/examples/compAttr.r: Use '#!/usr/bin/env r' as shebang line * inst/examples/fsizes.r: Idem * inst/examples/getRStudioDesktop.r: Idem * getRStudioServer.r: Idem * highlightsweave.r: Idem * inst/examples/knit.r: Idem * inst/examples/pnrrs.r: Idem * inst/examples/roxy.r: Idem 2017 2017-12-18 Dirk Eddelbuettel edd@debian.org * inst/examples/check.r: Remove second docopt() parse * inst/examples/dratInsert.r: Idem * inst/examples/install2.r: Idem * inst/examples/installGithub.r: Idem * inst/examples/installRepo.r: Idem * inst/examples/rd2md.r: Idem 2017-12-17 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.3 * README.md: Updated 2017-12-10 Dirk Eddelbuettel edd@debian.org * vignettes/littler-examples.Rmd: Expanded and updated 2017-11-30 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * inst/examples/getRStudioServer.r: Rewritten using rvest * inst/examples/getRStudioDesktop.r: Idem 2017-11-10 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * inst/examples/build.r: Use current directory if none given 2017-09-05 Dirk Eddelbuettel edd@debian.org * vignettes/littler-examples.Rmd (vignette): Expanded 2017-09-04 Dirk Eddelbuettel edd@debian.org * inst/examples/dratInsert.r: Combine suppressMessages() calls * inst/examples/installGithub.r: Idem * inst/examples/installRepo.r: Idem * inst/examples/rd2md.r: Idem * inst/examples/testInstalled.r: Idem 2017-08-13 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * inst/examples/build.r: New option --fast skipping vignettes and manual * inst/examples/rcc.r: Ditto 2017-08-10 Dirk Eddelbuettel edd@debian.org * inst/examples/runit.r: Updated docopt usage 2017-07-12 Dirk Eddelbuettel edd@debian.org * inst/examples/c4c.r: Use #!/usr/bin/env r instead * inst/examples/cow.r: Idem 2017-06-22 Dirk Eddelbuettel edd@debian.org * inst/examples/cow.r: Added simple rhub::check_on_windows() wrapper * .travis.yml (group): Added as required by Travis CI 2017-05-01 Carl Boettiger cboettig@gmail.com * inst/examples/install2.r: More robust error handling 2017-04-23 Dirk Eddelbuettel edd@debian.org * inst/examples/pnrrs.r: Added 'pnrrs.r' helper calling tools::package_native_routine_registration_skeleton() available in R 3.4.0 and later 2017-04-04 Carl Boettiger cboettig@gmail.com * inst/examples/installGithub.r: Correct argument to upgrade 2017-02-18 Dirk Eddelbuettel edd@debian.org * .travis.yml (before_install): Use https 2017-02-14 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.2 * src/scripts/littler.R: Also skip R_USER 2017-02-13 Dirk Eddelbuettel edd@debian.org * inst/examples/build.r: New script calling R CMD build 2017-02-05 Dirk Eddelbuettel edd@max.eddelbuettel.com * inst/examples/c4c.r: New script calling rhub::check4cran() * inst/examples/getRStudioDesktop.r: New script * inst/examples/getRStudioServer.r: New script 2016 2016-12-02 Dirk Eddelbuettel edd@debian.org * R/init.R: Additional #nocov tags * R/test.R: Idem 2016-11-17 Dirk Eddelbuettel edd@debian.org * R/rd2md.r: New script 2016-11-17 Dirk Eddelbuettel edd@debian.org * inst/examples/installGithub.r: Use remotes instead of devtools * inst/examples/installRepo.r: Ditto * vignettes/littler-examples.Rmd: Ditto * inst/examples/check.r: Small correction for .libPaths() management 2016-10-01 Dirk Eddelbuettel edd@debian.org * inst/examples/rd2md.r: Convert Rd to markdown (for use in posts) 2016-08-13 Dirk Eddelbuettel edd@debian.org * configure (PACKAGE_VERSION): Re-ran autoconf to set version to 0.3.1 2016-08-06 Dirk Eddelbuettel edd@debian.org * DESCRIPTION: Release 0.3.1 * DESCRIPTION: Added URL and BugReports: * R/test.R (r): New helper function r() to return path to binary * man/r.rd: Documentation * man/littler.rd: Removed alias to 'r' * NAMESPACE: Export r * inst/examples/rcc.r: New example wrapping rcmdcheck::rcmdcheck() * inst/examples/render.r: New (still very simple) example to call rmarkdown::render() * inst/examples/check.r: Extended help and usage now via '-x' * inst/examples/dratInsert.r: Idem * inst/examples/install2.r: Idem * inst/examples/installGithub.r: Idem * inst/examples/installRepo.r: Idem * .travis.yml: Switch to using run.sh for Travis CI * tests/simpleTests.R: Make tests conditional on Linux 2016-06-05 Dirk Eddelbuettel edd@debian.org * inst/examples/roxy.r: Minor correction to documentation 2016-03-28 Dirk Eddelbuettel edd@debian.org * inst/examples/check.r: Add support for rcmdcheck * DESCRIPTION: Add Suggests: rcmdcheck 2016-03-21 Brandon Bertelsen brandon@bertelsen.ca * vignettes/littler-examples.Rmd: Correct installGithub.r example 2016-02-26 Dirk Eddelbuettel edd@debian.org * src/littler.c (showVersionAndExit): Updated copyright * src/scripts/littler.R: Added copyright header, reindented * src/scripts/autoloads.R: Idem * src/scripts/ldflags.R: Idem 2016-02-21 Mattias Ellert mattias.ellert@fysast.uu.se * configure.ac: Add support for AM_LDFLAGS * src/scripts/littler.R: Exclude three more variables reflecting the (optional) installation directory 2015 2015-11-20 Dirk Eddelbuettel edd@debian.org * inst/examples/rhome.r: New script to call R.home(...) 2015-11-18 Dirk Eddelbuettel edd@debian.org * DESCRIPTION: Add Suggests: docopt * .travis.yml: Add r-cran-docopt (via our PPA) 2015-11-17 Steven Pav shabbychef@gmail.com * inst/examples/install2.r: Support options past '--' which are passed on to R CMD INSTALL as INSTALL_opts 2015-11-04 Dirk Eddelbuettel edd@debian.org * DESCRIPTION: Add 'SystemRequirements: libR' per discussion with CRAN 2015-10-30 Dirk Eddelbuettel edd@debian.org * NAMESPACE: Added some comments explaining empty content 2015-10-29 Dirk Eddelbuettel edd@debian.org * DESCRIPTION: Release 0.3.0 * inst/NEWS.Rd: Added NEWS.Rd file * inst/script-tests/*: Set (old) scripts to #!/usr/bin/env r shebang 2015-10-28 Dirk Eddelbuettel edd@debian.org * vignettes/littler-examples.Rmd: Added vignette * configure.ac: Detect if built in git repo * src/gitversion.h.in: Reflect git version if built from repo * src/littler.c: Small tweaks to --version output * .travis.yml: Install knitr for Travis 2015-10-27 Dirk Eddelbuettel edd@debian.org * R/test.R: Generalized binary for other OS types, switched to simpler and more predictable default command * tests/simpleTests.R: Renamed from run-all.R, simpler default test, added new test calling an R 'state' variable * deprecated/tools: Moved from tools as no longer needed under rewritten configure.ac * man/littler.Rd: Added manual page 2015-10-26 Jeroen Oooms jeroen.ooms@stat.ucla.edu * R/tests.R: Added wrapper to call 'r' from tests/ directory * tests/run-all.R: Added simple test 2015-10-26 Dirk Eddelbuettel edd@debian.org * configure.ac: Also respect 'R CMD config CFLAGS' in build * src/littler.c: Suppress pedantic warnings on fopen results * src/gitversion.h: Define compiletime and compiledate only if VERBOSE_BUILD is set 2015-10-25 Dirk Eddelbuettel edd@debian.org * DESCRIPTION: Added, as part of conversion to package * NAMESPACE: Ditto * R/init.R: Ditto * src/littler.c: Moved from top-level * src/config.h.in: Ditto * src/Makevars.in: Moved, and adapted from Makefile.am * src/config-const.h: Added with some (so far) const values * src/scripts/autoloads.R: Moved from top-level * src/scripts/littler.R: Ditto * cleanup: Adapted to new layout * .gitignore: Ditto * .Rbuildignore: Added * inst/script-tests/: Moved from top-level tests/ * inst/examples/: Moved from top-level examples/ * inst/man-page/r.1: Moved from top-level r.1 * .travis.yml: Adapted to work on R package * deprecated/: Added to hold some no-longer used files * README.md: Updated 2015-10-02 Dirk Eddelbuettel edd@debian.org * examples/installRepo.r: New script wrapping GitHub, Bitbucket, Subversion (via http) and generic URL access. * examples/check.r: Expanded --help thanks to docopt * examples/installGithub.r: Ditto * examples/install2.r: Ditto * examples/dratInsert.r: Ditto 2015-09-30 Dirk Eddelbuettel edd@debian.org * examples/installGithub.r: Simplify, correct and extend script (with thanks to Alexios for the bug report) 2015-09-20 Dirk Eddelbuettel edd@debian.org * examples/check.r: Added new option to support 'kitchen sink' installation of Depends, Imports, LinkingTo and Suggests (cf #30) 2015-08-27 Dirk Eddelbuettel edd@debian.org * examples/install2.r: Better testing of opt$repos values 2015-07-09 Dirk Eddelbuettel edd@debian.org * littler.c (main): Add verbosity argument to parse_eval() which allows for more silent initial operations to set library paths, load libraries and load data -- addresses wish of GitHub ticket #26 2015-05-07 Dirk Eddelbuettel edd@debian.org * littler.c: Invert #ifdef on REPRODUCIBLE_BUILD to VERBOSE_BUILD: by default we no longer encode the timestamp of the builds * bootstrap: Ditto: Unless VERBOSE_BUILD is define do not place timestamps in to gitversion.h * littler.c: Also source $R_HOME/etc/Rprofile.site and ~/.Rprofile if present, and document this via --usage flag output. 2015-03-22 Dirk Eddelbuettel edd@debian.org * examples/dratInsert.r: Changed to support a commit message * examples/installGithub.r: Remove support -l which no longer works with the current version of devtools (but .libLoc() is respected) 2015-03-14 Dirk Eddelbuettel edd@debian.org * configure.ac: Mark as release 0.2.3 2015-03-09 Dirk Eddelbuettel edd@debian.org * littler.c (showVersionAndExit): If REPRODUCIBLE_BUILD is defined, do not display built time and date to ensure binary reproducibility * bootstrap: If REPRODUCIBLE_BUILD is defined, do not insert __TIME__ and __DATE__ compile time macros into generated header gitversion.h 2015-03-06 Dirk Eddelbuettel edd@debian.org * littler.c (showUsageAndExit): Add link to examples web page. 2015-03-05 Dirk Eddelbuettel edd@debian.org * r.1: Updated with recent command additions. 2015-02-27 Dirk Eddelbuettel edd@debian.org * examples/dratInsert.r: New script to insert package into drat 2015-02-26 Dirk Eddelbuettel edd@debian.org * examples/check.r: New option '--deb-pkgs PKGS' to install .deb packages prior to running the check (in one-command Docker use) 2015-02-19 Dirk Eddelbuettel edd@debian.org * littler.c: New command-line argument -L|--libpath to add a directory to the `.libPaths()` 2015-02-17 Carl Boettiger cboettig@gmail.com * examples/install2.r: Permit multiple -r|--repos arguments 2015-02-08 Dirk Eddelbuettel edd@debian.org * examples/install.r: Set the default value of repos to getOption(\"repos\") as we can now set values in the littler dotfile * examples/install2.r: Ditto * examples/update.r: Ditto 2015-02-03 Dirk Eddelbuettel edd@debian.org * littler.c (showVersionAndExit): Update copyright to 2015 here too 2015-01-29 Dirk Eddelbuettel edd@debian.org * configure.ac: Mark as release 0.2.2 2015-01-18 Dirk Eddelbuettel edd@debian.org * examples/check.r: Add --setwd dir option to change directories 2015-01-17 Dirk Eddelbuettel edd@debian.org * examples/check.r: Add a script which wrap R CMD check; with optional support for prior installation of dependencies * examples/shiny.r: Add simple wrapper for shiny::runApp() 2015-01-12 Dirk Eddelbuettel edd@debian.org * littler.c: Test for both /etc/littler.r and ~/.littler.r and source if found (but not if -v|--vanilla was given) 2014 2014-12-31 Dirk Eddelbuettel edd@debian.org * examples/install2.r: Smarter use of arguments: files with matching extension are installed directly; also clean up temp files 2014-12-28 Dirk Eddelbuettel edd@debian.org * examples/install.r: Smarter use of arguments: files with matching extension are installed directly; also expanded help text 2014-12-22 Dirk Eddelbuettel edd@debian.org * littler.R: Do not include R_LIBS_USER in list of variables 2014-12-21 Dirk Eddelbuettel edd@debian.org * examples/install.r: Reflect value of REPOS and LIBLOC in addition to the [unchanged] default values for either * examples/install2.r: If 'repos' is set to (string) NULL, set it to the actual NULL symbol (so that installation from file proceeds) 2014-10-19 Dirk Eddelbuettel edd@debian.org * configure.ac: Mark as release 0.2.1 * littler.c: Minor whitespace changes for 'r --version' * examples/*.r: Add proper copyright and license header for remaining files 2014-10-13 Dirk Eddelbuettel edd@debian.org * examples/install.r: Remove temporary rds files matching libloc or repos containing info about installed and available packages * examples/update.r: Add proper copyright and license header * examples/update.r: Ditto * examples/install2.r: Ditto 2014-10-11 Dirk Eddelbuettel edd@debian.org * examples/install2.r: Minor polishing 2014-10-10 Carl Boettiger cboettig@gmail.com * examples/install2.r: Expanded coverage of '--depends' argument 2014-10-08 Dirk Eddelbuettel edd@debian.org * INSTALL: Updated, made distinction between installing from a tarball and installing from git [via './bootstrap'] more clear * README: Brief update, still needs more thorough rewrite 2014-10-04 Dirk Eddelbuettel edd@debian.org * examples/testInstalled.r: Renamed from test.r, minor edits 2014-10-03 Carl Boettiger cboettig@gmail.com * examples/test.r: Contributed new test script 2014-09-29 Dirk Eddelbuettel edd@debian.org * examples/install2.r: Minor edits * examples/installGitHub.r: Ditto 2014-09-29 Carl Boettiger cboettig@gmail.com * examples/install2.r: Fix return code, and add new option --deps * examples/installGitHub.r: New example to install from GitHub 2014-09-01 Dirk Eddelbuettel edd@debian.org * configure.ac: Mark as release 0.2.0 2014-08-31 Dirk Eddelbuettel edd@debian.org * examples/fsizes.r: Use explicit 'file(\"stdin\")' with 'readLines()' 2014-08-26 Dirk Eddelbuettel edd@debian.org * examples/install2.r: Using docopt (>= 0.3) using stripped names 2014-08-25 Dirk Eddelbuettel edd@debian.org * examples/fileOps.r: Really simple example on vectorised file operations -- but more as an illustration 2014-08-22 Dirk Eddelbuettel edd@debian.org * littler.c (main): Minor correction for help text 2014-08-20 Dirk Eddelbuettel edd@debian.org * examples/runit.r: New example file 'runit.r' (using docopt) * examples/install2.r: Simplified by using docopt 2014-07-27 Dirk Eddelbuettel edd@debian.org * r.1: Update manual page about new -d option * littler.c: Store read.csv() result in 'X', not 'dat' 2014-07-26 Dirk Eddelbuettel edd@debian.org * littler.c: New command-line option '-d|--datastdin' which triggers execution of 'dat <- read.csv(file(\"stdin\", stringsAsFactors=FALSE)' 2014-07-23 Dirk Eddelbuettel edd@debian.org * examples/install2.r: Updated throughout * cleanup: Also remove .deps 2014-07-17 Dirk Eddelbuettel edd@debian.org * examples/highlightsweave.r: New example for a highlight sweave driver (as eg needed for Rcpp vignettes) helper script 2014-07-14 Dirk Eddelbuettel edd@debian.org * examples/roxy.r: Expanded similar to compAttr.r 2014-07-13 Dirk Eddelbuettel edd@debian.org * examples/compAttr.r: Added new example script to call compileAttributes() from the Rcpp package 2014-06-07 Dirk Eddelbuettel edd@debian.org * examples/roxy.r: Added new example script 2014-05-23 Dirk Eddelbuettel edd@debian.org * tools/compile: Added, based on current automake version 2014-05-08 Dirk Eddelbuettel edd@debian.org * examples/install.r: Updated to currently used version containing the faster RStudio CDN as the default CRAN mirror * examples/update.r: Ditto 2014-04-23 Dirk Eddelbuettel edd@debian.org * tools/missing: Updated to current version from libtool on Ubuntu * tools/install.sh: Idem * tools/config.guess: Updated to current version from autotools-dev * tools/config.sub: Idem * Makefile.am: Explicitly expand ldflags.txt to a Makefile variable * Makefile.am: Removed use of .PHONY again * .travis.yml: Added a very simple .travis.yml * .travis.yml: Ensure we end 'script' section on error code 0 * littler.c: Ensure --help and --version end with exit(0) * Makefile.am (CFLAGS): Add CFLAGS 2014-02-07 Dirk Eddelbuettel edd@debian.org * configure.ac: Mark as release 0.1.6 [though never released as 0.1.6] * configure.ac: Renamed from configure.in * bootstrap: Autogenerate header gitversion.h instead of svnversion.h * littler.c: Use gitversion.h, also whitespace / indentation update * Makefile.am: Use gitversiob.h * cleanup: Ditto 2013 2013-10-29 Dirk Eddelbuettel edd@debian.org * littler.c: Correction to display of '--version' 2012 2012-10-06 Dirk Eddelbuettel edd@debian.org * ldflags.R: Applied patch by Jonas Rauch to correctly compute -rpath linker flags on Linux, squashing a really old bug 2012-09-03 Dirk Eddelbuettel edd@debian.org * examples/update.r: Minor tweak 2011 2011-09-17 Dirk Eddelbuettel edd@debian.org * configure.in: Mark as release 0.1.5 * littler.c (littler_CleanUp): Remove call to Rf_KillAllDevices() 2011-09-15 Dirk Eddelbuettel edd@debian.org * configure.in: Mark as release 0.1.4 * Makefile.am: Applied patch by Mathias Klose to prevent FTBFS with 'ld --as-needed', cf LP bug 770980. * littler.c: A few small tweaks suggested by 'gcc -Wall' * examples/install2.r: Added a second R package installer example * examples/update.r: Switch to '/usr/bin/r -t' as shebang line * examples/fsizes.r: Dito * littler.c: Update copyrights to 2011 * README: Idem 2010 2010-01-05 Dirk Eddelbuettel edd@debian.org * configure.in: Mark as release 0.1.3 * littler.c: Update copyrights to 2010 * README: Idem * bootstrap: Added tests to not re-generate svnversion.h when information about revision number and date cannot be had retrieved * ldflags.R: Ensure no 'empty string' entries get expanded as this triggered a Debian lintian error related to rpath usage * tools/config.{guess,sub}: Updated 2010-01-04 Dirk Eddelbuettel edd@debian.org * littler.c: Set up littler so that 'interactive()' is false, and add new flag -i|--interactive to activate the previous behaviour * r.1: Document the new flag 2009 2009-12-12 Dirk Eddelbuettel edd@debian.org * littler.c: Expand the littler_CleanUp function to be closer to the example clean up function in section 8.1.2 'Setting R callbacks' in the R Extensions manual * tests/dotLast.r: simple test of .Last() which we now reach * examples/install.r: Do not call install.packages with dependencies=TRUE as this leads to too many auxilliary pkgs * examples/update.r: Small fix to clearCache() 2009-03-23 Dirk Eddelbuettel edd@debian.org * r.1: Added two missing \\ to protect \\n inside quotes 2009-01-13 Dirk Eddelbuettel edd@debian.org * configure.in: Mark as release 0.1.2 * littler.c,r.1: Added -q|--quick switch to skip autoload with thanks to Simon Urbanek for the suggestion. * littler.c: Updated copyright to 2009 2009-01-10 Dirk Eddelbuettel edd@debian.org * Makefile.am: Tweaked flow and logic a little, updated copyright 2008 2008-08-28 Jeffrey Horner jeffrey.horner@vanderbilt.edu * littler.c: added -t|--rtemp to use R's temp dir strategy with thanks to Paul Gilbert for the suggestion. 2008-08-27 Dirk Eddelbuettel edd@debian.org * Release 0.1.1 2008-08-18 Dirk Eddelbuettel edd@debian.org * tests/exitstatus.sh: Added test script for new exit status feature 2008-08-18 Jeffrey Horner jeffrey.horner@vanderbilt.edu * littler.c: now exits with status provided by call to q(). 2008-06-09 Dirk Eddelbuettel edd@debian.org * r.1: Applied patch by Seb which adds more examples. Thanks! 2008-04-30 Dirk Eddelbuettel edd@debian.org * README: added entry about getopt 2008-03-12 Dirk Eddelbuettel edd@debian.org * examples/update.r: simplified clearCache 2008-01-14 Dirk Eddelbuettel edd@debian.org * Release 0.1.0 * littler.c: Added new option -l|--packages to load R packages * littler.c: Small change to optional argument handling * littler.c: Also use --no-restore argument on startup * littler.c: Small additions to --help output * r.1: Documented new option -l | --packages * README: Updated as well * autoloads.R: No longer suppress autoload of package datasets * bootstrap: Two small fixes for non-bash sh use * examples/update.r: rewritten cache clearing part * tests/timing*.sh: added Rscript for comparison 2007 2007-04-13 Dirk Eddelbuettel edd@debian.org * Release 0.0.11 * Makefile.am: Removed use of one GNU extension to Make to facilitate builds on non-GNU systems * examples/update.r: Fix by Jeff for file caching issues 2007-02-20 Dirk Eddelbuettel edd@debian.org * Release 0.0.10 2007-02-19 Jeffrey Horner jeffrey.horner@vanderbilt.edu * README: Updated FAQ entry regarding Rscript with 'hello world!' example. * littler.c: Added R version checking to support R 2.4 and 2.5 * tests/*: Convened on ../r as path to r. 2007-02-18 Dirk Eddelbuettel edd@debian.org * configure.in: Tag it as release 0.0.10 * README: Added FAQ entry regarding Rscript * README, littler.c: Rolled copyright into 2007 2007-02-16 Jeffrey Horner jeffrey.horner@vanderbilt.edu * configure.in: added --with-java-libs and --with-tcltk-libs for conditionally linking littler against respective libraries. 2007-02-15 Jeffrey Horner jeffrey.horner@vanderbilt.edu * littler.R: added more R_* environment variables to output. * configure.in: added R CMD *_LIBS output to ld linker flags * INSTALL: Added minimal recipe to build GNU R with --enable-R-shlib 2007-02-08 Jeffrey Horner jeffrey.horner@vanderbilt.edu * littler.c: added function init_rand to set initial seed values for the R function tempfile. * configure.in: added checks for existence of gettimeofday and time to support init_rand. 2007-01-04 Dirk Eddelbuettel edd@debian.org * configure.in: Tag it as release 0.0.9 2007-01-04 Jeffrey Horner jeffrey.horner@vanderbilt.edu * littler.c: added call to R_ReplDLLinit to initialize console buffers 2006 2006-11-22 Jeffrey Horner jeffrey.horner@vanderbilt.edu * examples/updates.r: always regenerate package cache 2006-10-28 Dirk Eddelbuettel edd@debian.org * update.r: Switched repos to to cran.r-project.org 2006-10-25 Dirk Eddelbuettel edd@debian.org * configure.in: Tag it as release 0.0.8 * examples/install.r, examples/update.r: Two new examples * Makefile.am: Some small cleanups and fixes * INSTALL: Clarified need for R as shared library, reformatted 2006-10-09 Dirk Eddelbuettel edd@debian.org * Makefile, bootstrap: Added .PHONY targets, have bootstrap optionally create svnversion.h * FAQ: document clash of 'r' with the zsh builtin 2006-10-06 Jeffrey Horner jeffrey.horner@vanderbilt.edu * configure.in, littler.c, Makefile.am, littler.R: make littler set all R_* environment variables. * configure.in: unconditionally create littler.h, autoloads.h, and ldflags.txt during configure. 2006-10-05 Jeffrey Horner jeffrey.horner@vanderbilt.edu * Release 0.0.7 * Makefile.am: added ldflags.R to dist 2006-10-04 Dirk Eddelbuettel edd@debian.org * Release 0.0.6 2006-10-03 Dirk Eddelbuettel edd@debian.org * README, INSTALL: Some more polishing 2006-10-03 Jeffrey Horner jeffrey.horner@vanderbilt.edu * README: added FAQ answer to use the configure flags --program-prefix and/or --program-suffix for renaming r binary. 2006-10-02 Dirk Eddelbuettel edd@debian.org * configure.in: Added check for R version >= 2.3.1 2006-09-29 Dirk Eddelbuettel edd@debian.org * littler.c: support svnrevision/date in --version * bootstrap, svnversion.h: call svn and do some awk'ing borrowed from R's Makefiles to auto-create svnversion.h * configure.in, Makefile.am: updated accordingly 2006-09-29 Jeffrey Horner jeffrey.horner@vanderbilt.edu * README: Added 'Implementation' section. 2006-09-28 Jeffrey Horner jeffrey.horner@vanderbilt.edu * littler.c: parse_eval(), the REP loop for stdin and '-e', now use R_tryEval() instead of eval(). * configure.in, Makefile.am, ldflags.R: For linux, we add all paths set by RHOME/etc/ldpaths to r's RPATH. 2006-09-26 Dirk Eddelbuettel edd@debian.org * Release 0.0.5 made and announced by Jeff * rinterp.c, rinterp.1: renamed to littler.c, littler.1 * Makefile.am, configure.in: Many changes to accomodate that * autoloads.R: code generator to aid in autoload()ing functions from default packages. 2006-09-05 Jeffrey Horner jeffrey.horner@vanderbilt.edu * Release 0.0.4: * rinterp.c: Bug fix: forgot to reset membuf_t.buf after a call to resize_membuf() * rinterp.c: After R init, we delete R_SESSION_TMPDIR and point it to one of TMPDIR, TMP, TEMP, or \"/tmp\". We also turn off R's signal handlers. 2006-08-15 Jeffrey Horner jeffrey.horner@vanderbilt.edu * Release 0.0.3: * configure.in: Added Dirk's patch to configure.in to automatically find R in search path and to use --rpath linker option. * rinterp.c: Read commands from stdin when no file is given on cmdline. (feature request from Dirk Eddelbuettel <edd@debian.org>) 2006-08-09 Jeffrey Horner jeffrey.horner@vanderbilt.edu * Release 0.0.2: * rinterp.c: Added argv support. (feature request from Juha Vierine <jvierine@gmail.com>) 2006-07-14 Jeffrey Horner jeffrey.horner@vanderbilt.edu * Release 0.0.1: * Initial release of Rinterp: hashbang support for R","title":"Changelog"},{"location":"changelog/#2024","text":"2024-03-23 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.20 * configure.ac: Idem * configure: Idem 2024-03-17 Dirk Eddelbuettel edd@debian.org * inst/examples/ciw.r: Correct one documentation label 2024-03-14 Dirk Eddelbuettel edd@debian.org * inst/examples/doi2bib.r: Allow multiple DOIs, check packages 2024-03-13 Dirk Eddelbuettel edd@debian.org * inst/examples/doi2bib.r: New wrapper for DOI request for bibtex entry 2024-03-11 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll micro version and date 2024-03-10 Dirk Eddelbuettel edd@debian.org * R/init.R: Tweaks to generalized message * src/littler.c: In non-vanilla mode, rerun temp. dir initialization after local configuration files to allow for non-standard temp. file 2024-03-10 Berwin A Turlach berwin.turlach@gmail.com * R/init.R: Generalize message to reflect ${R_ARCH} (if set) 2024-03-06 Dirk Eddelbuettel edd@debian.org * inst/examples/ciw.r: Add connectivity check, tweak lines display 2024-03-05 Dirk Eddelbuettel edd@debian.org * inst/examples/tttf.r: Support devtools::load_all() option 2024-03-02 Dirk Eddelbuettel edd@debian.org * inst/examples/ciw.r: Several small tweaks 2024-02-29 Dirk Eddelbuettel edd@debian.org * inst/examples/ciw.r: New wrapper around ciw::incoming() 2024-02-28 Dirk Eddelbuettel edd@debian.org * inst/examples/tttf.r: Use env -S r -t for per-session temp dir, support command-line argument -c | --ci to set env.var CI 2024-02-25 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Suggests): Removed package used in only one example 2024-02-22 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll micro version and date * inst/examples/tt.r: Fill in \"inst/tinytest\" if `-d | --dir` but the target directory was omitted, and exists 2024-02-20 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll micro version and date * inst/examples/tt.r: Use env -S r -t for per-session temp dir, support command-line argument -c | --ci to set env.var CI 2024-02-16 Dirk Eddelbuettel edd@debian.org * .github/workflows/ci.yaml (jobs): Update to actions/checkout@v4, add r-ci-setup actions 2024-01-18 Dirk Eddelbuettel edd@debian.org * inst/examples/tttl.r: Use env -S r -t for per-session temp dir 2024-01-16 Dirk Eddelbuettel edd@debian.org * inst/examples/rcc.r (rccwrapper): Use env -S r -t to switch to using a per-session temporary directory as R does 2024-01-03 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll micro version and date * inst/examples/installDeps2.r: Add simpler, dependency-free second variant of 'install dependencies found in DESCRIPTION'","title":"2024"},{"location":"changelog/#2023","text":"2023-12-17 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.19 * configure.ac: Idem * configure: Idem 2023-12-12 Dirk Eddelbuettel edd@debian.org * inst/examples/installRSPM.r: Update to p3m, install as installP3M.r 2023-12-01 Dirk Eddelbuettel edd@debian.org * inst/examples/r2u.r: Add new --compile flag, small edits * inst/examples/installDeps.r: Small edit for --help text 2023-11-03 Dirk Eddelbuettel edd@debian.org * inst/examples/installGithub.r: Add usage example for installation from repository sub-directory 2023-10-09 Dirk Eddelbuettel edd@debian.org * inst/examples/r2u.r: Add --dryrun argument for (single) package build 2023-10-03 Dirk Eddelbuettel edd@debian.org * inst/examples/tt.r: Switch the default value for 'effects' from FALSE to TRUE which, while a breaking change, is the better default. 2023-09-25 Dirk Eddelbuettel edd@debian.org * inst/examples/installRub.r: Also allow 'package@universe' format 2023-09-20 Dirk Eddelbuettel edd@debian.org * inst/examples/r2u.r: Another posit.co URL update 2023-09-19 Dirk Eddelbuettel edd@debian.org * inst/examples/tttf.r: Extend --library to several arguments 2023-09-16 Dirk Eddelbuettel edd@debian.org * inst/examples/installRSPM.r: Edits to help text, also show default distribution 2023-09-02 Dirk Eddelbuettel edd@debian.org * inst/examples/r2u.r: Support BioConductor updates 2023-09-01 Dirk Eddelbuettel edd@debian.org * inst/examples/tttf.r: Add --source argument 2023-08-21 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll micro version and date * README.md: Add r-universe badge 2023-08-20 Dirk Eddelbuettel edd@debian.org * inst/examples/installRSPM.r: Minor edits for coexistence, update base url to new corporate name and URL * inst/examples/installPPM.r: Install as hard link to installRSPM.r 2023-08-09 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll micro version and date * inst/examples/r2u.r: Add two more options for modifying the Debian version of a package being built * inst/examples/tttf.r: Very initial version of a single file testthat runner (aka 'testthat::test_file()' 2023-07-15 Dirk Eddelbuettel edd@debian.org * inst/examples/installDeps.r: Support dependencies argument * inst/examples/check.r: Correct one line in help text 2023-06-01 Dirk Eddelbuettel edd@debian.org * README.md: Note more prominently that this does not build on Windows 2023-05-15 Dirk Eddelbuettel edd@debian.org * inst/examples/tttl.r: Expanded usage text 2023-05-11 Dirk Eddelbuettel edd@debian.org * inst/examples/r2u.r: Micro-edit to displayed text 2023-03-25 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.18 * configure.ac: Idem * configure: Idem 2023-03-23 SHIMA Tatsuya ts1s1andn@gmail.com * inst/examples/install2.r (capture): Update error message pattern used to detect failure to change in R 4.3.* 2023-03-23 Dirk Eddelbuettel edd@debian.org * inst/examples/install2.r (capture): Small generalisation for somewhat fragile error capture 2023-03-22 Dirk Eddelbuettel edd@debian.org * inst/examples/tttl.r: Small usability enhancement 2023-03-21 Dirk Eddelbuettel edd@debian.org * inst/examples/installRub.r: Small extensions * inst/examples/r2u.r: Correction on suffix use 2023-03-20 Dirk Eddelbuettel edd@debian.org * inst/examples/installRub.r: Initial version of r-universe binary installer 2023-03-10 Dirk Eddelbuettel edd@debian.org * inst/examples/tttl.r: Very simple wrapper to testthat::test_local() * inst/examples/tt.r: Remove extra library(), change to https url 2023-02-22 Dirk Eddelbuettel edd@debian.org * inst/examples/r2u.r: Extend with --suffix option 2023-02-14 Dirk Eddelbuettel edd@debian.org * inst/examples/installGithub.r: Offer a type option and set it * inst/examples/install2.r: Ditto 2023-02-13 Dirk Eddelbuettel edd@debian.org * inst/examples/getRStudioDesktop.r: Updated default file * inst/examples/getRStudioServer.r: Idem","title":"2023"},{"location":"changelog/#2022","text":"2022-12-31 Dirk Eddelbuettel edd@debian.org * inst/examples/roxy.r: Added --libpath LIB option 2022-10-29 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.17 * configure.ac: Idem * configure: Idem 2022-10-28 Dirk Eddelbuettel edd@debian.org * src/littler.c: Turn several functions into proper prototypes to make clang-15 happier * .github/workflows/ci.yaml (jobs): Update to actions/checkout@v3 2022-09-03 Dirk Eddelbuettel edd@debian.org * inst/examples/installBioc.r (capture): Update error message pattern used to detect failure to change in R 4.3.* 2022-09-03 SHIMA Tatsuya ts1s1andn@gmail.com * inst/examples/install2.r (capture): Update error message pattern used to detect failure to change in R 4.3.* 2022-08-28 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.16 * configure.ac: Idem * configure: Idem * inst/examples/installBioc.r: Small polish 2022-08-24 Pieter Moris pieter.moris@glpg.com * inst/examples/installBioc.r: Generalization, extension and extra features similar to how install2.r generalizes install2.r 2022-07-16 Dirk Eddelbuettel edd@debian.org * inst/examples/r2u.r: Add simple r2u.r frontend 2022-04-03 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll minor version and date * src/littler.c (init_rand): Update to current seeding version in R, add stdint.h header for uint_least64_t 2022-04-02 Dirk Eddelbuettel edd@debian.org * configure.ac: Add two more header function checks * configure: Regenerated * src/config.h.in: Regenerated from expanded configure.ac 2022-02-25 Dirk Eddelbuettel edd@debian.org * inst/examples/install2.r: Default installation directory is now the first element in .libPaths() which can reflect R_LIBS_USER etc 2022-02-22 Dirk Eddelbuettel edd@debian.org * inst/examples/rcc.r: Add -v | --valgrind option 2022-01-21 Dirk Eddelbuettel edd@debian.org * inst/examples/install2.r: Correct typo (thanks, @jds485) 2022-01-16 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll minor version and date 2022-01-16 SHIMA Tatsuya ts1s1andn@gmail.com * inst/examples/install2.r: Generalize -r option use","title":"2022"},{"location":"changelog/#2021","text":"2021-12-21 Dirk Eddelbuettel edd@debian.org * inst/examples/getPandoc.r: Add Pandoc .deb downloader 2021-12-15 Dirk Eddelbuettel edd@debian.org * inst/examples/cowu.r: Add Windows UCRT checker 2021-12-03 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.15 * configure.ac: Idem * configure: Idem 2021-12-02 Dirk Eddelbuettel edd@debian.org * inst/examples/mdweave2html.r: Add caller for simplermarkdown 2021-11-17 Dirk Eddelbuettel edd@debian.org * README.md: Remove Travis badge * .travis.yml: Remove Travis YAML config 2021-10-27 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll minor version and date, (Suggests): Use simplermarkdown not knitr, rmarkdown, minidown * vignettes/littler-faq.md: Converted to simplermarkdown vignette * vignettes/littler-examples.md: Idem * vignettes/water.css: Added 2021-10-26 Dirk Eddelbuettel edd@debian.org * inst/examples/build.r: Set --compact-vignettes to both * inst/examples/getRStudioDesktop.r: Updated to changed urls * inst/examples/getRStudioServer.r: Idem 2021-10-23 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll minor version and date 2021-10-22 Gergely Daroczi daroczig@rapporter.net * inst/examples/install2.r: Check failure from parallel installs 2021-10-20 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll minor version and date 2021-10-20 Gergely Daroczi daroczig@rapporter.net * inst/examples/install2.r: Support download methods argument 2021-10-18 John Kerl kerl.john.r@gmail.com * README.md: Fix three typos 2021-10-05 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.14 * configure.ac: Idem * configure: Idem * configure.ac: Updated via 'autoupdate' and 'autoreconf --warnings=obsolete' followed by light edit * src/config.h.in: Idem 2021-10-03 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (URL): Add documentation site to URL entry 2021-09-18 Dirk Eddelbuettel edd@debian.org * inst/examples/getQuartoCli.r: Add simple convenience downloader for Quarto command-line .deb package parsing GitHub release result 2021-09-14 Dirk Eddelbuettel edd@debian.org * inst/examples/roxy.r: Add -m | --minimal variant for namespace and rd roclets using the cached older version 2021-08-31 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll minor version and date 2021-08-30 Dirk Eddelbuettel edd@debian.org * inst/examples/getRStudioDesktop.r: Updated to changed names * inst/examples/getRStudioServer.r: Idem 2021-07-24 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.13 * configure.ac: Idem * configure: Idem * tests/simpleTests.R: Slightly extended * R/test.R (test): Minor tweak * vignettes/littler-faq.Rmd (vignette): Update one URL * vignettes/littler-faq.html: Re-rendered * vignettes/littler-examples.html: Idem * .editorconfig: Added * .Rbuildignore: Added .editorconfig 2021-07-21 Dirk Eddelbuettel edd@debian.org * inst/NEWS.Rd: Added entries for several changes since last release 2021-07-19 Dirk Eddelbuettel edd@debian.org * inst/examples/kitten.r: Note bunny and puppy only work with plain 2021-07-09 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Roll minor version and date * inst/examples/kitten.r: Correct calls for arma and eigen 2021-06-28 Dirk Eddelbuettel edd@debian.org * inst/examples/cranIncoming.r: Corrected message 2021-06-28 Aaron Wolen aaron@wolen.com * inst/examples/tt.r: Correct two typos 2021-04-04 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (URL): Add repo URL 2021-03-28 Dirk Eddelbuettel edd@debian.org * docs/mkdmt-src/: Moved mkdocs-material input 2021-03-24 Dirk Eddelbuettel edd@debian.org * vignettes/littler-faq.Rmd (vignette): Add %\\Vignette{Encoding,Package} * vignettes/littler-examples.Rmd (vignette): Idem 2021-03-12 Dirk Eddelbuettel edd@debian.org * inst/examples/kitten.r: Allow calling Rcpp{,Arma,Eigen}.package.skeleton * inst/examples/roxy.r: Expand roclets example and argument test 2021-03-10 Dirk Eddelbuettel edd@debian.org * inst/examples/getRStudioDesktop.r: Updated to cope with rvest change * inst/examples/getRStudioServer.r: Idem 2021-03-01 Dirk Eddelbuettel edd@debian.org * docs-src/: Updated reflecting current files * docs/: Ditto 2021-02-22 Dirk Eddelbuettel edd@debian.org * inst/examples/kitten.r: Add bunny option for kitten() 2021-02-20 Dirk Eddelbuettel edd@debian.org * inst/examples/kitten.r: Pass puppy option on to kitten() call 2021-01-31 Dirk Eddelbuettel edd@debian.org * inst/examples/silenceTwitterAccount.r: Check for updated version of rtweet with post_silence function 2021-01-30 Dirk Eddelbuettel edd@debian.org * inst/examples/installRSPM.r: Correct -c | --code argument use 2021-01-29 Dirk Eddelbuettel edd@debian.org * inst/examples/silenceTwitterAccount.r: Wrapper for rtweet 2021-01-17 Dirk Eddelbuettel edd@debian.org * inst/examples/compiledDeps.r: Add -n | --nonrecursive option 2021-01-16 Dirk Eddelbuettel edd@debian.org * inst/examples/compiledDeps.r: New script to show which dependencies of a package are in fact native i.e. compiled","title":"2021"},{"location":"changelog/#2020","text":"2020-12-27 Dirk Eddelbuettel edd@debian.org * .github/workflows/ci.yaml: Add CI runner using r-ci * README.md: Add new CI badge * tests/simpleTests.R: Update for GitHub Actions 2020-10-04 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.12 * configure: Idem 2020-10-03 Dirk Eddelbuettel edd@debian.org * vignettes/littler-faq.Rmd: Switch to minidown::mini_document and 'framework: water' to dramatically reduce vignettes size * vignettes/littler-examples.Rmd: Idem * inst/examples/urlUpdate.r: Add -c | --check-only option 2020-10-02 Dirk Eddelbuettel edd@debian.org * inst/examples/urlUpdate.r: New script to update URLs 2020-09-25 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * inst/examples/cranIncoming.r: New script 2020-09-21 Dirk Eddelbuettel edd@debian.org * inst/examples/installBSPM.r: Initial version of BSPM installer 2020-09-20 I\u00f1aki \u00dacar iucar@fedoraproject.org * inst/examples/installRSPM.r: Add RH/CentOS/Fedora support 2020-09-20 Dirk Eddelbuettel edd@debian.org * .travis.yml (install): Switch to BSPM use for Travis * docs/: Added package website * docs-src/: Added package website inputs 2020-09-19 Dirk Eddelbuettel edd@debian.org * inst/examples/installRSPM.r: First rough version of an RSPM installer which 'works for me' on Ubuntu but needs other tests 2020-09-13 Dirk Eddelbuettel edd@debian.org * inst/examples/check.r: New option '-n | --no-manvig' replacing earlier attempt and implementing '--no-manual --no-vignettes' 2020-09-07 Dirk Eddelbuettel edd@debian.org * README.md: Added 'last commit' badge 2020-09-01 Dirk Eddelbuettel edd@debian.org * inst/examples/installDeps.r: Added initial version 2020-08-15 Dirk Eddelbuettel edd@debian.org * inst/examples/tt.r: For n=1 enforce serial mode 2020-07-26 Dirk Eddelbuettel edd@debian.org * inst/examples/cos.r: Support pre-built tar.gz as well 2020-07-24 Dirk Eddelbuettel edd@debian.org * inst/examples/cow.r: Support pre-built tar.gz as well 2020-07-23 Dirk Eddelbuettel edd@debian.org * inst/examples/c4c.r: Support pre-built tar.gz as well 2020-07-07 Dirk Eddelbuettel edd@debian.org * inst/examples/com.r: Add 'check_on_macos' wrapper 2020-06-28 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * inst/examples/check.r: Add options --no-manual and --no-vignettes 2020-06-26 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Release 0.3.11 * configure: Idem 2020-06-25 Dirk Eddelbuettel edd@debian.org * inst/examples/check.r: Accomodate recent docopt change for quoted arguments simplifying the use script use * inst/examples/rcc.r: Idem * inst/examples/roxy.r: Idem, add new option -f --full to select --nocache and all roclets * inst/examples/installGithub.r: Minor help text edit 2020-06-17 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version 2020-06-16 Dirk Eddelbuettel edd@debian.org * vignettes/littler-faq.Rmd (vignette): Mention zsh builtin again * vignettes/littler-examples.Rmd (vignette): Add short note too 2020-06-03 Dirk Eddelbuettel edd@debian.org * src/littler.c: Update copyright year to 2020 in two places 2020-06-02 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Release 0.3.10 * configure.ac: Idem * configure: Idem 2020-06-01 Dirk Eddelbuettel edd@debian.org * inst/examples/roxy.r: Added docopt, support nocache and roclets * .travis.yml: Switch to bionic and R 4.0.0 2020-04-11 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version 2020-04-09 Sergio Oller sergioller@gmail.com * inst/examples/install2.r: Generalize --error behaviour by ignoring two more possible sources of error 2020-03-20 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * inst/examples/installBioc.r: Ensure .libPaths() is set 2020-02-23 Dirk Eddelbuettel edd@debian.org * inst/examples/installBioc.r: New helper script for BioConductor","title":"2020"},{"location":"changelog/#2019","text":"2019-12-27 Dirk Eddelbuettel edd@debian.org * inst/examples/update.r: Set _R_SHLIB_STRIP_ to 'true' 2019-12-23 Dirk Eddelbuettel edd@debian.org * inst/examples/install.r: Set _R_SHLIB_STRIP_ to 'true' * inst/examples/install2.r: Idem * inst/examples/installGitHub: Idem * inst/examples/installRepo: Idem 2019-12-01 Dirk Eddelbuettel edd@debian.org * inst/examples/tt.r: Correct ncpu fallback setting 2019-11-16 Dirk Eddelbuettel edd@debian.org * inst/examples/rcc.r: Set _R_CHECK_TESTS_NLINES_=0 for full logs 2019-10-28 Dirk Eddelbuettel edd@debian.org * inst/examples/update.r: Now only considers writeable directories 2019-10-27 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Date, Version): Release 0.3.9 * configure.ac: Idem * configure: Idem 2019-10-26 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * inst/examples/kitten.r: Now with puppy love for tinytest * inst/examples/pkg2bibtex.r: New helper for bibtex package records * inst/examples/sweave.r: New helper script to sweave (and compact) * inst/examples/render.r: Add pdf compacting option * inst/examples/compactpdf.r: Slightly improved file logic * inst/examples/kitten.r: Add tinytest::puppy support via '-p' option 2019-10-25 Dirk Eddelbuettel edd@debian.org * inst/examples/sweave.r: New helper to 'Sweave' Rnw files, with automatic call to compactPDF (and option to suppress this) * inst/examples/render.r: Add support for compactPDF, and option not to 2019-09-26 Dirk Eddelbuettel edd@debian.org * inst/examples/update.r: Correct libloc help text and default value * inst/examples/rcc.r: Use max(all rc values) as status return 2019-09-25 Dirk Eddelbuettel edd@debian.org * inst/examples/rcc.r: Support exit status return, accept new option '--erroron' to pass to error_on option of rcmdcheck 2019-08-29 Dirk Eddelbuettel edd@debian.org * inst/examples/tt.r: Support tinytest side effects and npus 2019-08-25 Dirk Eddelbuettel edd@debian.org * inst/examples/compactpdf.r: New simple helper script * inst/examples/build.r: Add '--compact-vignettes --resave-data' 2019-07-24 Dirk Eddelbuettel edd@debian.org * inst/examples/cos.r: New 'rhub: check on Solaris' helper 2019-06-23 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version 2019-06-21 Stefan Widgren stefan.widgren@gmail.com * inst/examples/dratInsert.r: Correct use of call. in stop() * inst/examples/render.r: Idem * vignettes/littler-examples.Rmd: Idem 2019-06-09 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.8 * configure.ac: Idem * configure: Idem * inst/examples/c4c.r: Set check_args=\"--no-manual --no-vignettes\" as we cannot assume rhub to have functioning latex infrastructure * inst/examples/cow.r: Ditto * inst/examples/rchk.r: Ditto 2019-06-08 Dirk Eddelbuettel edd@debian.org * inst/examples/tt.r: Initial steps towards a tinytest wrapper 2019-06-03 Dirk Eddelbuettel edd@debian.org * inst/examples/install2.r: Extend to optional parallel installation 2019-05-22 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * inst/examples/install.r: Extend to optional parallel installation as tested in installedParallel.r * inst/examples/installParallel.r: Removed now redundant file 2019-05-13 Dirk Eddelbuettel edd@debian.org * inst/examples/installParallel.r: Potential replacement for install.r which can install external repos in parallel 2019-04-30 Dirk Eddelbuettel edd@debian.org * inst/examples/install.r: Usage help display update 2019-03-23 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * vignettes/littler-faq.Rmd (vignette): New section on adding r to PATH * src/Makevars.in: Reference new littler-faq entry in help display * R/init.R (.onAttach): If 'r' ('lr') is not in path, displayed message also references new entry in littler-faq vignette 2019-03-15 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.7 * configure.ac: Idem * configure: Idem 2019-03-14 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * configure.ac: Correct use of AC_DEFINE * configure: Idem 2019-01-31 Gergely Daroczi daroczig@rapporter.net * inst/examples/install2.r: Fix warning on multiple repos * inst/examples/installGithub.r: Add -r | --repos option like in install2.r 2019-01-27 Dirk Eddelbuettel edd@debian.org * src/littler.c: Update copyright year to 2019 * vignettes/littler-examples.Rmd (date): Correct typo in date 2019-01-26 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.6 * configure.ac: Idem * configure: Idem * inst/examples/install.r (installArg): Use explicit argument repos 2019-01-14 Dirk Eddelbuettel edd@debian.org * README.md: Add dependency badge 2019-01-06 Dirk Eddelbuettel edd@debian.org * vignettes/littler-faq.Rmd: Adding a short FAQ vignette * R/init.R (.onAttach): Mention new FAQ vignette in message","title":"2019"},{"location":"changelog/#2018","text":"2018-12-31 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * inst/examples/update.r: Add -n | --ncpus support 2018-12-30 Colin Gillespie csgillespie@gmail.com * inst/examples/install2.r: Add -n (Ncpus) argument 2018-10-30 Dirk Eddelbuettel edd@debian.org * inst/examples/install.r: Add \".\" if no argument given but DESCRIPTION and NAMESPACE in current directory * inst/examples/install2.r: Idem 2018-10-27 Dirk Eddelbuettel edd@debian.org * inst/examples/install.r: Use \".\" to install from current directory * inst/examples/install2.r: Idem 2018-10-04 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.5 * configure.ac: Idem * configgure: Idem 2018-09-23 Dirk Eddelbuettel edd@debian.org * inst/examples/rchk.r: Minimal wrapper for rchk 2018-09-21 Dirk Eddelbuettel edd@debian.org * inst/examples/rcc.r (rccwrapper): Insert a wrapper to set arguments explicitly now that the command order was changed in rcmdcheck 1.3.0 2018-09-12 Dirk Eddelbuettel edd@debian.org * inst/examples/roxy.r: Overcome roxygen2 6.1.0 breakage by loading a build of, eg, roxygen2 6.0.1 if found at ~/.R/cache/roxygen2 2018-09-02 Dirk Eddelbuettel edd@debian.org * .travis.yml: Switch Travis CI to R 3.5 repo 2018-08-24 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.4 * configure.ac: Idem * configgure: Idem * README.md: Updated 2018-08-23 Dirk Eddelbuettel edd@debian.org * inst/examples/check.r: Use is.null(), other docopt simplifications 2018-08-09 Dirk Eddelbuettel edd@debian.org * inst/examples/rcc.r: Use is.null() to test for empty arguments 2018-08-03 Dirk Eddelbuettel edd@debian.org * update.r: No longer need suppressMessages() around library() * shiny.r: Idem * rcc.r: Idem * install2.r: Idem * check.r: Idem * build.r: Idem * render.r: Idem * testInstalled.r: Idem * rd2md.r: Idem 2018-07-31 Dirk Eddelbuettel edd@debian.org * inst/examples/getRStudioDesktop.r: More defensive use of URL while curl (OS-level) library packages have is more fragile * inst/examples/getRStudioServer.r: Idem 2018-07-29 Dirk Eddelbuettel edd@debian.org * inst/examples/getRStudioDesktop.r: URLs updated * inst/examples/getRStudioServer.r: Idem 2018-05-25 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * inst/examples/update.r: Added docopt support 2018-05-24 Dirk Eddelbuettel edd@debian.org * vignettes/littler-examples.Rmd: Updated and extended * inst/examples/render.r: Minor tweak 2018-05-23 Dirk Eddelbuettel edd@debian.org * inst/examples/rcc.r: Correct args for '--fast' call 2018-05-12 Dirk Eddelbuettel edd@debian.org * inst/examples/install2.r: New option -s to skip installed packages * inst/examples/installIfNew.R: Removed as now redundant * inst/examples/getRStudioServer.r: Update URL to trusty 2018-05-06 Brandon Bertelsen brandon@bertelsen.ca * inst/examples/installIfNew.R: New example to only install new packages not already installed 2018-02-26 Dirk Eddelbuettel edd@debian.org * inst/examples/getRStudioDesktop.r: Source URL update 2018-01-02 Dirk Eddelbuettel edd@debian.org * inst/examples/kitten.r: New script to call pkgKitten::kitten() * inst/examples/compAttr.r: Use '#!/usr/bin/env r' as shebang line * inst/examples/fsizes.r: Idem * inst/examples/getRStudioDesktop.r: Idem * getRStudioServer.r: Idem * highlightsweave.r: Idem * inst/examples/knit.r: Idem * inst/examples/pnrrs.r: Idem * inst/examples/roxy.r: Idem","title":"2018"},{"location":"changelog/#2017","text":"2017-12-18 Dirk Eddelbuettel edd@debian.org * inst/examples/check.r: Remove second docopt() parse * inst/examples/dratInsert.r: Idem * inst/examples/install2.r: Idem * inst/examples/installGithub.r: Idem * inst/examples/installRepo.r: Idem * inst/examples/rd2md.r: Idem 2017-12-17 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.3 * README.md: Updated 2017-12-10 Dirk Eddelbuettel edd@debian.org * vignettes/littler-examples.Rmd: Expanded and updated 2017-11-30 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * inst/examples/getRStudioServer.r: Rewritten using rvest * inst/examples/getRStudioDesktop.r: Idem 2017-11-10 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * inst/examples/build.r: Use current directory if none given 2017-09-05 Dirk Eddelbuettel edd@debian.org * vignettes/littler-examples.Rmd (vignette): Expanded 2017-09-04 Dirk Eddelbuettel edd@debian.org * inst/examples/dratInsert.r: Combine suppressMessages() calls * inst/examples/installGithub.r: Idem * inst/examples/installRepo.r: Idem * inst/examples/rd2md.r: Idem * inst/examples/testInstalled.r: Idem 2017-08-13 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Roll minor version * inst/examples/build.r: New option --fast skipping vignettes and manual * inst/examples/rcc.r: Ditto 2017-08-10 Dirk Eddelbuettel edd@debian.org * inst/examples/runit.r: Updated docopt usage 2017-07-12 Dirk Eddelbuettel edd@debian.org * inst/examples/c4c.r: Use #!/usr/bin/env r instead * inst/examples/cow.r: Idem 2017-06-22 Dirk Eddelbuettel edd@debian.org * inst/examples/cow.r: Added simple rhub::check_on_windows() wrapper * .travis.yml (group): Added as required by Travis CI 2017-05-01 Carl Boettiger cboettig@gmail.com * inst/examples/install2.r: More robust error handling 2017-04-23 Dirk Eddelbuettel edd@debian.org * inst/examples/pnrrs.r: Added 'pnrrs.r' helper calling tools::package_native_routine_registration_skeleton() available in R 3.4.0 and later 2017-04-04 Carl Boettiger cboettig@gmail.com * inst/examples/installGithub.r: Correct argument to upgrade 2017-02-18 Dirk Eddelbuettel edd@debian.org * .travis.yml (before_install): Use https 2017-02-14 Dirk Eddelbuettel edd@debian.org * DESCRIPTION (Version, Date): Release 0.3.2 * src/scripts/littler.R: Also skip R_USER 2017-02-13 Dirk Eddelbuettel edd@debian.org * inst/examples/build.r: New script calling R CMD build 2017-02-05 Dirk Eddelbuettel edd@max.eddelbuettel.com * inst/examples/c4c.r: New script calling rhub::check4cran() * inst/examples/getRStudioDesktop.r: New script * inst/examples/getRStudioServer.r: New script","title":"2017"},{"location":"changelog/#2016","text":"2016-12-02 Dirk Eddelbuettel edd@debian.org * R/init.R: Additional #nocov tags * R/test.R: Idem 2016-11-17 Dirk Eddelbuettel edd@debian.org * R/rd2md.r: New script 2016-11-17 Dirk Eddelbuettel edd@debian.org * inst/examples/installGithub.r: Use remotes instead of devtools * inst/examples/installRepo.r: Ditto * vignettes/littler-examples.Rmd: Ditto * inst/examples/check.r: Small correction for .libPaths() management 2016-10-01 Dirk Eddelbuettel edd@debian.org * inst/examples/rd2md.r: Convert Rd to markdown (for use in posts) 2016-08-13 Dirk Eddelbuettel edd@debian.org * configure (PACKAGE_VERSION): Re-ran autoconf to set version to 0.3.1 2016-08-06 Dirk Eddelbuettel edd@debian.org * DESCRIPTION: Release 0.3.1 * DESCRIPTION: Added URL and BugReports: * R/test.R (r): New helper function r() to return path to binary * man/r.rd: Documentation * man/littler.rd: Removed alias to 'r' * NAMESPACE: Export r * inst/examples/rcc.r: New example wrapping rcmdcheck::rcmdcheck() * inst/examples/render.r: New (still very simple) example to call rmarkdown::render() * inst/examples/check.r: Extended help and usage now via '-x' * inst/examples/dratInsert.r: Idem * inst/examples/install2.r: Idem * inst/examples/installGithub.r: Idem * inst/examples/installRepo.r: Idem * .travis.yml: Switch to using run.sh for Travis CI * tests/simpleTests.R: Make tests conditional on Linux 2016-06-05 Dirk Eddelbuettel edd@debian.org * inst/examples/roxy.r: Minor correction to documentation 2016-03-28 Dirk Eddelbuettel edd@debian.org * inst/examples/check.r: Add support for rcmdcheck * DESCRIPTION: Add Suggests: rcmdcheck 2016-03-21 Brandon Bertelsen brandon@bertelsen.ca * vignettes/littler-examples.Rmd: Correct installGithub.r example 2016-02-26 Dirk Eddelbuettel edd@debian.org * src/littler.c (showVersionAndExit): Updated copyright * src/scripts/littler.R: Added copyright header, reindented * src/scripts/autoloads.R: Idem * src/scripts/ldflags.R: Idem 2016-02-21 Mattias Ellert mattias.ellert@fysast.uu.se * configure.ac: Add support for AM_LDFLAGS * src/scripts/littler.R: Exclude three more variables reflecting the (optional) installation directory","title":"2016"},{"location":"changelog/#2015","text":"2015-11-20 Dirk Eddelbuettel edd@debian.org * inst/examples/rhome.r: New script to call R.home(...) 2015-11-18 Dirk Eddelbuettel edd@debian.org * DESCRIPTION: Add Suggests: docopt * .travis.yml: Add r-cran-docopt (via our PPA) 2015-11-17 Steven Pav shabbychef@gmail.com * inst/examples/install2.r: Support options past '--' which are passed on to R CMD INSTALL as INSTALL_opts 2015-11-04 Dirk Eddelbuettel edd@debian.org * DESCRIPTION: Add 'SystemRequirements: libR' per discussion with CRAN 2015-10-30 Dirk Eddelbuettel edd@debian.org * NAMESPACE: Added some comments explaining empty content 2015-10-29 Dirk Eddelbuettel edd@debian.org * DESCRIPTION: Release 0.3.0 * inst/NEWS.Rd: Added NEWS.Rd file * inst/script-tests/*: Set (old) scripts to #!/usr/bin/env r shebang 2015-10-28 Dirk Eddelbuettel edd@debian.org * vignettes/littler-examples.Rmd: Added vignette * configure.ac: Detect if built in git repo * src/gitversion.h.in: Reflect git version if built from repo * src/littler.c: Small tweaks to --version output * .travis.yml: Install knitr for Travis 2015-10-27 Dirk Eddelbuettel edd@debian.org * R/test.R: Generalized binary for other OS types, switched to simpler and more predictable default command * tests/simpleTests.R: Renamed from run-all.R, simpler default test, added new test calling an R 'state' variable * deprecated/tools: Moved from tools as no longer needed under rewritten configure.ac * man/littler.Rd: Added manual page 2015-10-26 Jeroen Oooms jeroen.ooms@stat.ucla.edu * R/tests.R: Added wrapper to call 'r' from tests/ directory * tests/run-all.R: Added simple test 2015-10-26 Dirk Eddelbuettel edd@debian.org * configure.ac: Also respect 'R CMD config CFLAGS' in build * src/littler.c: Suppress pedantic warnings on fopen results * src/gitversion.h: Define compiletime and compiledate only if VERBOSE_BUILD is set 2015-10-25 Dirk Eddelbuettel edd@debian.org * DESCRIPTION: Added, as part of conversion to package * NAMESPACE: Ditto * R/init.R: Ditto * src/littler.c: Moved from top-level * src/config.h.in: Ditto * src/Makevars.in: Moved, and adapted from Makefile.am * src/config-const.h: Added with some (so far) const values * src/scripts/autoloads.R: Moved from top-level * src/scripts/littler.R: Ditto * cleanup: Adapted to new layout * .gitignore: Ditto * .Rbuildignore: Added * inst/script-tests/: Moved from top-level tests/ * inst/examples/: Moved from top-level examples/ * inst/man-page/r.1: Moved from top-level r.1 * .travis.yml: Adapted to work on R package * deprecated/: Added to hold some no-longer used files * README.md: Updated 2015-10-02 Dirk Eddelbuettel edd@debian.org * examples/installRepo.r: New script wrapping GitHub, Bitbucket, Subversion (via http) and generic URL access. * examples/check.r: Expanded --help thanks to docopt * examples/installGithub.r: Ditto * examples/install2.r: Ditto * examples/dratInsert.r: Ditto 2015-09-30 Dirk Eddelbuettel edd@debian.org * examples/installGithub.r: Simplify, correct and extend script (with thanks to Alexios for the bug report) 2015-09-20 Dirk Eddelbuettel edd@debian.org * examples/check.r: Added new option to support 'kitchen sink' installation of Depends, Imports, LinkingTo and Suggests (cf #30) 2015-08-27 Dirk Eddelbuettel edd@debian.org * examples/install2.r: Better testing of opt$repos values 2015-07-09 Dirk Eddelbuettel edd@debian.org * littler.c (main): Add verbosity argument to parse_eval() which allows for more silent initial operations to set library paths, load libraries and load data -- addresses wish of GitHub ticket #26 2015-05-07 Dirk Eddelbuettel edd@debian.org * littler.c: Invert #ifdef on REPRODUCIBLE_BUILD to VERBOSE_BUILD: by default we no longer encode the timestamp of the builds * bootstrap: Ditto: Unless VERBOSE_BUILD is define do not place timestamps in to gitversion.h * littler.c: Also source $R_HOME/etc/Rprofile.site and ~/.Rprofile if present, and document this via --usage flag output. 2015-03-22 Dirk Eddelbuettel edd@debian.org * examples/dratInsert.r: Changed to support a commit message * examples/installGithub.r: Remove support -l which no longer works with the current version of devtools (but .libLoc() is respected) 2015-03-14 Dirk Eddelbuettel edd@debian.org * configure.ac: Mark as release 0.2.3 2015-03-09 Dirk Eddelbuettel edd@debian.org * littler.c (showVersionAndExit): If REPRODUCIBLE_BUILD is defined, do not display built time and date to ensure binary reproducibility * bootstrap: If REPRODUCIBLE_BUILD is defined, do not insert __TIME__ and __DATE__ compile time macros into generated header gitversion.h 2015-03-06 Dirk Eddelbuettel edd@debian.org * littler.c (showUsageAndExit): Add link to examples web page. 2015-03-05 Dirk Eddelbuettel edd@debian.org * r.1: Updated with recent command additions. 2015-02-27 Dirk Eddelbuettel edd@debian.org * examples/dratInsert.r: New script to insert package into drat 2015-02-26 Dirk Eddelbuettel edd@debian.org * examples/check.r: New option '--deb-pkgs PKGS' to install .deb packages prior to running the check (in one-command Docker use) 2015-02-19 Dirk Eddelbuettel edd@debian.org * littler.c: New command-line argument -L|--libpath to add a directory to the `.libPaths()` 2015-02-17 Carl Boettiger cboettig@gmail.com * examples/install2.r: Permit multiple -r|--repos arguments 2015-02-08 Dirk Eddelbuettel edd@debian.org * examples/install.r: Set the default value of repos to getOption(\"repos\") as we can now set values in the littler dotfile * examples/install2.r: Ditto * examples/update.r: Ditto 2015-02-03 Dirk Eddelbuettel edd@debian.org * littler.c (showVersionAndExit): Update copyright to 2015 here too 2015-01-29 Dirk Eddelbuettel edd@debian.org * configure.ac: Mark as release 0.2.2 2015-01-18 Dirk Eddelbuettel edd@debian.org * examples/check.r: Add --setwd dir option to change directories 2015-01-17 Dirk Eddelbuettel edd@debian.org * examples/check.r: Add a script which wrap R CMD check; with optional support for prior installation of dependencies * examples/shiny.r: Add simple wrapper for shiny::runApp() 2015-01-12 Dirk Eddelbuettel edd@debian.org * littler.c: Test for both /etc/littler.r and ~/.littler.r and source if found (but not if -v|--vanilla was given)","title":"2015"},{"location":"changelog/#2014","text":"2014-12-31 Dirk Eddelbuettel edd@debian.org * examples/install2.r: Smarter use of arguments: files with matching extension are installed directly; also clean up temp files 2014-12-28 Dirk Eddelbuettel edd@debian.org * examples/install.r: Smarter use of arguments: files with matching extension are installed directly; also expanded help text 2014-12-22 Dirk Eddelbuettel edd@debian.org * littler.R: Do not include R_LIBS_USER in list of variables 2014-12-21 Dirk Eddelbuettel edd@debian.org * examples/install.r: Reflect value of REPOS and LIBLOC in addition to the [unchanged] default values for either * examples/install2.r: If 'repos' is set to (string) NULL, set it to the actual NULL symbol (so that installation from file proceeds) 2014-10-19 Dirk Eddelbuettel edd@debian.org * configure.ac: Mark as release 0.2.1 * littler.c: Minor whitespace changes for 'r --version' * examples/*.r: Add proper copyright and license header for remaining files 2014-10-13 Dirk Eddelbuettel edd@debian.org * examples/install.r: Remove temporary rds files matching libloc or repos containing info about installed and available packages * examples/update.r: Add proper copyright and license header * examples/update.r: Ditto * examples/install2.r: Ditto 2014-10-11 Dirk Eddelbuettel edd@debian.org * examples/install2.r: Minor polishing 2014-10-10 Carl Boettiger cboettig@gmail.com * examples/install2.r: Expanded coverage of '--depends' argument 2014-10-08 Dirk Eddelbuettel edd@debian.org * INSTALL: Updated, made distinction between installing from a tarball and installing from git [via './bootstrap'] more clear * README: Brief update, still needs more thorough rewrite 2014-10-04 Dirk Eddelbuettel edd@debian.org * examples/testInstalled.r: Renamed from test.r, minor edits 2014-10-03 Carl Boettiger cboettig@gmail.com * examples/test.r: Contributed new test script 2014-09-29 Dirk Eddelbuettel edd@debian.org * examples/install2.r: Minor edits * examples/installGitHub.r: Ditto 2014-09-29 Carl Boettiger cboettig@gmail.com * examples/install2.r: Fix return code, and add new option --deps * examples/installGitHub.r: New example to install from GitHub 2014-09-01 Dirk Eddelbuettel edd@debian.org * configure.ac: Mark as release 0.2.0 2014-08-31 Dirk Eddelbuettel edd@debian.org * examples/fsizes.r: Use explicit 'file(\"stdin\")' with 'readLines()' 2014-08-26 Dirk Eddelbuettel edd@debian.org * examples/install2.r: Using docopt (>= 0.3) using stripped names 2014-08-25 Dirk Eddelbuettel edd@debian.org * examples/fileOps.r: Really simple example on vectorised file operations -- but more as an illustration 2014-08-22 Dirk Eddelbuettel edd@debian.org * littler.c (main): Minor correction for help text 2014-08-20 Dirk Eddelbuettel edd@debian.org * examples/runit.r: New example file 'runit.r' (using docopt) * examples/install2.r: Simplified by using docopt 2014-07-27 Dirk Eddelbuettel edd@debian.org * r.1: Update manual page about new -d option * littler.c: Store read.csv() result in 'X', not 'dat' 2014-07-26 Dirk Eddelbuettel edd@debian.org * littler.c: New command-line option '-d|--datastdin' which triggers execution of 'dat <- read.csv(file(\"stdin\", stringsAsFactors=FALSE)' 2014-07-23 Dirk Eddelbuettel edd@debian.org * examples/install2.r: Updated throughout * cleanup: Also remove .deps 2014-07-17 Dirk Eddelbuettel edd@debian.org * examples/highlightsweave.r: New example for a highlight sweave driver (as eg needed for Rcpp vignettes) helper script 2014-07-14 Dirk Eddelbuettel edd@debian.org * examples/roxy.r: Expanded similar to compAttr.r 2014-07-13 Dirk Eddelbuettel edd@debian.org * examples/compAttr.r: Added new example script to call compileAttributes() from the Rcpp package 2014-06-07 Dirk Eddelbuettel edd@debian.org * examples/roxy.r: Added new example script 2014-05-23 Dirk Eddelbuettel edd@debian.org * tools/compile: Added, based on current automake version 2014-05-08 Dirk Eddelbuettel edd@debian.org * examples/install.r: Updated to currently used version containing the faster RStudio CDN as the default CRAN mirror * examples/update.r: Ditto 2014-04-23 Dirk Eddelbuettel edd@debian.org * tools/missing: Updated to current version from libtool on Ubuntu * tools/install.sh: Idem * tools/config.guess: Updated to current version from autotools-dev * tools/config.sub: Idem * Makefile.am: Explicitly expand ldflags.txt to a Makefile variable * Makefile.am: Removed use of .PHONY again * .travis.yml: Added a very simple .travis.yml * .travis.yml: Ensure we end 'script' section on error code 0 * littler.c: Ensure --help and --version end with exit(0) * Makefile.am (CFLAGS): Add CFLAGS 2014-02-07 Dirk Eddelbuettel edd@debian.org * configure.ac: Mark as release 0.1.6 [though never released as 0.1.6] * configure.ac: Renamed from configure.in * bootstrap: Autogenerate header gitversion.h instead of svnversion.h * littler.c: Use gitversion.h, also whitespace / indentation update * Makefile.am: Use gitversiob.h * cleanup: Ditto","title":"2014"},{"location":"changelog/#2013","text":"2013-10-29 Dirk Eddelbuettel edd@debian.org * littler.c: Correction to display of '--version'","title":"2013"},{"location":"changelog/#2012","text":"2012-10-06 Dirk Eddelbuettel edd@debian.org * ldflags.R: Applied patch by Jonas Rauch to correctly compute -rpath linker flags on Linux, squashing a really old bug 2012-09-03 Dirk Eddelbuettel edd@debian.org * examples/update.r: Minor tweak","title":"2012"},{"location":"changelog/#2011","text":"2011-09-17 Dirk Eddelbuettel edd@debian.org * configure.in: Mark as release 0.1.5 * littler.c (littler_CleanUp): Remove call to Rf_KillAllDevices() 2011-09-15 Dirk Eddelbuettel edd@debian.org * configure.in: Mark as release 0.1.4 * Makefile.am: Applied patch by Mathias Klose to prevent FTBFS with 'ld --as-needed', cf LP bug 770980. * littler.c: A few small tweaks suggested by 'gcc -Wall' * examples/install2.r: Added a second R package installer example * examples/update.r: Switch to '/usr/bin/r -t' as shebang line * examples/fsizes.r: Dito * littler.c: Update copyrights to 2011 * README: Idem","title":"2011"},{"location":"changelog/#2010","text":"2010-01-05 Dirk Eddelbuettel edd@debian.org * configure.in: Mark as release 0.1.3 * littler.c: Update copyrights to 2010 * README: Idem * bootstrap: Added tests to not re-generate svnversion.h when information about revision number and date cannot be had retrieved * ldflags.R: Ensure no 'empty string' entries get expanded as this triggered a Debian lintian error related to rpath usage * tools/config.{guess,sub}: Updated 2010-01-04 Dirk Eddelbuettel edd@debian.org * littler.c: Set up littler so that 'interactive()' is false, and add new flag -i|--interactive to activate the previous behaviour * r.1: Document the new flag","title":"2010"},{"location":"changelog/#2009","text":"2009-12-12 Dirk Eddelbuettel edd@debian.org * littler.c: Expand the littler_CleanUp function to be closer to the example clean up function in section 8.1.2 'Setting R callbacks' in the R Extensions manual * tests/dotLast.r: simple test of .Last() which we now reach * examples/install.r: Do not call install.packages with dependencies=TRUE as this leads to too many auxilliary pkgs * examples/update.r: Small fix to clearCache() 2009-03-23 Dirk Eddelbuettel edd@debian.org * r.1: Added two missing \\ to protect \\n inside quotes 2009-01-13 Dirk Eddelbuettel edd@debian.org * configure.in: Mark as release 0.1.2 * littler.c,r.1: Added -q|--quick switch to skip autoload with thanks to Simon Urbanek for the suggestion. * littler.c: Updated copyright to 2009 2009-01-10 Dirk Eddelbuettel edd@debian.org * Makefile.am: Tweaked flow and logic a little, updated copyright","title":"2009"},{"location":"changelog/#2008","text":"2008-08-28 Jeffrey Horner jeffrey.horner@vanderbilt.edu * littler.c: added -t|--rtemp to use R's temp dir strategy with thanks to Paul Gilbert for the suggestion. 2008-08-27 Dirk Eddelbuettel edd@debian.org * Release 0.1.1 2008-08-18 Dirk Eddelbuettel edd@debian.org * tests/exitstatus.sh: Added test script for new exit status feature 2008-08-18 Jeffrey Horner jeffrey.horner@vanderbilt.edu * littler.c: now exits with status provided by call to q(). 2008-06-09 Dirk Eddelbuettel edd@debian.org * r.1: Applied patch by Seb which adds more examples. Thanks! 2008-04-30 Dirk Eddelbuettel edd@debian.org * README: added entry about getopt 2008-03-12 Dirk Eddelbuettel edd@debian.org * examples/update.r: simplified clearCache 2008-01-14 Dirk Eddelbuettel edd@debian.org * Release 0.1.0 * littler.c: Added new option -l|--packages to load R packages * littler.c: Small change to optional argument handling * littler.c: Also use --no-restore argument on startup * littler.c: Small additions to --help output * r.1: Documented new option -l | --packages * README: Updated as well * autoloads.R: No longer suppress autoload of package datasets * bootstrap: Two small fixes for non-bash sh use * examples/update.r: rewritten cache clearing part * tests/timing*.sh: added Rscript for comparison","title":"2008"},{"location":"changelog/#2007","text":"2007-04-13 Dirk Eddelbuettel edd@debian.org * Release 0.0.11 * Makefile.am: Removed use of one GNU extension to Make to facilitate builds on non-GNU systems * examples/update.r: Fix by Jeff for file caching issues 2007-02-20 Dirk Eddelbuettel edd@debian.org * Release 0.0.10 2007-02-19 Jeffrey Horner jeffrey.horner@vanderbilt.edu * README: Updated FAQ entry regarding Rscript with 'hello world!' example. * littler.c: Added R version checking to support R 2.4 and 2.5 * tests/*: Convened on ../r as path to r. 2007-02-18 Dirk Eddelbuettel edd@debian.org * configure.in: Tag it as release 0.0.10 * README: Added FAQ entry regarding Rscript * README, littler.c: Rolled copyright into 2007 2007-02-16 Jeffrey Horner jeffrey.horner@vanderbilt.edu * configure.in: added --with-java-libs and --with-tcltk-libs for conditionally linking littler against respective libraries. 2007-02-15 Jeffrey Horner jeffrey.horner@vanderbilt.edu * littler.R: added more R_* environment variables to output. * configure.in: added R CMD *_LIBS output to ld linker flags * INSTALL: Added minimal recipe to build GNU R with --enable-R-shlib 2007-02-08 Jeffrey Horner jeffrey.horner@vanderbilt.edu * littler.c: added function init_rand to set initial seed values for the R function tempfile. * configure.in: added checks for existence of gettimeofday and time to support init_rand. 2007-01-04 Dirk Eddelbuettel edd@debian.org * configure.in: Tag it as release 0.0.9 2007-01-04 Jeffrey Horner jeffrey.horner@vanderbilt.edu * littler.c: added call to R_ReplDLLinit to initialize console buffers","title":"2007"},{"location":"changelog/#2006","text":"2006-11-22 Jeffrey Horner jeffrey.horner@vanderbilt.edu * examples/updates.r: always regenerate package cache 2006-10-28 Dirk Eddelbuettel edd@debian.org * update.r: Switched repos to to cran.r-project.org 2006-10-25 Dirk Eddelbuettel edd@debian.org * configure.in: Tag it as release 0.0.8 * examples/install.r, examples/update.r: Two new examples * Makefile.am: Some small cleanups and fixes * INSTALL: Clarified need for R as shared library, reformatted 2006-10-09 Dirk Eddelbuettel edd@debian.org * Makefile, bootstrap: Added .PHONY targets, have bootstrap optionally create svnversion.h * FAQ: document clash of 'r' with the zsh builtin 2006-10-06 Jeffrey Horner jeffrey.horner@vanderbilt.edu * configure.in, littler.c, Makefile.am, littler.R: make littler set all R_* environment variables. * configure.in: unconditionally create littler.h, autoloads.h, and ldflags.txt during configure. 2006-10-05 Jeffrey Horner jeffrey.horner@vanderbilt.edu * Release 0.0.7 * Makefile.am: added ldflags.R to dist 2006-10-04 Dirk Eddelbuettel edd@debian.org * Release 0.0.6 2006-10-03 Dirk Eddelbuettel edd@debian.org * README, INSTALL: Some more polishing 2006-10-03 Jeffrey Horner jeffrey.horner@vanderbilt.edu * README: added FAQ answer to use the configure flags --program-prefix and/or --program-suffix for renaming r binary. 2006-10-02 Dirk Eddelbuettel edd@debian.org * configure.in: Added check for R version >= 2.3.1 2006-09-29 Dirk Eddelbuettel edd@debian.org * littler.c: support svnrevision/date in --version * bootstrap, svnversion.h: call svn and do some awk'ing borrowed from R's Makefiles to auto-create svnversion.h * configure.in, Makefile.am: updated accordingly 2006-09-29 Jeffrey Horner jeffrey.horner@vanderbilt.edu * README: Added 'Implementation' section. 2006-09-28 Jeffrey Horner jeffrey.horner@vanderbilt.edu * littler.c: parse_eval(), the REP loop for stdin and '-e', now use R_tryEval() instead of eval(). * configure.in, Makefile.am, ldflags.R: For linux, we add all paths set by RHOME/etc/ldpaths to r's RPATH. 2006-09-26 Dirk Eddelbuettel edd@debian.org * Release 0.0.5 made and announced by Jeff * rinterp.c, rinterp.1: renamed to littler.c, littler.1 * Makefile.am, configure.in: Many changes to accomodate that * autoloads.R: code generator to aid in autoload()ing functions from default packages. 2006-09-05 Jeffrey Horner jeffrey.horner@vanderbilt.edu * Release 0.0.4: * rinterp.c: Bug fix: forgot to reset membuf_t.buf after a call to resize_membuf() * rinterp.c: After R init, we delete R_SESSION_TMPDIR and point it to one of TMPDIR, TMP, TEMP, or \"/tmp\". We also turn off R's signal handlers. 2006-08-15 Jeffrey Horner jeffrey.horner@vanderbilt.edu * Release 0.0.3: * configure.in: Added Dirk's patch to configure.in to automatically find R in search path and to use --rpath linker option. * rinterp.c: Read commands from stdin when no file is given on cmdline. (feature request from Dirk Eddelbuettel <edd@debian.org>) 2006-08-09 Jeffrey Horner jeffrey.horner@vanderbilt.edu * Release 0.0.2: * rinterp.c: Added argv support. (feature request from Juha Vierine <jvierine@gmail.com>) 2006-07-14 Jeffrey Horner jeffrey.horner@vanderbilt.edu * Release 0.0.1: * Initial release of Rinterp: hashbang support for R","title":"2006"},{"location":"news/","text":"News for Package littler Version 0.3.20 (2024-03-23) Changes in examples scripts New (dependency-free) helper installDeps2.r to install dependencies Scripts rcc.r , tt.r , tttf.r , tttlr.r use env argument -S to set -t to r tt.r can now fill in inst/tinytest if it is present New script ciw.r wrapping new package ciw tttf.t can now use devtools and its loadall New script doi2bib.r to call the DOI converter REST service (following a skeet by Richard McElreath) Changes in package The CI setup use checkout@v4 and the r-ci-setup action The Suggests: is a little tighter as we do not list all packages optionally used in the the examples (as R does not check for it either) The package load messag can account for the rare build of R under different architecture (Berwin Turlach in #117 closing #116 ) In non-vanilla mode, the temporary directory initialization in re-run allowing for a non-standard temp dir via config settings Version 0.3.19 (2023-12-17) Changes in examples scripts The help or usage text display for r2u.r , ttt.r , check.r has been improved, expanded or corrected, respectively installDeps.r has a new argument for dependency selection An initial 'single test file' runner tttf.r has been added r2u.r has two new options for setting / varying the Debian build version of package that is built, and one for BioConductor builds, one for a 'dry run' build, and a new --compile option installRSPM.r , installPPM.r , installP3M.r have been updates to reflect the name changes installRub.r now understands 'package@universe' too tt.r flips the default of the --effects switch Version 0.3.18 (2023-03-25) Changes in examples scripts roxy.r can now set an additional --libpath getRStudioDesktop.r and getRStudioServer.r have updated default download file install2.r and installGithub.r can set --type r2u.r now has a --suffix option tt.r removes a redundant library call tttl.r has been added for testthat::test_local() installRub.r has been added to install r-universe binaries on Ubuntu install2.r has updated error capture messages (Tatsuya Shima and Dirk in #104 ) Version 0.3.17 (2022-10-29) Changes in package An internal function prototype was updated for clang-15 . Changes in examples Scripts install2.r and installBioc.r were updated for an update in R-devel (Tatsuya Shima and Dirk in #104 ). Version 0.3.16 (2022-08-28) Changes in package The configure code checks for two more headers The RNG seeding matches the current version in R (Dirk) Changes in examples A cowu.r 'check Window UCRT' helper was added (Dirk) A getPandoc.r downloader has been added (Dirk) The -r option tp install2.r has been generalzed (Tatsuya Shima in #95 ) The rcc.r code / package checker now has valgrind option (Dirk) install2.r now installs to first element in .libPaths() by default (Dirk) A very simple r2u.r help has been added (Dirk) The installBioc.r has been generalized and extended similar to install2.r (Pieter Moris in #103 ) Version 0.3.15 (2021-12-03) Changes in examples The install2 script can select download methods, and cope with errors from parallel download (thanks to Gergely Daroczi) The build.r now uses both as argument to --compact-vignettes The RStudio download helper were once again updated for changed URLs New caller for simplermarkdown::mdweave_to_html Changes in package Several typos were correct (thanks to John Kerl) Travis artifacts and badges have been pruned Vignettes now use simplermarkdown Version 0.3.14 (2021-10-05) Changes in examples Updated RStudio download helper to changed file names Added a new option to roxy.r wrapper Added a downloader for Quarto command-line tool Changes in package The configure files were updated to the standard of version 2.69 following a CRAN request Version 0.3.13 (2021-07-24) Changes in examples New script compiledDeps.r to show which dependencies are compiled New script silenceTwitterAccount.r wrapping rtweet The -c or --code option for installRSPM.r was corrected The kitten.r script now passes options \u2018bunny\u2019 and \u2018puppy\u2019 on to the pkgKitten::kitten() call; new options to call the Arma and Eigen variants were added The getRStudioDesktop.r and getRStudioServer.r scripts were updated for a change in rvest Two typos in the tt.r help message were correct (Aaron Wolen in #86 ) The message in cranIncoming.r was corrected. Changes in package Added Continuous Integration runner via run.sh from r-ci . Two vignettes got two extra vignette attributes. The mkdocs-material documentation input was moved. The basic unit tests were slightly refactored and updated. Version 0.3.12 (2020-10-04) Changes in examples Updates to scripts tt.r , cos.r , cow.r , c4r.r , com.r New script installDeps.r to install dependencies Several updates tp script check.r New script installBSPM.r and installRSPM.r for binary package installation (Dirk and I\u00f1aki in #81 ) New script cranIncoming.r to check in Incoming New script urlUpdate.r validate URLs as R does Changes in package Travis CI now uses BSPM A package documentation website was added Vignettes now use minidown resulting in much reduced filesizes: from over 800kb to under 50kb (Dirk in #83 ) Version 0.3.11 (2020-06-26) Changes in examples Scripts check.r and rcc.r updated to reflect updated docopt 0.7.0 behaviour of quoted arguments The roxy.r script has a new ease-of-use option -f | --full regrouping two other options. Version 0.3.10 (2020-06-02) Changes in examples The update.r script only considers writeable directories. The rcc.r script tries to report full logs by setting _R_CHECK_TESTS_NLINES_=0 . The tt.r script has an improved ncpu fallback. Several installation and updating scripts set _R_SHLIB_STRIP_ to TRUE . A new script installBioc.r was added. The --error option to install2.r was generalized (Sergio Oller in #78 ). The roxy.r script was extended a little. Changes in package Travis CI now uses R 4.0.0 and the bionic distro Version 0.3.9 (2019-10-27) Changes in examples The use of call. in stop() was corrected (Stefan Widgren in #72 ). New script cos.r to check (at rhub) on Solaris. New script compactpdf.r to compact pdf files. The build.r script now compacts vignettes and resaves data. The tt.r script now supports parallel tests and side effects. The rcc.r script can now report error codes. The '\u2013libloc' option to update.r was updated. The render.r script can optionally compact pdfs. New script sweave.r to render (and compact) pdfs. New script pkg2bibtex.r to show bibtex entries. The kitten.r script has a new option --puppy to add tinytest support in purring packages. Version 0.3.8 (2019-06-09) Changes in examples The install.r and install2.r scripts now use parallel installation using options{Ncpu} on remote packages. The install.r script has an expanded help text mentioning the environment variables it considers. A new script tt.r was added to support tinytest . The rhub checking scripts now all suppress builds of manual and vignettes as asking for working latex appears to be too much. Changes in package On startup checks if r is in PATH and if not references new FAQ entry; text from Makevars mentions it too. Changes in documentation The FAQ vignette now details setting r to PATH . Version 0.3.7 (2019-03-15) Changes in examples The scripts installGithub.r and install2.r get a new option -r | --repos (Gergely Daroczi in #67 ) Changes in build system The AC_DEFINE macro use rewritten to please R CMD check. Version 0.3.6 (2019-01-26) Changes in examples The scripts install.r and install2.r now support argument \".\" , and add it if called in a source directory. The script install2.r can set Ncpus for install.packages() (Colin Gillespie in #63 fixing #62 ) The script update.r can also set Ncpus for install.packages() . A new vignette \"litter-faq\" was added. Version 0.3.5 (2018-10-04) Changes in examples The script roxy.r now uses a cached copy of roxygen2 version 6.0.1 (if available) as the current version 6.1.0 changed behaviour. The script rcc.r was updated as the underlying rcmdcheck changed parameter order. A new simpler wrapper rchk.r was added to use RHub with the rchk image. Changes in package Travis CI now uses the R 3.5 PPA Version 0.3.4 (2018-08-24) Changes in examples The shebang line is now #!/usr/bin/env r to work with either /usr/local/bin/r or /usr/bin/r . New example script to only install packages not yet installed (Brandon Bertelsen in #59 ); later added into install2.r . Functions getRStudioDesktop.r and getRStudioServer.r updated their internal URLs. Several minor enhancements were made to example scripts. Version 0.3.3 (2017-12-17) Changes in examples The script installGithub.r now correctly uses the upgrade argument (Carl Boettiger in #49 ). New script pnrrs.r to call the package-native registration helper function added in R 3.4.0 The script install2.r now has more robust error handling (Carl Boettiger in #50 ). New script cow.r to use R Hub's check_on_windows Scripts cow.r and c4c.r use #!/usr/bin/env r New option --fast (or -f ) for scripts build.r and rcc.r for faster package build and check The build.r script now defaults to using the current directory if no argument is provided. The RStudio getters now use the rvest package to parse the webpage with available versions. Changes in package Travis CI now uses https to fetch script, and sets the group Version 0.3.2 (2017-02-14) Changes in examples New scripts getRStudioServer.r and getRStudioDesktop.r to download daily packages, currently defaults to Ubuntu amd64 New script c4c.r calling rhub::check_for_cran() New script rd2md.r to convert Rd to markdown. New script build.r to create a source tarball. The installGitHub.r script now use package remotes (PR #44 , #46 ) Version 0.3.1 (2016-08-06) Changes in examples install2.r now passes on extra options past -- to R CMD INSTALL (PR #37 by Steven Pav) Added rcc.r to run rcmdcheck::rcmdcheck() Added (still simple) render.r to render (R)markdown Several examples now support the -x or --usage flag to show extended help. Changes in build system The AM_LDFLAGS variable is now set and used too (PR #38 by Mattias Ellert) Three more directories, used when an explicit installation directory is set, are excluded (also #38 by Mattias) Travis CI is now driven via run.sh from our fork, and deploys all packages as .deb binaries using our PPA where needed Changes in package SystemRequirements now mentions the need for libR , i.e. an R built with a shared library so that we can embed R. The docopt and rcmdcheck packages are now suggested, and added to the Travis installation. A new helper function r() is now provided and exported so that the package can be imported (closes #40 ). URL and BugReports links were added to DESCRIPTION. Changes in documentation The help output for installGithub.r was corrected (PR #39 by Brandon Bertelsen) Version 0.3.0 (2015-10-29) Changes in build system First CRAN Release as R package following nine years of source releases Script configure , src/Makevars.in and remainder of build system rewritten to take advantage of the R package build infrastructure Reproducible builds are better supported as the (changing) compilation timestamps etc are only inserted for 'verbose builds' directly off the git repo, but not for Debian (or CRAN) builds off the release tarballs Changes in littler functionality Also source $R_HOME/etc/Rprofile.site and ~/.Rprofile if present Changes in littler documentation Added new vignette with examples","title":"News"},{"location":"man/littler/","text":"Command-line and scripting front-end for R Description The r binary provides a convenient and powerful front-end. By embedding R, it permits four distinct ways to leverage the power of R at the shell prompt: scripting, filename execution, piping and direct expression evaluation. Details The r front-end was written with four distinct usage modes in mind. First, it allow to write so-called \u2018shebang\u2019 scripts starting with #!/usr/bin/env r . These \u2018shebang\u2019 scripts are perfectly suited for automation and execution via e.g. via cron . Second, we can use r somefile.R to quickly execute the name R source file. This is useful as r is both easy to type\u2014and quicker to start that either R itself, or its scripting tool Rscript , while still loading the methods package. Third, r can be used in \u2018pipes\u2019 which are very common in Unix. A simple and trivial example is echo 'cat(2+2)' | r illustrating that the standard output of one program can be used as the standard input of another program. Fourth, r can be used as a calculator by supplying expressions after the -e or --eval options. Value Common with other shell tools and programs, r returns its exit code where a value of zero indicates success. Note On OS X one may have to link the binary to, say, lr instead. As OS X insists that files named R and r are the same, we cannot use the latter. Author(s) Jeff Horner and Dirk Eddelbuettel wrote littler from 2006 to today, with contributions from several others. Dirk Eddelbuettel edd@debian.org is the maintainer. Examples ## Not run: #!/usr/bin/env r ## for use in scripts other input | r ## for use in pipes r somefile.R ## for running files r -e 'expr' ## for evaluating expressions r --help ## to show a quick synopsis ## End(Not run)","title":"Littler"},{"location":"man/littler/#command-line-and-scripting-front-end-for-r","text":"","title":"Command-line and scripting front-end for R"},{"location":"man/littler/#description","text":"The r binary provides a convenient and powerful front-end. By embedding R, it permits four distinct ways to leverage the power of R at the shell prompt: scripting, filename execution, piping and direct expression evaluation.","title":"Description"},{"location":"man/littler/#details","text":"The r front-end was written with four distinct usage modes in mind. First, it allow to write so-called \u2018shebang\u2019 scripts starting with #!/usr/bin/env r . These \u2018shebang\u2019 scripts are perfectly suited for automation and execution via e.g. via cron . Second, we can use r somefile.R to quickly execute the name R source file. This is useful as r is both easy to type\u2014and quicker to start that either R itself, or its scripting tool Rscript , while still loading the methods package. Third, r can be used in \u2018pipes\u2019 which are very common in Unix. A simple and trivial example is echo 'cat(2+2)' | r illustrating that the standard output of one program can be used as the standard input of another program. Fourth, r can be used as a calculator by supplying expressions after the -e or --eval options.","title":"Details"},{"location":"man/littler/#value","text":"Common with other shell tools and programs, r returns its exit code where a value of zero indicates success.","title":"Value"},{"location":"man/littler/#note","text":"On OS X one may have to link the binary to, say, lr instead. As OS X insists that files named R and r are the same, we cannot use the latter.","title":"Note"},{"location":"man/littler/#authors","text":"Jeff Horner and Dirk Eddelbuettel wrote littler from 2006 to today, with contributions from several others. Dirk Eddelbuettel edd@debian.org is the maintainer.","title":"Author(s)"},{"location":"man/littler/#examples","text":"## Not run: #!/usr/bin/env r ## for use in scripts other input | r ## for use in pipes r somefile.R ## for running files r -e 'expr' ## for evaluating expressions r --help ## to show a quick synopsis ## End(Not run)","title":"Examples"},{"location":"man/r/","text":"Return Path to r Binary Description Return the path of the install r binary. Usage r(usecat = FALSE) Arguments Argument Description usecat Optional toggle to request output to stdout (useful in Makefiles) Details The test for Windows is of course superfluous as we have no binary for Windows. Maybe one day... Value The path is returned as character variable. If the usecat option is set the character variable is displayed via cat instead. Author(s) Dirk Eddelbuettel","title":"R"},{"location":"man/r/#return-path-to-r-binary","text":"","title":"Return Path to r Binary"},{"location":"man/r/#description","text":"Return the path of the install r binary.","title":"Description"},{"location":"man/r/#usage","text":"r(usecat = FALSE)","title":"Usage"},{"location":"man/r/#arguments","text":"Argument Description usecat Optional toggle to request output to stdout (useful in Makefiles)","title":"Arguments"},{"location":"man/r/#details","text":"The test for Windows is of course superfluous as we have no binary for Windows. Maybe one day...","title":"Details"},{"location":"man/r/#value","text":"The path is returned as character variable. If the usecat option is set the character variable is displayed via cat instead.","title":"Value"},{"location":"man/r/#authors","text":"Dirk Eddelbuettel","title":"Author(s)"},{"location":"vignettes/littler-examples/","text":"Littler Examples Dirk Eddelbuettel Written and updated 2015-10-28 to 2020-06-16 Overview We show and discuss a few of the files included in the inst/examples/ source directory of littler (which becomes the examples/ directory once installed). In a few cases we remove comment lines to keep things more concise on this page. We use $ to denote a shell ( i.e. terminal) prompt. Note that some systems (such as macOS) cannot install littler as r (as lower-case and upper-case are by default the same; not a great idea). And for example the zsh has r as a builtin so you would have to use /usr/bin/r . See the littler FAQ for more. Simple Direct Command-line Use littler can be used directly on the command-line just like, say, bc , easily consuming standard input from a pipe: $ echo 'cat(pi^2,\"\\n\")' | r 9 .869604 Equivalently, commands that are to be evaluated can be given on the command-line $ r -e 'cat(pi^2, \"\\n\")' 9 .869604 But unlike bc(1), GNU R has a vast number of statistical functions. For example, we can quickly compute a summary() and show a stem-and-leaf plot for file sizes in a given directory via $ ls -l /boot | awk 'BEGIN {print \"size\"} !/^total/ {print $5}' | \\ r -de \"print(summary(X[,1])); stem(X[,1])\" which produces something like Min. 1st Qu. Median Mean 3rd Qu. Max. 13 512 110100 486900 768400 4735000 The decimal point is 6 digit(s) to the right of the | 0 | 0000001122222279222 2 | 79444 4 | 71888 6 | 8 | 10 | 12 | 14 | 8 16 | 4 18 | 20 | 333 (Note that some systems may not have /boot in which case you can try /sbin or another directory.) As we saw in the preceding example, the program can also be shortened like using the new -d option which reads from stdin and assigns to a data.frame named X . And, last but not least, this (somewhat unwieldy) expression can be stored in a helper script (where we now switch to using an explicit readLines() on stdin ): #!/usr/bin/env r fsizes <- as.integer ( readLines ( file ( \"stdin\" ))) print ( summary ( fsizes )) stem ( fsizes ) (where calling #!/usr/bin/env is a trick from Python which allows one to forget whether r is installed in /usr/bin/r , /usr/local/bin/r , ~/bin/r , ...). install.r: Direct CRAN Installation This is one of my favourite littler scripts which I use frequently to install packages off CRAN . #!/usr/bin/env r if ( is.null ( argv ) | length ( argv ) < 1 ) { cat ( \"Usage: installr.r pkg1 [pkg2 pkg3 ...]\\n\" ) q () } ## adjust as necessary, see help('download.packages') repos <- \"https://cran.rstudio.com\" ## this makes sense on Debian where no packages touch /usr/local lib.loc <- \"/usr/local/lib/R/site-library\" install.packages ( argv , lib.loc , repos ) I invoke it all the time with one, two or more packages to install (or reinstall). $ install.r digest RcppCNPy It conveniently installs all dependencies, and uses the chosen target directory, all while keeping my R prompt (or prompts with multiple sessions) free to do other things. Also, if used with options(\"Ncpu\") set, then (remote CRAN) packages will be installed in parallel. install2.r: With Cmdline Parsing Thanks to the fabulous docopt package, we also have a variant install2.r with optional settings of repo and location. It was first installed with littler 0.2.1 . The current ( i.e. , 0.3.3 as of this writing) version is more featureful and longer and included to keep this brief. Some usage examples are $ install2.r -l /tmp/lib Rcpp BH # install into given library $ install2.r -- --with-keep.source drat # keep the source $ install2.r -- --data-compress = bzip2 stringdist # prefer bz2 compression Another very useful option is -n N or --ncpus N which will parallelize the installation across N processes. This can be set automagically by setting options(\"Ncpus\") . Installing From Sources Starting with version 0.2.2, install.r and install2.r now recognise installable source files. So one can also do this: $ install.r digest_0.6.8.tar.gz and the local source file will the installed via a call to R CMD INSTALL . check.r: Simple Checker A related use case is to check packages via check.r . This script runs R CMD check , but also installs package dependencies first as tests may have dependencies not yet satisfied on the test machine. It offers a number of options: $ check.r -h Usage: check.r [ -h ] [ -x ] [ --as-cran ] [ --repo REPO ] [ --install-deps ] [ --install-kitchen ] [ --deb-pkgs PKGS... ] [ --use-sudo ] [ --library LIB ] [ --setwd DIR ] [ TARGZ ... ] -a --as-cran customization similar to CRAN 's incoming [default: FALSE] -r --repo REPO repository to use, or NULL for file [default: https://cran.rstudio.com] -i --install-deps also install packages along with their dependencies [default: FALSE] -k --install-kitchen even install packages ' kitchen sink ' -style up to suggests [ default: FALSE ] -l --library LIB when installing use this library [ default: /usr/local/lib/R/site-library ] -s --setwd DIR change to this directoru before undertaking the test [ default: ] -d --deb-pkgs PKGS also install binary .deb packages with their dependencies [ default: FALSE ] -u --use-sudo use sudo when installing .deb packages [ default: TRUE ] -h --help show this help text -x --usage show help and short example usage $ rcc.r: R CMD check wrapper The script rcc.r will also check a source tarball, and offers another set of options: $ rcc.r -h Usage: rcc.r [ -h ] [ -x ] [ -c ] [ -f ] [ -q ] [ --args ARGS ] [ --libpath LIBP ] [ --repos REPO ] [ PATH... ] -c --as-cran should '--as-cran' be added to ARGS [ default: FALSE ] -a --args ARGS additional arguments to be passed to 'R CMD CHECK' [ default: ] -l --libpath LIBP additional library path to be used by 'R CMD CHECK' [ default: ] -r --repos REPO additional repositories to be used by 'R CMD CHECK' [ default: ] -f --fast should vignettes and manuals be skipped [ default: FALSE ] -q --quiet should 'rcmdcheck' be called qietly [ default: FALSE ] -h --help show this help text -x --usage show help and short example usage $ build.r: Building Packages A related script is build.r which I often use inside a source repository to quickly build a source tarball. Like rcc.r , it has a switch -f or --fast to omit building of vignettes. $ build.r # without argument works on current directory $ build.r digest/ # with directory argument builds tar.gz from repo in directory installGithub.r: GitHub install Installation directly from GitHub is also popular. Here is an example: $ installGithub.r RcppCore/RcppEigen Installing from github is supported via the following helper script: #!/usr/bin/env r # # A simple example to install one or more packages from GitHub # # Copyright (C) 2014 - 2015 Carl Boettiger and Dirk Eddelbuettel # # Released under GPL (>= 2) ## load docopt and remotes (or devtools) from CRAN suppressMessages ( library ( docopt )) # we need docopt (>= 0.3) as on CRAN suppressMessages ( library ( remotes )) # can use devtools as a fallback ## configuration for docopt doc <- \"Usage: installGithub.r [-h] [-d DEPS] REPOS... -d --deps DEPS Install suggested dependencies as well? [default: NA] -h --help show this help text where REPOS... is one or more GitHub repositories. Examples: installGithub.r RcppCore/RcppEigen installGithub.r is part of littler which brings 'r' to the command-line. See http://dirk.eddelbuettel.com/code/littler.html for more information. \" ## docopt parsing opt <- docopt ( doc ) if ( opt $ deps == \"TRUE\" || opt $ deps == \"FALSE\" ) { opt $ deps <- as.logical ( opt $ deps ) } else if ( opt $ deps == \"NA\" ) { opt $ deps <- NA } invisible ( sapply ( opt $ REPOS , function ( r ) install_github ( r , dependencies = opt $ deps ))) update.r: CRAN package update One of the scripts I use the most (interactively) is update.r which updates installed packages. An earlier version looked like the following example, the current version is a little longer and has more features: #!/usr/bin/env r # # a simple example to update packages in /usr/local/lib/R/site-library # parameters are easily adjustable ## adjust as necessary, see help('download.packages') repos <- \"https://cloud.r-project.org\" ## this makes sense on Debian where no package touch /usr/local lib.loc <- \"/usr/local/lib/R/site-library\" ## r use requires non-interactive use update.packages ( repos = repos , ask = FALSE , lib.loc = lib.loc ) As above, it has my preferred mirror and library location hard-wired. Another very useful option is -n N or --ncpus N which will parallelize the upgrade across N processes. This can be set automagically by setting options(Ncpus) . knit.r: Calling knitr Here is another convenience script, knit.r , which knits a given file after testing the file actually exists. #!/usr/bin/r # # Simple helper script for knitr # # Dirk Eddelbuettel, May 2013 # # GPL-2 or later if ( is.null ( argv )) { cat ( \"Need an argument FILE.Rnw\\n\" ) q ( status = -1 ) } file <- argv [ 1 ] if ( ! file.exists ( file )) { cat ( \"File not found: \" , file , \"\\n\" ) q ( status = -1 ) } require ( knitr ) knit2pdf ( file ) roxy.r: Running roxygen Similar to the previous example, the script roxy.r one uses roxygen to extract documentation from R files -- either in the current directory, or in the given directory or directories. #!/usr/bin/r # # Simple helper script for roxygen2::roxygenize() # # Dirk Eddelbuettel, August 2013 # # GPL-2 or later ## load roxygen library ( roxygen2 ) ## check all command-line arguments (if any are given) for directory status argv <- Filter ( function ( x ) file.info ( x ) $ is.dir , argv ) ## loop over all argument, with fallback of the current directory, and ## call compileAttributes() on the given directory sapply ( ifelse ( length ( argv ) > 0 , argv , \".\" ), FUN = roxygenize , roclets = \"rd\" ) compAttr.r: Compiling Attributes The next script, compAttr. , can be used with Rcpp , and particularly is powerful Attributes feature, in order to auto-generate helper code. It is similar to the preceding script, but invokes compileAttributes() instead. #!/usr/bin/r # # Simple helper script for compileAttributes() # # Dirk Eddelbuettel, July 2014 # # GPL-2 or later ## load Rcpp suppressMessages ( library ( Rcpp )) ## check all command-line arguments (if any are given) for directory status argv <- Filter ( function ( x ) file.info ( x ) $ is.dir , argv ) ## loop over all argument, with fallback of the current directory, and ## call compileAttributes() on the given directory sapply ( ifelse ( length ( argv ) > 0 , argv , \".\" ), compileAttributes ) render.r: Render Markdown The render.r script generalizes the earlier knit.r to convert Markdown into its designated output. #!/usr/bin/env r # # Another example to run a shiny app # # Copyright (C) 2016 Dirk Eddelbuettel # # Released under GPL (>= 2) suppressMessages ( library ( docopt )) # we need docopt (>= 0.3) as on CRAN ## configuration for docopt doc <- \"Usage: render.r [-h] [-x] [FILES...] -h --help show this help text -x --usage show help and short example usage\" opt <- docopt ( doc ) # docopt parsing if ( opt $ usage ) { cat ( doc , \"\\n\\n\" ) cat ( \"Examples: render.r foo.Rmd bar.Rmd # convert two given files render.r is part of littler which brings 'r' to the command-line. See http://dirk.eddelbuettel.com/code/littler.html for more information.\\n\" ) q ( \"no\" ) } library ( rmarkdown ) ## helper function renderArg <- function ( p ) { if ( ! file.exists ( p )) stop ( \"No file '\" , p , \"' found. Aborting.\" , call. = FALSE ) render ( p ) } ## render files using helper function sapply ( opt $ FILES , renderArg )","title":"Littler Examples"},{"location":"vignettes/littler-examples/#littler-examples","text":"Dirk Eddelbuettel Written and updated 2015-10-28 to 2020-06-16","title":"Littler Examples"},{"location":"vignettes/littler-examples/#overview","text":"We show and discuss a few of the files included in the inst/examples/ source directory of littler (which becomes the examples/ directory once installed). In a few cases we remove comment lines to keep things more concise on this page. We use $ to denote a shell ( i.e. terminal) prompt. Note that some systems (such as macOS) cannot install littler as r (as lower-case and upper-case are by default the same; not a great idea). And for example the zsh has r as a builtin so you would have to use /usr/bin/r . See the littler FAQ for more.","title":"Overview"},{"location":"vignettes/littler-examples/#simple-direct-command-line-use","text":"littler can be used directly on the command-line just like, say, bc , easily consuming standard input from a pipe: $ echo 'cat(pi^2,\"\\n\")' | r 9 .869604 Equivalently, commands that are to be evaluated can be given on the command-line $ r -e 'cat(pi^2, \"\\n\")' 9 .869604 But unlike bc(1), GNU R has a vast number of statistical functions. For example, we can quickly compute a summary() and show a stem-and-leaf plot for file sizes in a given directory via $ ls -l /boot | awk 'BEGIN {print \"size\"} !/^total/ {print $5}' | \\ r -de \"print(summary(X[,1])); stem(X[,1])\" which produces something like Min. 1st Qu. Median Mean 3rd Qu. Max. 13 512 110100 486900 768400 4735000 The decimal point is 6 digit(s) to the right of the | 0 | 0000001122222279222 2 | 79444 4 | 71888 6 | 8 | 10 | 12 | 14 | 8 16 | 4 18 | 20 | 333 (Note that some systems may not have /boot in which case you can try /sbin or another directory.) As we saw in the preceding example, the program can also be shortened like using the new -d option which reads from stdin and assigns to a data.frame named X . And, last but not least, this (somewhat unwieldy) expression can be stored in a helper script (where we now switch to using an explicit readLines() on stdin ): #!/usr/bin/env r fsizes <- as.integer ( readLines ( file ( \"stdin\" ))) print ( summary ( fsizes )) stem ( fsizes ) (where calling #!/usr/bin/env is a trick from Python which allows one to forget whether r is installed in /usr/bin/r , /usr/local/bin/r , ~/bin/r , ...).","title":"Simple Direct Command-line Use"},{"location":"vignettes/littler-examples/#installr-direct-cran-installation","text":"This is one of my favourite littler scripts which I use frequently to install packages off CRAN . #!/usr/bin/env r if ( is.null ( argv ) | length ( argv ) < 1 ) { cat ( \"Usage: installr.r pkg1 [pkg2 pkg3 ...]\\n\" ) q () } ## adjust as necessary, see help('download.packages') repos <- \"https://cran.rstudio.com\" ## this makes sense on Debian where no packages touch /usr/local lib.loc <- \"/usr/local/lib/R/site-library\" install.packages ( argv , lib.loc , repos ) I invoke it all the time with one, two or more packages to install (or reinstall). $ install.r digest RcppCNPy It conveniently installs all dependencies, and uses the chosen target directory, all while keeping my R prompt (or prompts with multiple sessions) free to do other things. Also, if used with options(\"Ncpu\") set, then (remote CRAN) packages will be installed in parallel.","title":"install.r: Direct CRAN Installation"},{"location":"vignettes/littler-examples/#install2r-with-cmdline-parsing","text":"Thanks to the fabulous docopt package, we also have a variant install2.r with optional settings of repo and location. It was first installed with littler 0.2.1 . The current ( i.e. , 0.3.3 as of this writing) version is more featureful and longer and included to keep this brief. Some usage examples are $ install2.r -l /tmp/lib Rcpp BH # install into given library $ install2.r -- --with-keep.source drat # keep the source $ install2.r -- --data-compress = bzip2 stringdist # prefer bz2 compression Another very useful option is -n N or --ncpus N which will parallelize the installation across N processes. This can be set automagically by setting options(\"Ncpus\") .","title":"install2.r: With Cmdline Parsing"},{"location":"vignettes/littler-examples/#installing-from-sources","text":"Starting with version 0.2.2, install.r and install2.r now recognise installable source files. So one can also do this: $ install.r digest_0.6.8.tar.gz and the local source file will the installed via a call to R CMD INSTALL .","title":"Installing From Sources"},{"location":"vignettes/littler-examples/#checkr-simple-checker","text":"A related use case is to check packages via check.r . This script runs R CMD check , but also installs package dependencies first as tests may have dependencies not yet satisfied on the test machine. It offers a number of options: $ check.r -h Usage: check.r [ -h ] [ -x ] [ --as-cran ] [ --repo REPO ] [ --install-deps ] [ --install-kitchen ] [ --deb-pkgs PKGS... ] [ --use-sudo ] [ --library LIB ] [ --setwd DIR ] [ TARGZ ... ] -a --as-cran customization similar to CRAN 's incoming [default: FALSE] -r --repo REPO repository to use, or NULL for file [default: https://cran.rstudio.com] -i --install-deps also install packages along with their dependencies [default: FALSE] -k --install-kitchen even install packages ' kitchen sink ' -style up to suggests [ default: FALSE ] -l --library LIB when installing use this library [ default: /usr/local/lib/R/site-library ] -s --setwd DIR change to this directoru before undertaking the test [ default: ] -d --deb-pkgs PKGS also install binary .deb packages with their dependencies [ default: FALSE ] -u --use-sudo use sudo when installing .deb packages [ default: TRUE ] -h --help show this help text -x --usage show help and short example usage $","title":"check.r: Simple Checker"},{"location":"vignettes/littler-examples/#rccr-r-cmd-check-wrapper","text":"The script rcc.r will also check a source tarball, and offers another set of options: $ rcc.r -h Usage: rcc.r [ -h ] [ -x ] [ -c ] [ -f ] [ -q ] [ --args ARGS ] [ --libpath LIBP ] [ --repos REPO ] [ PATH... ] -c --as-cran should '--as-cran' be added to ARGS [ default: FALSE ] -a --args ARGS additional arguments to be passed to 'R CMD CHECK' [ default: ] -l --libpath LIBP additional library path to be used by 'R CMD CHECK' [ default: ] -r --repos REPO additional repositories to be used by 'R CMD CHECK' [ default: ] -f --fast should vignettes and manuals be skipped [ default: FALSE ] -q --quiet should 'rcmdcheck' be called qietly [ default: FALSE ] -h --help show this help text -x --usage show help and short example usage $","title":"rcc.r: R CMD check wrapper"},{"location":"vignettes/littler-examples/#buildr-building-packages","text":"A related script is build.r which I often use inside a source repository to quickly build a source tarball. Like rcc.r , it has a switch -f or --fast to omit building of vignettes. $ build.r # without argument works on current directory $ build.r digest/ # with directory argument builds tar.gz from repo in directory","title":"build.r: Building Packages"},{"location":"vignettes/littler-examples/#installgithubr-github-install","text":"Installation directly from GitHub is also popular. Here is an example: $ installGithub.r RcppCore/RcppEigen Installing from github is supported via the following helper script: #!/usr/bin/env r # # A simple example to install one or more packages from GitHub # # Copyright (C) 2014 - 2015 Carl Boettiger and Dirk Eddelbuettel # # Released under GPL (>= 2) ## load docopt and remotes (or devtools) from CRAN suppressMessages ( library ( docopt )) # we need docopt (>= 0.3) as on CRAN suppressMessages ( library ( remotes )) # can use devtools as a fallback ## configuration for docopt doc <- \"Usage: installGithub.r [-h] [-d DEPS] REPOS... -d --deps DEPS Install suggested dependencies as well? [default: NA] -h --help show this help text where REPOS... is one or more GitHub repositories. Examples: installGithub.r RcppCore/RcppEigen installGithub.r is part of littler which brings 'r' to the command-line. See http://dirk.eddelbuettel.com/code/littler.html for more information. \" ## docopt parsing opt <- docopt ( doc ) if ( opt $ deps == \"TRUE\" || opt $ deps == \"FALSE\" ) { opt $ deps <- as.logical ( opt $ deps ) } else if ( opt $ deps == \"NA\" ) { opt $ deps <- NA } invisible ( sapply ( opt $ REPOS , function ( r ) install_github ( r , dependencies = opt $ deps )))","title":"installGithub.r: GitHub install"},{"location":"vignettes/littler-examples/#updater-cran-package-update","text":"One of the scripts I use the most (interactively) is update.r which updates installed packages. An earlier version looked like the following example, the current version is a little longer and has more features: #!/usr/bin/env r # # a simple example to update packages in /usr/local/lib/R/site-library # parameters are easily adjustable ## adjust as necessary, see help('download.packages') repos <- \"https://cloud.r-project.org\" ## this makes sense on Debian where no package touch /usr/local lib.loc <- \"/usr/local/lib/R/site-library\" ## r use requires non-interactive use update.packages ( repos = repos , ask = FALSE , lib.loc = lib.loc ) As above, it has my preferred mirror and library location hard-wired. Another very useful option is -n N or --ncpus N which will parallelize the upgrade across N processes. This can be set automagically by setting options(Ncpus) .","title":"update.r: CRAN package update"},{"location":"vignettes/littler-examples/#knitr-calling-knitr","text":"Here is another convenience script, knit.r , which knits a given file after testing the file actually exists. #!/usr/bin/r # # Simple helper script for knitr # # Dirk Eddelbuettel, May 2013 # # GPL-2 or later if ( is.null ( argv )) { cat ( \"Need an argument FILE.Rnw\\n\" ) q ( status = -1 ) } file <- argv [ 1 ] if ( ! file.exists ( file )) { cat ( \"File not found: \" , file , \"\\n\" ) q ( status = -1 ) } require ( knitr ) knit2pdf ( file )","title":"knit.r: Calling knitr"},{"location":"vignettes/littler-examples/#roxyr-running-roxygen","text":"Similar to the previous example, the script roxy.r one uses roxygen to extract documentation from R files -- either in the current directory, or in the given directory or directories. #!/usr/bin/r # # Simple helper script for roxygen2::roxygenize() # # Dirk Eddelbuettel, August 2013 # # GPL-2 or later ## load roxygen library ( roxygen2 ) ## check all command-line arguments (if any are given) for directory status argv <- Filter ( function ( x ) file.info ( x ) $ is.dir , argv ) ## loop over all argument, with fallback of the current directory, and ## call compileAttributes() on the given directory sapply ( ifelse ( length ( argv ) > 0 , argv , \".\" ), FUN = roxygenize , roclets = \"rd\" )","title":"roxy.r: Running roxygen"},{"location":"vignettes/littler-examples/#compattrr-compiling-attributes","text":"The next script, compAttr. , can be used with Rcpp , and particularly is powerful Attributes feature, in order to auto-generate helper code. It is similar to the preceding script, but invokes compileAttributes() instead. #!/usr/bin/r # # Simple helper script for compileAttributes() # # Dirk Eddelbuettel, July 2014 # # GPL-2 or later ## load Rcpp suppressMessages ( library ( Rcpp )) ## check all command-line arguments (if any are given) for directory status argv <- Filter ( function ( x ) file.info ( x ) $ is.dir , argv ) ## loop over all argument, with fallback of the current directory, and ## call compileAttributes() on the given directory sapply ( ifelse ( length ( argv ) > 0 , argv , \".\" ), compileAttributes )","title":"compAttr.r: Compiling Attributes"},{"location":"vignettes/littler-examples/#renderr-render-markdown","text":"The render.r script generalizes the earlier knit.r to convert Markdown into its designated output. #!/usr/bin/env r # # Another example to run a shiny app # # Copyright (C) 2016 Dirk Eddelbuettel # # Released under GPL (>= 2) suppressMessages ( library ( docopt )) # we need docopt (>= 0.3) as on CRAN ## configuration for docopt doc <- \"Usage: render.r [-h] [-x] [FILES...] -h --help show this help text -x --usage show help and short example usage\" opt <- docopt ( doc ) # docopt parsing if ( opt $ usage ) { cat ( doc , \"\\n\\n\" ) cat ( \"Examples: render.r foo.Rmd bar.Rmd # convert two given files render.r is part of littler which brings 'r' to the command-line. See http://dirk.eddelbuettel.com/code/littler.html for more information.\\n\" ) q ( \"no\" ) } library ( rmarkdown ) ## helper function renderArg <- function ( p ) { if ( ! file.exists ( p )) stop ( \"No file '\" , p , \"' found. Aborting.\" , call. = FALSE ) render ( p ) } ## render files using helper function sapply ( opt $ FILES , renderArg )","title":"render.r: Render Markdown"},{"location":"vignettes/littler-faq/","text":"Littler FAQ Dirk Eddelbuettel Originally written 2019-03-23, updated 2020-06-16 Well, why? Glad you asked. When the initial work started, Rscript did not exist so there was no scripting tool. We take a small amount of pride into beating Rscript narrowly to a first release. Of course, by now, Rscript is more widely used as it ships with every R installation but we still have some aspects we like about r : it is simpler and shorter, deals (in our biased) view more sanely with command-line arguments via the argv vector, always loaded package methods (which Rscript finally came around to a good decade later) and still starts faster . And r is just to cool a command (in relation to the trusted R ) so someone had to! No Printing In the very beginning of littler , we made an executive decision to not echo each command output when we evaluate commands in the read-evaluate-print loop. So 2+2 will be evaluated silently: four will be computed, but not shown. That made sense for scripts we wanted to be silent. The idea is that user will add a print() or cat() as needed. If you desire each step to printed, add a -p or --verbose argument. No .Renviron Another early decision was to make r start faster than the alternatives. Our r is \"just\" a small little binary. Whereas R and Rscript are front-end shell scripts sourcing a number of things and setting them dynamically, we determine values at compilation time and freeze them into the binary. That may seem risqu\u00e9 but worked out just fine. However, while we later added the ability to source Rprofile files (which contain R code we can evaluate) there is no way for us to source the Renviron files and to modify the already running process . So if you want to source Renviron you could add an explicit readEnviron() to ~/.littler.r or /etc/littler/r . Lower-case / upper-case This is mostly an issue on macOS where the brain surgeons behind the OS decided that r is the same as R . What can we say? On that OS you may need to rename the build to lr instead. Please send your complaints to Cupertino, California. Adding the binary to your path When the package is installed from source, it displays * * new binary $(TGT) installed in bin/ subdirectory\" * consider adding a symbolic link from, e.g., /usr/local/bin\" * on OS X, you may have to name this 'lr' instead\" * see the littler-faq vignette for more details\" * where the variable $(TGT) normally expands to r . As the text suggests you may want to create a symbolic link from a directory in the to make the newly built binary available to users. On Linux you may do cd /usr/local/bin sudo ln -s /usr/local/lib/R/site-library/littler/bin/r . to create a link for r in /usr/local/bin . On macOS, as suggested, you may want cd /usr/local/bin sudo ln -s /usr/local/lib/R/site-library/littler/bin/r lr to create a command lr instead; see the previous question as to why. In either case adjust the source part of the ln command to where your binary is -- which R can tell you via system.file(\"bin\", \"r\", package=\"littler\") . Also note that e.g. the zsh has a builtin command r which may conflict, so using the explicit path of, say, /usr/bin/r or /usr/local/bin/r or ... may provide an alternative.","title":"Littler FAQ"},{"location":"vignettes/littler-faq/#littler-faq","text":"Dirk Eddelbuettel Originally written 2019-03-23, updated 2020-06-16","title":"Littler FAQ"},{"location":"vignettes/littler-faq/#well-why","text":"Glad you asked. When the initial work started, Rscript did not exist so there was no scripting tool. We take a small amount of pride into beating Rscript narrowly to a first release. Of course, by now, Rscript is more widely used as it ships with every R installation but we still have some aspects we like about r : it is simpler and shorter, deals (in our biased) view more sanely with command-line arguments via the argv vector, always loaded package methods (which Rscript finally came around to a good decade later) and still starts faster . And r is just to cool a command (in relation to the trusted R ) so someone had to!","title":"Well, why?"},{"location":"vignettes/littler-faq/#no-printing","text":"In the very beginning of littler , we made an executive decision to not echo each command output when we evaluate commands in the read-evaluate-print loop. So 2+2 will be evaluated silently: four will be computed, but not shown. That made sense for scripts we wanted to be silent. The idea is that user will add a print() or cat() as needed. If you desire each step to printed, add a -p or --verbose argument.","title":"No Printing"},{"location":"vignettes/littler-faq/#no-renviron","text":"Another early decision was to make r start faster than the alternatives. Our r is \"just\" a small little binary. Whereas R and Rscript are front-end shell scripts sourcing a number of things and setting them dynamically, we determine values at compilation time and freeze them into the binary. That may seem risqu\u00e9 but worked out just fine. However, while we later added the ability to source Rprofile files (which contain R code we can evaluate) there is no way for us to source the Renviron files and to modify the already running process . So if you want to source Renviron you could add an explicit readEnviron() to ~/.littler.r or /etc/littler/r .","title":"No .Renviron"},{"location":"vignettes/littler-faq/#lower-case-upper-case","text":"This is mostly an issue on macOS where the brain surgeons behind the OS decided that r is the same as R . What can we say? On that OS you may need to rename the build to lr instead. Please send your complaints to Cupertino, California.","title":"Lower-case / upper-case"},{"location":"vignettes/littler-faq/#adding-the-binary-to-your-path","text":"When the package is installed from source, it displays * * new binary $(TGT) installed in bin/ subdirectory\" * consider adding a symbolic link from, e.g., /usr/local/bin\" * on OS X, you may have to name this 'lr' instead\" * see the littler-faq vignette for more details\" * where the variable $(TGT) normally expands to r . As the text suggests you may want to create a symbolic link from a directory in the to make the newly built binary available to users. On Linux you may do cd /usr/local/bin sudo ln -s /usr/local/lib/R/site-library/littler/bin/r . to create a link for r in /usr/local/bin . On macOS, as suggested, you may want cd /usr/local/bin sudo ln -s /usr/local/lib/R/site-library/littler/bin/r lr to create a command lr instead; see the previous question as to why. In either case adjust the source part of the ln command to where your binary is -- which R can tell you via system.file(\"bin\", \"r\", package=\"littler\") . Also note that e.g. the zsh has a builtin command r which may conflict, so using the explicit path of, say, /usr/bin/r or /usr/local/bin/r or ... may provide an alternative.","title":"Adding the binary to your path"}]}