Re: [Rd] Named class vector

2020-11-05 Thread Kurt Hornik
> Duncan Murdoch writes: > The source to the noquote() function looks like this: > noquote <- function(obj, right = FALSE) { > ## constructor for a useful "minor" class > if(!inherits(obj,"noquote")) > class(obj) <- c(attr(obj, "class"), > if(right)

[Rd] Named class vector

2020-11-05 Thread Duncan Murdoch
The source to the noquote() function looks like this: noquote <- function(obj, right = FALSE) { ## constructor for a useful "minor" class if(!inherits(obj,"noquote")) class(obj) <- c(attr(obj, "class"), if(right) c(right = "noquote") else "noquote") obj

Re: [Rd] Some packages have non-POSIX-compliant shell scripts. Implement a CRAN check for bashisms?

2020-11-05 Thread Sebastian Meyer
Your report underlines the importance of the checks implemented by CRAN. In fact, checkbashisms has become an optional part of R CMD check in R 4.0.0, whose NEWS say > R CMD check now optionally checks configure and cleanup scripts for > non-Bourne-shell code ('bashisms'). The R Internals manua

[Rd] Some packages have non-POSIX-compliant shell scripts. Implement a CRAN check for bashisms?

2020-11-05 Thread Kocken, I.J. (Ilja)
Dear R-devel, Recently I ran into trouble installing two separate packages, nloptr and ncdf4, both due to the same issue: they have scripts that have the shebang `#! /bin/sh', but have bashisms in them, i.e. non-POSIX-compliant bash scripts. I use dash [1] as my shell environment, since it's ab