Binary files /tmp/tmpkX5mtG/1eR1Nz_4Tz/littler-0.3.10/build/vignette.rds and /tmp/tmpkX5mtG/otuBVooHKA/littler-0.3.11/build/vignette.rds differ diff -Nru littler-0.3.10/ChangeLog littler-0.3.11/ChangeLog --- littler-0.3.10/ChangeLog 2020-06-02 17:34:06.000000000 +0000 +++ littler-0.3.11/ChangeLog 2020-06-26 14:05:29.000000000 +0000 @@ -1,3 +1,31 @@ +2020-06-26 Dirk Eddelbuettel + + * DESCRIPTION (Date, Version): Release 0.3.11 + + * configure: Idem + +2020-06-25 Dirk Eddelbuettel + + * 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 + + * DESCRIPTION (Version, Date): Roll minor version + +2020-06-16 Dirk Eddelbuettel + + * vignettes/littler-faq.Rmd (vignette): Mention zsh builtin again + * vignettes/littler-examples.Rmd (vignette): Add short note too + +2020-06-03 Dirk Eddelbuettel + + * src/littler.c: Update copyright year to 2020 in two places + 2020-06-02 Dirk Eddelbuettel * DESCRIPTION (Date, Version): Release 0.3.10 diff -Nru littler-0.3.10/configure littler-0.3.11/configure --- littler-0.3.10/configure 2020-06-02 17:40:15.000000000 +0000 +++ littler-0.3.11/configure 2020-06-26 14:34:44.000000000 +0000 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for littler 0.3.10. +# Generated by GNU Autoconf 2.69 for littler 0.3.11. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -577,8 +577,8 @@ # Identity of this package. PACKAGE_NAME='littler' PACKAGE_TARNAME='littler' -PACKAGE_VERSION='0.3.10' -PACKAGE_STRING='littler 0.3.10' +PACKAGE_VERSION='0.3.11' +PACKAGE_STRING='littler 0.3.11' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1242,7 +1242,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures littler 0.3.10 to adapt to many kinds of systems. +\`configure' configures littler 0.3.11 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1304,7 +1304,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of littler 0.3.10:";; + short | recursive ) echo "Configuration of littler 0.3.11:";; esac cat <<\_ACEOF @@ -1389,7 +1389,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -littler configure 0.3.10 +littler configure 0.3.11 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1754,7 +1754,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by littler $as_me 0.3.10, which was +It was created by littler $as_me 0.3.11, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -4052,7 +4052,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by littler $as_me 0.3.10, which was +This file was extended by littler $as_me 0.3.11, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4114,7 +4114,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -littler config.status 0.3.10 +littler config.status 0.3.11 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -Nru littler-0.3.10/debian/changelog littler-0.3.11/debian/changelog --- littler-0.3.10/debian/changelog 2020-06-03 11:46:38.000000000 +0000 +++ littler-0.3.11/debian/changelog 2020-06-28 20:40:21.000000000 +0000 @@ -1,3 +1,11 @@ +littler (0.3.11-1) unstable; urgency=medium + + * New upstream release + + * debian/control: Set Build-Depends: to current R version + + -- Dirk Eddelbuettel Sun, 28 Jun 2020 15:40:21 -0500 + littler (0.3.10-1) unstable; urgency=medium * New upstream release diff -Nru littler-0.3.10/debian/control littler-0.3.11/debian/control --- littler-0.3.10/debian/control 2020-06-03 11:46:38.000000000 +0000 +++ littler-0.3.11/debian/control 2020-06-28 20:40:10.000000000 +0000 @@ -2,7 +2,7 @@ Section: gnu-r Priority: optional Maintainer: Dirk Eddelbuettel -Build-Depends: debhelper (>= 7), cdbs, r-base-dev (>= 4.0.0) +Build-Depends: debhelper (>= 7), cdbs, r-base-dev (>= 4.0.2) Standards-Version: 4.5.0 Vcs-Browser: https://salsa.debian.org/edd/r-cran-littler Vcs-Git: https://salsa.debian.org/edd/r-cran-littler.git diff -Nru littler-0.3.10/debian/source.lintian-overrides littler-0.3.11/debian/source.lintian-overrides --- littler-0.3.10/debian/source.lintian-overrides 2020-06-03 11:46:38.000000000 +0000 +++ littler-0.3.11/debian/source.lintian-overrides 2020-06-28 20:40:21.000000000 +0000 @@ -1,17 +1,10 @@ littler source: debian-rules-uses-deprecated-makefile line 23 /usr/share/cdbs/1/rules/simple-patchsys.mk -littler source: source-is-missing inst/doc/littler-examples.html line length is 15258 characters (>512) -littler source: source-is-missing inst/doc/littler-examples.html line length is 31642 characters (>512) -littler source: source-is-missing inst/doc/littler-examples.html line length is 32038 characters (>512) -littler source: source-is-missing inst/doc/littler-examples.html line length is 2545 characters (>512) -littler source: source-is-missing inst/doc/littler-examples.html line length is 2545 characters (>512) -littler source: source-is-missing inst/doc/littler-faq.html line length is 15221 characters (>512) -littler source: source-is-missing inst/doc/littler-faq.html line length is 31605 characters (>512) -littler source: source-is-missing inst/doc/littler-faq.html line length is 32038 characters (>512) -littler source: source-is-missing inst/doc/littler-faq.html line length is 2545 characters (>512) -littler source: source-is-missing inst/doc/littler-faq.html line length is 2545 characters (>512) littler source: source-is-missing inst/doc/littler-examples.html line length is 14840 characters (>512) littler source: source-is-missing inst/doc/littler-examples.html line length is 31224 characters (>512) littler source: source-is-missing inst/doc/littler-examples.html line length is 31906 characters (>512) -littler source: source-is-missing inst/doc/littler-faq.html line length is 14803 characters (>512) -littler source: source-is-missing inst/doc/littler-faq.html line length is 31187 characters (>512) -littler source: source-is-missing inst/doc/littler-faq.html line length is 31869 characters (>512) +littler source: source-is-missing inst/doc/littler-examples.html line length is 2545 characters (>512) +littler source: source-is-missing inst/doc/littler-examples.html line length is 2545 characters (>512) +littler source: source-is-missing inst/doc/littler-faq.html line length is 2545 characters (>512) +littler source: source-is-missing inst/doc/littler-faq.html line length is 14845 characters (>512) +littler source: source-is-missing inst/doc/littler-faq.html line length is 31229 characters (>512) +littler source: source-is-missing inst/doc/littler-faq.html line length is 31911 characters (>512) diff -Nru littler-0.3.10/DESCRIPTION littler-0.3.11/DESCRIPTION --- littler-0.3.10/DESCRIPTION 2020-06-03 05:20:02.000000000 +0000 +++ littler-0.3.11/DESCRIPTION 2020-06-26 15:10:08.000000000 +0000 @@ -1,8 +1,8 @@ Package: littler Type: Package Title: R at the Command-Line via 'r' -Version: 0.3.10 -Date: 2020-06-02 +Version: 0.3.11 +Date: 2020-06-26 Author: Dirk Eddelbuettel and Jeff Horner Maintainer: Dirk Eddelbuettel Description: A scripting and command-line front-end @@ -18,10 +18,10 @@ License: GPL (>= 2) OS_type: unix SystemRequirements: libR -Suggests: knitr, docopt, rcmdcheck +Suggests: knitr, rmarkdown, docopt, rcmdcheck VignetteBuilder: knitr RoxygenNote: 5.0.1 NeedsCompilation: yes -Packaged: 2020-06-02 17:40:15.231868 UTC; edd +Packaged: 2020-06-26 14:34:44.793402 UTC; edd Repository: CRAN -Date/Publication: 2020-06-03 05:20:02 UTC +Date/Publication: 2020-06-26 15:10:08 UTC diff -Nru littler-0.3.10/inst/doc/littler-examples.html littler-0.3.11/inst/doc/littler-examples.html --- littler-0.3.10/inst/doc/littler-examples.html 2020-06-02 17:40:14.000000000 +0000 +++ littler-0.3.11/inst/doc/littler-examples.html 2020-06-26 14:34:44.000000000 +0000 @@ -1524,7 +1524,7 @@

Littler Examples

Dirk Eddelbuettel

-

Originally written 2015-10-28; Updated 2017-12-10, 2018-05-24, 2019-01-06 and 2019-06-09

+

Originally written 2015-10-28; Updated 2017-12-10, 2018-05-24, 2019-01-06, 2019-06-09 and 2020-06-16

@@ -1532,6 +1532,7 @@

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

@@ -1561,6 +1562,7 @@ 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
diff -Nru littler-0.3.10/inst/doc/littler-examples.Rmd littler-0.3.11/inst/doc/littler-examples.Rmd
--- littler-0.3.10/inst/doc/littler-examples.Rmd	2019-06-21 10:29:51.000000000 +0000
+++ littler-0.3.11/inst/doc/littler-examples.Rmd	2020-06-17 02:15:52.000000000 +0000
@@ -1,7 +1,7 @@
 ---
 title: "Littler Examples"
 author: "Dirk Eddelbuettel"
-date: "Originally written 2015-10-28; Updated 2017-12-10, 2018-05-24, 2019-01-06 and 2019-06-09"
+date: "Originally written 2015-10-28; Updated 2017-12-10, 2018-05-24, 2019-01-06, 2019-06-09 and 2020-06-16"
 output: 
   html_document:
     toc: true
@@ -20,6 +20,10 @@
 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](littler-faq.html) for more.
+
 ## Simple Direct Command-line Use
 
 [littler](http://dirk.eddelbuettel.com/code/littler.html) can be used
@@ -69,6 +73,9 @@
   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`. 
 
diff -Nru littler-0.3.10/inst/doc/littler-faq.html littler-0.3.11/inst/doc/littler-faq.html
--- littler-0.3.10/inst/doc/littler-faq.html	2020-06-02 17:40:15.000000000 +0000
+++ littler-0.3.11/inst/doc/littler-faq.html	2020-06-26 14:34:44.000000000 +0000
@@ -11,7 +11,6 @@
 
 
 
-
 
 Littler FAQ
 
@@ -1525,7 +1524,7 @@
 
 

Littler FAQ

Dirk Eddelbuettel

-

2019-03-23

+

2019-03-23, updated 2020-06-16

@@ -1563,6 +1562,7 @@
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.

diff -Nru littler-0.3.10/inst/doc/littler-faq.Rmd littler-0.3.11/inst/doc/littler-faq.Rmd --- littler-0.3.10/inst/doc/littler-faq.Rmd 2020-03-09 03:29:42.000000000 +0000 +++ littler-0.3.11/inst/doc/littler-faq.Rmd 2020-06-17 02:18:07.000000000 +0000 @@ -1,7 +1,7 @@ --- title: "Littler FAQ" author: "Dirk Eddelbuettel" -date: "2019-03-23" +date: "2019-03-23, updated 2020-06-16" output: html_document: toc: true @@ -91,3 +91,7 @@ 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](http://zsh.sourceforge.net/) 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. diff -Nru littler-0.3.10/inst/examples/check.r littler-0.3.11/inst/examples/check.r --- littler-0.3.10/inst/examples/check.r 2018-08-23 20:24:30.000000000 +0000 +++ littler-0.3.11/inst/examples/check.r 2020-06-24 21:49:14.000000000 +0000 @@ -2,7 +2,7 @@ # # Another example to check one or more packages, with option parsing # -# Copyright (C) 2015 - 2017 Dirk Eddelbuettel +# Copyright (C) 2015 - 2020 Dirk Eddelbuettel # # Released under GPL (>= 2) @@ -17,7 +17,7 @@ -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: ] +-s --setwd DIR change to this directory 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 @@ -38,7 +38,7 @@ } args <- character() -if (opt$`as-cran`) args <- c(args, "--as-cran") +if (opt$as_cran) args <- c(args, "--as-cran") if (!is.null(opt$libdir)) .libPaths(opt$libdir) @@ -67,7 +67,7 @@ install.packages(pkgs=p, lib=lib, repos=rep, - dependencies=if(opt$`install-kitchen`) + dependencies=if(opt$install_kitchen) c("Depends", "Imports", "LinkingTo", "Suggests") else TRUE @@ -75,14 +75,14 @@ } ## if binary .deb files are to be installed first: -if (length(opt$`deb-pkgs`) > 1 || opt$`deb-pkgs` != FALSE) { - cmd <- paste0(if (opt$`use-sudo`) "sudo " else "", - "apt-get install -y ", paste(opt$`deb-pkgs`, collapse=" ")) +if (length(opt$deb_pkgs) > 1 || opt$deb_pkgs != FALSE) { + cmd <- paste0(if (opt$use_sudo) "sudo " else "", + "apt-get install -y ", paste(opt$deb_pkgs, collapse=" ")) system(cmd) } ## if dependencies (or even suggests) are to be installed first: -if (opt$`install-deps` || opt$`install-kitchen`) sapply(opt$TARGZ, installArg, opt$lib, opt$repo) +if (opt$install_deps || opt$install_kitchen) sapply(opt$TARGZ, installArg, opt$lib, opt$repo) ## change directory if a target directory was given if (!is.null(opt$setwd)) setwd(opt$setwd) diff -Nru littler-0.3.10/inst/examples/installGithub.r littler-0.3.11/inst/examples/installGithub.r --- littler-0.3.10/inst/examples/installGithub.r 2019-12-24 00:45:53.000000000 +0000 +++ littler-0.3.11/inst/examples/installGithub.r 2020-06-24 21:49:31.000000000 +0000 @@ -2,7 +2,7 @@ # # A simple example to install one or more packages from GitHub # -# Copyright (C) 2014 - 2017 Carl Boettiger and Dirk Eddelbuettel +# Copyright (C) 2014 - 2020 Carl Boettiger and Dirk Eddelbuettel # # Released under GPL (>= 2) @@ -37,10 +37,8 @@ Install multiple R packages from GitHub listing the packages on separate lines with some comments: - installGithub.r \ - `## dependencies` \ - RcppCore/Rcpp \ - `## this is what we actually need` \ + installGithub.r \\ + RcppCore/Rcpp \\ RcppCore/RcppEigen Installing a specific branch, tag or commit: diff -Nru littler-0.3.10/inst/examples/ncroxy.r littler-0.3.11/inst/examples/ncroxy.r --- littler-0.3.10/inst/examples/ncroxy.r 2020-03-23 17:06:35.000000000 +0000 +++ littler-0.3.11/inst/examples/ncroxy.r 1970-01-01 00:00:00.000000000 +0000 @@ -1,17 +0,0 @@ -#!/usr/bin/env 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 roxygenize() on the given directory with roclets="rd" set -sapply(ifelse(length(argv) > 0, argv, "."), FUN=roxygenize)#, roclets="rd") diff -Nru littler-0.3.10/inst/examples/rcc.r littler-0.3.11/inst/examples/rcc.r --- littler-0.3.10/inst/examples/rcc.r 2019-11-11 11:55:39.000000000 +0000 +++ littler-0.3.11/inst/examples/rcc.r 2020-06-24 21:49:23.000000000 +0000 @@ -2,7 +2,7 @@ ## ## Call 'rcmdcheck' on a package ## -## Copyright (C) 2016 - 2018 Dirk Eddelbuettel +## Copyright (C) 2016 - 2020 Dirk Eddelbuettel ## ## Released under GPL (>= 2) @@ -45,13 +45,13 @@ stop("Inadmissable argument for '--erroron' option.", call.=FALSE) if (is.null(opt$args)) { # special treatment for --args and -c - if (opt$`as-cran`) { + if (opt$as_cran) { opt$args <- "--as-cran" } else { opt$args <- character() } } else { - if (opt$`as-cran`) { + if (opt$as_cran) { opt$args <- c(opt$args, "--as-cran") } } @@ -82,5 +82,5 @@ opt$repos, # repos argument erroron, # error_on argument simplify=FALSE) -status <- max(sapply(rc, `[[`, "status")) +status <- max(sapply(rc, "[[", "status")) q(status=status) diff -Nru littler-0.3.10/inst/examples/roxy.r littler-0.3.11/inst/examples/roxy.r --- littler-0.3.10/inst/examples/roxy.r 2020-06-01 23:33:16.000000000 +0000 +++ littler-0.3.11/inst/examples/roxy.r 2020-06-24 21:49:54.000000000 +0000 @@ -2,7 +2,7 @@ # # Simple helper script for roxygen2::roxygenize() # -# Dirk Eddelbuettel, August 2013 +# Dirk Eddelbuettel, 2013 - 2020 # # GPL-2 or later @@ -10,10 +10,11 @@ library(docopt) ## configuration for docopt -doc <- "Usage: roxy.r [-n] [-h] [-x] [-r ROCLETS] [PACKAGES ...] +doc <- "Usage: roxy.r [-n] [-f] [-h] [-x] [-r ROCLETS] [PACKAGES ...] -n --nocache run the current version not the cached version -r --roclets ROCLETS use roclets arguments for roxygenize [default: rd] +-f --full implies both '-n' and '-r NULL' -h --help show this help text -x --usage show help and short example usage" opt <- docopt(doc) # docopt parsing @@ -24,8 +25,9 @@ Examples: roxy.r # update help pages for package, use cached version - roxy.r -n # update help pages for package, use current version + roxy.r -n # use non-cached version roxy.r -r NULL # use full roclets i.e. collate,namespace,rd + roxy.r -f # use non-cached version and 'NULL' roclets roxy.r is part of littler which brings 'r' to the command-line. See the help for roxygenize for the different 'roclets' arguments; default value 'rd' means to only @@ -34,6 +36,11 @@ q("no") } +if (opt$full) { + opt$nocache <- TRUE + opt$roclets <- "NULL" +} + ## Works around the marvel that is version 6.1.0 or later if (!opt$nocache && dir.exists("~/.R/cache/roxygen2")) { cat("** Using cached version 6.0.1 of roxygen2.\n") diff -Nru littler-0.3.10/inst/NEWS.Rd littler-0.3.11/inst/NEWS.Rd --- littler-0.3.10/inst/NEWS.Rd 2020-06-02 17:39:43.000000000 +0000 +++ littler-0.3.11/inst/NEWS.Rd 2020-06-02 17:49:52.000000000 +0000 @@ -3,7 +3,7 @@ \newcommand{\ghpr}{\href{https://github.com/eddelbuettel/littler/pull/#1}{##1}} \newcommand{\ghit}{\href{https://github.com/eddelbuettel/littler/issues/#1}{##1}} -\section{Changes in littler version 0.3.10 (2020-xx-yy)}{ +\section{Changes in littler version 0.3.10 (2020-06-02)}{ \itemize{ \item Changes in examples \itemize{ @@ -20,7 +20,7 @@ } \item Changes in package \itemize{ - \item Travis CI now uses the R 4.0.0 and use the bionic distro + \item Travis CI now uses R 4.0.0 and the bionic distro } } } diff -Nru littler-0.3.10/MD5 littler-0.3.11/MD5 --- littler-0.3.10/MD5 2020-06-03 05:20:02.000000000 +0000 +++ littler-0.3.11/MD5 2020-06-26 15:10:08.000000000 +0000 @@ -1,21 +1,21 @@ -ab21623d46f442f8f118ad2a6563da9b *ChangeLog -83a8026e1ed6f61905e371c6c30b5fbb *DESCRIPTION +8e8cad3c037f5bad7d0af39889d6890a *ChangeLog +38d1dac80306d8c49b73753186e28fc5 *DESCRIPTION b1a496dc62bb8a1c53e2da826c53a098 *NAMESPACE c066402479411258b78917cb8bce5657 *R/init.R e0d46c52db870bd1affd9a6ffabc9c81 *R/test.R 7f44ea7e6d96639bb46e228e5ec710c9 *README.md -9b083dc384ca0ed8c673f8eca3acf31e *build/vignette.rds +9bef473ea77c4775b5c7ba6304bfc0d8 *build/vignette.rds 6fb1ed071cd6c11749d9a52d879ef4e8 *cleanup -d472593518f97672152e567ba194e201 *configure +47a8cac6080d6f64791b861d844b65fa *configure 6486498573c260f57e4c3cfd6dce7a8a *configure.ac -b93dbd489f7244163cf00cfe58f02cfe *inst/NEWS.Rd -2b995fd105bec1f47e88b8ee184e604f *inst/doc/littler-examples.Rmd -f5f034432f42ba5f9f3cbec777f7ff3d *inst/doc/littler-examples.html -5edcf6488ba8d07901005b3247675d93 *inst/doc/littler-faq.Rmd -3b046188ef761c23ce96c2560f76abe0 *inst/doc/littler-faq.html +3fc8806525c16e0777763663e8bec077 *inst/NEWS.Rd +477d0891aee78a6027cd1b6c2d91c8ed *inst/doc/littler-examples.Rmd +006b50e85cdc053205fefcf971ab9556 *inst/doc/littler-examples.html +c12aa7735dde3e1cf65fa884b09d1c02 *inst/doc/littler-faq.Rmd +683bbbfb3aad6dd60a8c621e03311fb5 *inst/doc/littler-faq.html a55045c51b5f8a24c7dd8f26e5443b38 *inst/examples/build.r 80337832585a9ed42c34a34d3f4d5ca0 *inst/examples/c4c.r -e799bf8fb7f3c17e585766b1c1fa16e2 *inst/examples/check.r +53d6342f058483d9152cb7e7f13ecb2c *inst/examples/check.r 7a0f0075a180aa4f3f926d25f90a0e2d *inst/examples/compAttr.r df1e4d8e26f3dcaa65f17173da49cfc4 *inst/examples/compactpdf.r d4eb76719acfbeaf9769715c0d45beea *inst/examples/cos.r @@ -29,21 +29,20 @@ fe8cf217d74e27f9df00c3337cdeacd4 *inst/examples/install.r ad3604c06e10305f363950a9aaeb73ef *inst/examples/install2.r c69f8145c44562d861c4cea4a5db7a9d *inst/examples/installBioc.r -389b0a195ac4f7e7ace5178d58278b89 *inst/examples/installGithub.r +2094249cf40f07887c0a62ffc013654c *inst/examples/installGithub.r 7fd3705c164f237b534cafd6d1ddbded *inst/examples/installRepo.r 90c939407414f38e8964d3117c8cec1d *inst/examples/kitten.r 95bbb1b4d287d80721c68cf7048ca580 *inst/examples/knit.r 8938ac19a069842cc29ad05334acf70a *inst/examples/mph.r -8fe52a885184b26665cf7a13426f9410 *inst/examples/ncroxy.r 308bd3fc719cb94ccfbb613d722ac69a *inst/examples/pace.r 9639aa6b098ca195b08f8f6f694964df *inst/examples/pkg2bibtex.r 9c9c9a9936ec187c5c64f8669bc69baa *inst/examples/pnrrs.r -e628f88e8a020ce7b62cc3c61c0e8b3c *inst/examples/rcc.r +426806cfe2b87bcde09c0e087168c561 *inst/examples/rcc.r 2c2dd2d0ca617b90b0f35e3820f40d2d *inst/examples/rchk.r 59445a2aaf5c04daadad958b5f885726 *inst/examples/rd2md.r baecaa3e40582e058194186324972ac4 *inst/examples/render.r e3771134892cb56205712080df545809 *inst/examples/rhome.r -26ca107e41d6ec2a4bbdbf7805f7eb6d *inst/examples/roxy.r +0254f811a5ed2a59f836abcecf2ad270 *inst/examples/roxy.r d128abc4df7c53e88ba3ea1a886fe727 *inst/examples/runit.r 1d8481053565f068f641ac51fdf50db2 *inst/examples/shiny.r bf16fe40d540bfd159ea101a073ae4e4 *inst/examples/sweave.r @@ -71,10 +70,10 @@ e857b2b7280c6b356248788f20f20112 *src/config-const.h 00be7b067139ee85a497f4e654ab55e6 *src/config.h.in c261abe2bcaa9283ce8df9362f8ac1f5 *src/gitversion.h.in -027cf9444d20937001106174eae8e7b9 *src/littler.c +05ca14673abbcfb52ed28b152a089022 *src/littler.c 98ddd8013dda001053955c5b257d3f31 *src/scripts/autoloads.R 9286b16272bc96161ee53f75a405d609 *src/scripts/ldflags.R 063854637188c7683d006d41d2cb4a75 *src/scripts/littler.R e3a80e15ee028e65b9f1b65fc194acd1 *tests/simpleTests.R -2b995fd105bec1f47e88b8ee184e604f *vignettes/littler-examples.Rmd -5edcf6488ba8d07901005b3247675d93 *vignettes/littler-faq.Rmd +477d0891aee78a6027cd1b6c2d91c8ed *vignettes/littler-examples.Rmd +c12aa7735dde3e1cf65fa884b09d1c02 *vignettes/littler-faq.Rmd diff -Nru littler-0.3.10/src/littler.c littler-0.3.11/src/littler.c --- littler-0.3.10/src/littler.c 2019-01-27 13:38:31.000000000 +0000 +++ littler-0.3.11/src/littler.c 2020-06-03 13:00:38.000000000 +0000 @@ -2,7 +2,7 @@ * * littler - Provides hash-bang (#!) capability for R (www.r-project.org) * - * Copyright (C) 2006 - 2019 Jeffrey Horner and Dirk Eddelbuettel + * Copyright (C) 2006 - 2020 Jeffrey Horner and Dirk Eddelbuettel * * littler is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -413,7 +413,7 @@ R_SVN_REVISION); } } - printf("\n\nCopyright (C) 2006 - 2019 Jeffrey Horner and Dirk Eddelbuettel\n" + printf("\n\nCopyright (C) 2006 - 2020 Jeffrey Horner and Dirk Eddelbuettel\n" "\n" "%s is free software and comes with ABSOLUTELY NO WARRANTY.\n" "You are welcome to redistribute it under the terms of the\n" diff -Nru littler-0.3.10/vignettes/littler-examples.Rmd littler-0.3.11/vignettes/littler-examples.Rmd --- littler-0.3.10/vignettes/littler-examples.Rmd 2019-06-21 10:29:51.000000000 +0000 +++ littler-0.3.11/vignettes/littler-examples.Rmd 2020-06-17 02:15:52.000000000 +0000 @@ -1,7 +1,7 @@ --- title: "Littler Examples" author: "Dirk Eddelbuettel" -date: "Originally written 2015-10-28; Updated 2017-12-10, 2018-05-24, 2019-01-06 and 2019-06-09" +date: "Originally written 2015-10-28; Updated 2017-12-10, 2018-05-24, 2019-01-06, 2019-06-09 and 2020-06-16" output: html_document: toc: true @@ -20,6 +20,10 @@ 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](littler-faq.html) for more. + ## Simple Direct Command-line Use [littler](http://dirk.eddelbuettel.com/code/littler.html) can be used @@ -69,6 +73,9 @@ 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`. diff -Nru littler-0.3.10/vignettes/littler-faq.Rmd littler-0.3.11/vignettes/littler-faq.Rmd --- littler-0.3.10/vignettes/littler-faq.Rmd 2020-03-09 03:29:42.000000000 +0000 +++ littler-0.3.11/vignettes/littler-faq.Rmd 2020-06-17 02:18:07.000000000 +0000 @@ -1,7 +1,7 @@ --- title: "Littler FAQ" author: "Dirk Eddelbuettel" -date: "2019-03-23" +date: "2019-03-23, updated 2020-06-16" output: html_document: toc: true @@ -91,3 +91,7 @@ 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](http://zsh.sourceforge.net/) 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.