Re: [Rd] eliminate a partial argument match warning in R CMD check

2019-07-01 Thread Kurt Hornik
> Jennifer Bryan writes: Thanks: fixed with c76763 in the trunk. Best -k > Hello, > I'm seeing a nuisance warning when I run `R CMD check --as-cran > whatever_x.y.z.tar.gz`. > I generally work with these options set: > options( > warnPartialMatchArgs = TRUE, > warnPartialMatchAttr = TR

[Rd] Format printing inside a matrix

2019-07-01 Thread Jialin Ma
Hi everyone, I am not sure if there is an existing solution to this, but I want my S4 objects inside a list matrix showing correctly. Currently it shows as: R> str(lst[[1]]) Formal class 'Basic' [package "symengine"] with 1 slot ..@ ptr: R> matrix(lst, 2) [,1] [,2] [,3] [,4] [,5] [1,] ?

[Rd] eliminate a partial argument match warning in R CMD check

2019-07-01 Thread Jennifer Bryan
Hello, I'm seeing a nuisance warning when I run `R CMD check --as-cran whatever_x.y.z.tar.gz`. I generally work with these options set: options( warnPartialMatchArgs = TRUE, warnPartialMatchAttr = TRUE, warnPartialMatchDollar = TRUE ) And I see this: * checking use of SHLIB_OPENMP_*FLAGS

[Rd] ASAN error with R-devel

2019-07-01 Thread Therneau, Terry M., Ph.D. via R-devel
I have an ASAN enabled version of R-devel on my test machine, and can get it to relably crash.  Here is the first part of the session: tmt-local2434% R --vanilla R Under development (unstable) (2019-06-28 r76752) -- "Unsuffered Consequences" Platform: x86_64-pc-linux-gnu (64-bit) R is free sof

Re: [Rd] Making R CMD nicer

2019-07-01 Thread Barry Rowlingson
If you write a lot of R code to run as command line scripts then look at Dirk E's "littler": $ r --help Usage: r [options] [-|file] Launch GNU R to execute the R commands supplied in the specified file, or from stdin if '-' is used. Suitable for so-called shebang '#!/'-line scripts. Options:

Re: [Rd] methods package: A _R_CHECK_LENGTH_1_LOGIC2_=true

2019-07-01 Thread Martin Maechler
> Georgi Boshnakov > on Mon, 1 Jul 2019 09:11:39 + writes: > I run checks with R-devel rev. 76756 on several of my > packages which use S4, with no ill effects. Thank you, Georgi! > With the risk of not adding much, it seems that Martin's example, which > I rep

Re: [Rd] methods package: A _R_CHECK_LENGTH_1_LOGIC2_=true

2019-07-01 Thread Georgi Boshnakov
I run checks with R-devel rev. 76756 on several of my packages which use S4, with no ill effects. With the risk of not adding much, it seems that Martin's example, which I repeat below, suggests a crossover between several "signatures" involved here - the signature of the generic, the signatu

Re: [Rd] Making R CMD nicer

2019-07-01 Thread Jason Xu
Yes I'm using R 3.4.4 on Ubuntu 18.04. I doubt the Windows version would make use of a bash script. I'm all for a more consistent interface. It puzzles me that a shell script is used at all since that does not seem portable, especially for Windows users. To my surprise I discovered the R that's ca

Re: [Rd] Making R CMD nicer

2019-07-01 Thread Jason Xu
In my humble personal opinion, I try to avoid bash scripts longer than a couple lines because I find the syntax so obtuse and unintuitive it's difficult to maintain and write less buggy code. But that is mostly a reflection of my personal inexperience. I think the only time a bash script is really