Re: [R-pkg-devel] R CMD check works but with devtools::check() examples fail

2019-05-16 Thread Jari Oksanen
ge, it even says in which case you have a length>1 component in your condition (it is given as length 3 in the diagnostic output). I found this then because win-builder set this environmental variable, and there may be other build systems that do the same. You should fix the cases to avoid tro

Re: [Rd] future time stamps warning

2018-09-20 Thread Jari Oksanen
like UTC). Cheers, Jari Oksanen __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] conflicted: an alternative conflict resolution strategy

2018-08-24 Thread Jari Oksanen
function that was used instead. cheers, Jari Oksanen On 23 Aug 2018, at 23:46 pm, Duncan Murdoch mailto:murdoch.dun...@gmail.com>> wrote: First, some general comments: This sounds like a useful package. I would guess it has very little impact on runtime efficiency except when attaching

Re: [R-pkg-devel] mvrnorm, eigen, tests, and R CMD check

2018-05-18 Thread Jari Oksanen
eigenvalues, any solution of axes is arbitrary and it can be made stable for testing only by chance. If you have M equal eigenvalues, you should try to find a test that the M-dimensional (sub)space is approximately correct irrespective of random orientation of axes in this subspace. Cheers, Jari

Re: [Rd] importing namespaces from base packages

2018-03-13 Thread Jari Oksanen
: "R_DEFAULT_PACKAGES=utils,grDevices,graphics,stats" So these pass R CMD check and are an "industrial standard". Changing this will be break half of CRAN packages. Cheers, Jari Oksanen On 13/03/18 13:47, Martin Maechler wrote: Adrian Dușa <dusa.adr...@unibuc.ro> on Tue,

Re: [Rd] Why R should never move to git

2018-01-25 Thread Jari Oksanen
This is exactly the instruction given in  https://xkcd.com/1597/ cheers, J.O. On 25/01/18 14:48, Mario Emmenlauer wrote: Hi Duncan! I think there are many users whose first experiences with git where frustrating, and trust me, many people here can relate to your pain. I can certainly say that

Re: [Rd] Are r2dtable and C_r2dtable behaving correctly?

2017-08-25 Thread Jari Oksanen
It is not about "really arge total number of observations", but: set.seed(4711);tabs <- r2dtable(1e6, c(2, 2), c(2, 2)); A11 <- vapply(tabs, function(x) x[1, 1], numeric(1));table(A11) A11 0 1 2 166483 666853 14 There are three possible matrices, and these come out in

Re: [Rd] registering Fortran routines in R packages

2017-05-10 Thread Jari Oksanen
Have you tried using tools:::package_native_routine_registration_skeleton()? If you don't like its output, you can easily edit its results and still avoid most pitfalls. Cheers, Jari Oksanen From: R-devel <r-devel-boun...@r-project.org> on

[Rd] Some "lm" methods give wrong results when applied to "mlm" objects

2017-04-04 Thread Jari Oksanen
plemented for multivariate lm()" which of course is a natural and correct solution to the problems. Cheers, Jari Oksanen __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] typo or stale info in qr man

2016-10-25 Thread Jari Oksanen
but no. of columns */ SET_VECTOR_ELT(qr, 2, qraux); SET_VECTOR_ELT(qr, 3, pivot); UNPROTECT(4); /* qr, x, pivot, qraux */ return qr; } cheers, Jari Oksanen From: R-devel <r-devel-boun...@r-project.org> on beh

Re: [Rd] summary( prcomp(*, tol = .) ) -- and 'rank.'

2016-03-25 Thread Jari Oksanen
> On 25 Mar 2016, at 11:45 am, peter dalgaard <pda...@gmail.com> wrote: > >> >> On 25 Mar 2016, at 10:08 , Jari Oksanen <jari.oksa...@oulu.fi> wrote: >> >>> >>> On 25 Mar 2016, at 10:41 am, peter dalgaard <pda...@gmail.com> wrote: &g

Re: [Rd] summary( prcomp(*, tol = .) ) -- and 'rank.'

2016-03-25 Thread Jari Oksanen
oise. Of course the magnitude of > the noise is important information. > But then you should use Factor Analysis which has that concept of “noise” (unlike PCA). Cheers, Jari Oksanen >> On 25 Mar 2016, at 00:02 , Steve Bronder <sbron...@stevebronder.com> wrote: >> >>

Re: [Rd] Source code of early S versions

2016-02-29 Thread Jari Oksanen
he code, you are not even allowed to tell anybody that you have seen it. I don’t know how this is interpreted currently, but you may ask the current owner, Nokia. Cheers, Jari Oksanen __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] building with tcltk on Ubuntu 14.04

2015-05-28 Thread Jari Oksanen
to use these switches. I have had this problem a couple of years. If I need to guess, I do something wrong and against instructions, and therefore I won't complain. Cheers, Jari Oksanen __ R-devel@r-project.org mailing list https://stat.ethz.ch

Re: [Rd] vegan moved to GitHub and vegan 2.2-0 is coming (are you ready?)

2014-09-13 Thread Jari Oksanen
Dear R-Devels, My apologies for using a wrong list. Please ignore my messages. I would undo this if I only could, but what's done can't be undone (not the the first time in my life when I've learnt this). Cheers, Jari Oksanen On 13/09/2014, at 08:13 AM, Jari Oksanen wrote: Dear vegan team

[Rd] vegan moved to GitHub and vegan 2.2-0 is coming (are you ready?)

2014-09-12 Thread Jari Oksanen
pushed them directly to the vegan upstream, though. I have found this pretty good way of working in github. Cheers, Jari Oksanen __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] historical significance of Pr(Chisq) 2.2e-16

2014-05-07 Thread Jari Oksanen
See ?format.pval cheers, jari oksanen From: r-devel-boun...@r-project.org [r-devel-boun...@r-project.org] on behalf of Michael Friendly [frien...@yorku.ca] Sent: 07 May 2014 17:02 To: r-devel Subject: [Rd] historical significance of Pr(Chisq) 2.2e-16

Re: [Rd] [RFC] A case for freezing CRAN

2014-03-21 Thread Jari Oksanen
policy, and probably would need to change if CRAN policy changes. Cheers, Jari Oksanen __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [RFC] A case for freezing CRAN

2014-03-21 Thread Jari Oksanen
with sloppy code scientists write for publications. You know, they are scientists -- not engineers. Cheers, Jari Oksanen Leaving the issue of compilation out, a package which is creating a custom installation of the R version which includes the source of the R version used and the sources

Re: [Rd] [RFC] A case for freezing CRAN

2014-03-20 Thread Jari Oksanen
older, R versions, but something has happened in my OS that crashes the build process. To reproduce an old analysis, I also should install an older version of my OS, then build old R and then get the old versions of packages. It is nice if the last step is made easier. Cheers, Jari Oksanen

Re: [Rd] cat with backspace and newline characters

2013-11-07 Thread Jari Oksanen
that normality and strangeness is quite relative though. As a user DEC LA120 terminal I expect the following: cat(a\b^\n) â Everything else feels like a bug. Cheers, Jari Oksanen __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [Rd] Compatibility with R 2.15.x: Makefile for (non-Sweave) vignettes in vignettes/?

2013-10-13 Thread Jari Oksanen
Henrik, On 14/10/2013, at 00:35 AM, Henrik Bengtsson wrote: In R 3.1.0 (~April 2014), support for vignettes in inst/doc/ will go away (and probably much sooner for CRAN submission), e.g. I've been sticking with inst/doc/ for backward compatible reasons so that I can use a fallback

Re: [Rd] version comparison puzzle

2013-10-03 Thread Jari Oksanen
with the thought that the developers can’t go on forever, so eventually lme4 will become stable when the machine precision forces it to be rounded up to 1.0 Cheers, Jari Oksanen From: r-devel-boun...@r-project.org [r-devel-boun...@r-project.org] on behalf of Martyn

Re: [Rd] question on why Rigroup package moved to Archive on CRAN

2013-03-10 Thread Jari Oksanen
What we've got here is failure to communicate. Some men you just can't reach. So you get what we had here last week, which is the way he wants it. Well, he gets it. I don't like it any more than you men. (from Cool hand Luke -- but whose fault?) Cheers, Jari Oksanen On 10/03/2013, at 17:18 PM

Re: [Rd] Keeping up to date with R-devel

2013-02-27 Thread Jari Oksanen
as long as you don't complain. If you want to complain, you must follow the instructions. Cheers, Jari Oksanen -- Jari Oksanen, Dept Biology, Univ Oulu, 90014 Finland __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] It's a BUG or a Feature? Generating seq break comparing operators

2013-02-07 Thread Jari Oksanen
This should be FAQ 0.0. No other thing is asked as frequently as this. This is the FAQest of all FAQs, and a mother of all FAQs. At least this should be in R posting guide: Read FAQ 7.31 before posting! Cheers, Jari Oksanen On 07/02/2013, at 12:13 PM, R. Michael Weylandt wrote: R FAQ 7.31

Re: [Rd] R CMD check not reading R_LIBS from ~/.R/check.Renviron

2013-01-17 Thread Jari Oksanen
Gav, This is off-list since I only wonder what you are trying to do. It seems to me that you're trying something much too elegant and complicated. One thing that I have learnt to avoid is muck up with environments: that is calling trouble. One day they will change R and you will get errors

[Rd] prcomp with previously scaled data: predict with 'newdata' wrong

2012-05-23 Thread Jari Oksanen
) all.equal(predict(sol), predict(sol, newdata=x)) ## [1] TRUE I don't have any nifty solution to this -- only checking the 'scale.' attribute and acting accordingly: sc - if (scale.) attr(x, scaled:scale) else FALSE Cheers, Jari Oksanen __ R-devel@r

Re: [Rd] prcomp with previously scaled data: predict with 'newdata' wrong

2012-05-23 Thread Jari Oksanen
an elegant solution (if you think this is worth fixing). Cheers, Jari Oksanen PS. Sorry for the top posting: cannot help with the email system I have in my work desktop. From: r-devel-boun...@r-project.org [r-devel-boun...@r-project.org] on behalf

Re: [Rd] --as-cran and need to ignore.svn directories

2012-03-12 Thread Jari Oksanen
of the package works, but the one actually in subversion fails. Cheers, Jari Oksanen -- Jari Oksanen, Dept Biology, Univ Oulu, 90014 Finland jari.oksa...@oulu.fi, Ph. +358 400 408593, http://cc.oulu.fi/~jarioksa __ R-devel@r-project.org mailing list https

Re: [Rd] NOTE: unstated dependencies in examples

2011-10-15 Thread Jari Oksanen
the release version to pass all these. The development version can fail in older R, but then we (the team) must judge if we merge such failing features to the release. Cheers, Jari Oksanen __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [Rd] NOTE: unstated dependencies in examples

2011-10-14 Thread Jari Oksanen
be refused. Cheers, jari oksanen On 13.10.2011 03:00, Yihui Xie wrote: You have this in Jevons.Rd: # show as balloonplots if (require(gplots)) { and this in Snow.Rd: %\dontrun{ library(sp) It will certainly be helpful if R CMD check can provide more informative

Re: [Rd] NOTE: unstated dependencies in examples

2011-10-14 Thread Jari Oksanen
On 14/10/11 16:26 PM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 14/10/2011 9:18 AM, Jari Oksanen wrote: Uwe others, This is OK if you want to identify the cause of the problems. However, the basic problem was that checking required something that is not required: there was one

Re: [Rd] NOTE: unstated dependencies in examples

2011-10-14 Thread Jari Oksanen
On 14/10/11 19:00 PM, Uwe Ligges lig...@statistik.tu-dortmund.de wrote: On 14.10.2011 16:15, Duncan Murdoch wrote: On 14/10/2011 10:10 AM, Jari Oksanen wrote: On 14/10/11 16:26 PM, Duncan Murdochmurdoch.dun...@gmail.com wrote: On 14/10/2011 9:18 AM, Jari Oksanen wrote: Uwe others

Re: [Rd] Standardized Pearson residuals

2011-03-15 Thread Jari Oksanen
of Learning from Data, when I realized that R was missing standardized residuals. So nobody uses McCullagh Nelder: Generalized Linear Models in teaching, since they don't realize that R is missing Anscombe residuals, too? Cheers, Jari Oksanen __ R-devel@r

Re: [Rd] postscript failure manifests in plot.TukeyHSD

2010-12-15 Thread Jari Oksanen
setlinewidth -[ 3.00 5.00] 0 setdash +[ 0.00 0.00] 0 setdash np 660.06 91.44 m So 0.00 setlinewidth worked, but [0.00 0.00] 0 setdash failed. Assuming PostScript is anything like English, it is the all-zero dash that caused the failure. Cheers, Jari Oksanen Paul On 15/12/2010 7:20 a.m

[Rd] postscript failure manifests in plot.TukeyHSD

2010-12-14 Thread Jari Oksanen
-branch). I know nothing about PostScript so that I cannot say anything more (and I know viewers can fail with standard conforming PostScript but it is a bit disconcerting that two viewers fail when they worked earlier). Cheers, Jari Oksanen __ R-devel@r

Re: [Rd] One possible cause for incorrect symbols in X11() output

2010-08-19 Thread Jari Oksanen
hear about it). Cheers, Jari Oksanen __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] One possible cause for incorrect symbols in X11() output

2010-08-19 Thread Jari Oksanen
is not affected by the problem but has quite regular fonts -- no Wine today. Better that I shut up). Cheers, Jari Oksanen It is also not using pango, and so not selecting fonts the same way as on Linux. __ R-devel@r-project.org mailing list https

Re: [Rd] warning from install.packages()

2010-05-25 Thread Jari Oksanen
On 25/05/10 23:25 PM, Ben Bolker bol...@ufl.edu wrote: Just curious: is there a particular reason why install.packages() gives a warning in normal use when 'lib' is not specified (e.g. argument 'lib' is missing: using '/usr/local/lib/R/site-library' )? It would seem to me that this is

Re: [Rd] R-Forge Problems

2010-05-05 Thread Jari Oksanen
of these report. A News message of April 29 in R-Forge front page predicts that browser functionality will follow soon. So there is hope... Cheers, Jari Oksanen __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Canberra distance

2010-02-06 Thread Jari Oksanen
On 06/02/2010 18:10, Duncan Murdoch murd...@stats.uwo.ca wrote: On 06/02/2010 10:39 AM, Christophe Genolini wrote: Hi the list, According to what I know, the Canberra distance between X et Y is : sum[ (|x_i - y_i|) / (|x_i|+|y_i|) ] (with | | denoting the function 'absolute value') In

Re: [Rd] optional package dependency

2010-01-14 Thread Jari Oksanen
, but then it was decided that suggests should be near equivalent to depends, and this will stick. Cheers, Jari Oksanen -- Jari Oksanen, Department of Biology, Univ Oulu, FI-90014 Oulu, Finland http://www.oulu.fi/~jarioksa http://vegan.r-forge.r-project.org

Re: [Rd] file.rename overwrites existing target (PR#14065)

2009-11-15 Thread Jari Oksanen
, and prompt for the removal of the 'new' file. However, this switch is usually not the default in unixy systems, unless defined so in the shell start up script of the user. Cheers, Jari Oksanen __ R-devel@r-project.org mailing list https://stat.ethz.ch

Re: [Rd] eurodist example dataset is malformed

2009-08-16 Thread Jari Oksanen
2.9.1 for MacOS to see that there neither is a change in 'eurodist' in the Mac distribution. My virgin eurodist in Mac was clean, with all its errors. All this hints that you have a local copy of malformed eurodist in your computer. Perhaps rm(eurodist) eurodist will help. Cheers, Jari Oksanen

[Rd] cmdscale non-Euclidean dissimilarities

2009-06-10 Thread Jari Oksanen
, ac = if(add) add.c else 0, - GOF = sum(ev)/c(sum(abs(evalus)), sum(evalus[evalus 0]))) + GOF = sum(ev)/c(sum(evalus), sum(evalus[evalus 0]))) } else points } Best wishes, Jari Oksanen -- Jari Oksanen -- Dept Biology, Univ Oulu, FI-90014 Oulu, Finland email

Re: [Rd] Windows binary packages R-Forge

2008-05-07 Thread Jari Oksanen
=139group_id=34atid=194 Thomas Petzold even posted there the probable cure. I hope the issue will be solved some day soon. cheers, jari oksanen -- Jari Oksanen [EMAIL PROTECTED] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

[Rd] xspline(..., draw=FALSE) fails if there is no open device (PR#10727)

2008-02-08 Thread jari . oksanen
Full_Name: Jari Oksanen Version: 2.6.2 RC (2008-02-07 r44369) OS: Linux Submission from: (NULL) (130.231.102.145) Even if function xspline() is called with argument draw=FALSE, it requires a graphics device (that it won't use since it was draw=FALSE). I run into this because I intended to use

Re: [Rd] Saving Graphics File as .ps or .pdf (PR#10403)

2007-11-07 Thread Jari Oksanen
reported bugs in latest releases. Probably that won't happen in the current environment. Cheers, Jari Oksanen PS. Please Mr Moderator, don't treat me so mean (*): I've subscribed to this group although you regularly reject my mail as coming from a non-member. (*) an extract from a classic song Mr

Re: [Rd] R can't source() long lines (PR#10383)

2007-10-30 Thread Jari Oksanen
in a function or a bug in the documentation (usually the latter). cheers, jari oksanen __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] boxplot() confuses x- and y-axes (PR#10345)

2007-10-15 Thread Jari Oksanen
of this is fatal, but this probably needs more than one iteration to find which way each of the x* and y* arguments works. cheers, jari oksanen __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] paste() with NAs .. change worth persuing?

2007-08-23 Thread Jari Oksanen
a real example where this would happen, but it would worry me...) At least stop() seems to include such a case: message - paste(args, collapse = ) and we may expect there are NAs sometimes in stop(). cheers, jazza -- Jari Oksanen, Oulu, Finland __ R

Re: [Rd] package check note: no visible global function definition (in functions using Tcl/Tk)

2007-06-12 Thread Jari Oksanen
, in particular in unsupported platforms like MacOS 10.3.9 where I have trouble in installing some packages that depend on packages... (if somebody wonders why I still use MacOS 10.3.9, I can give 129 reasons, each worth one Euro). cheers, Jari Oksanen __ R-devel

Re: [Rd] 'R CMD INSTALL mypkg' doesn't always update help pages

2007-06-05 Thread Jari Oksanen
end up with mixed man pages from different versions of the package :-/ I have observed this, too. cheers, Jari Oksanen __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] step() in sink() and Sweave()

2007-05-09 Thread Jari Oksanen
and sink, I'd prefer the one place to be stdout instead of stderr. Best wishes, Jari Oksanen -- Jari Oksanen [EMAIL PROTECTED] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] prcomp: problem with zeros? (PR#8870)

2006-05-17 Thread Jari Oksanen
(prcomp handles zeros). For instance, x - scale(x) x[is.nan(x)] - 0 prcomp(x) (and a friendly prcomp() would do this internally.) cheers, jari oksanen -- Jari Oksanen, Oulu, Finland __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [Rd] typo in `eurodist'

2005-12-09 Thread Jari Oksanen
(Athens, Lisbon, Stockholm, Copenhagen) have largest discrepancies. It also seems that the names are not 'localized', but weird English forms are used for places like København and Wien so dear to the R core developers. cheers, jari oksanen __ R-devel@r

[Rd] Shy Suggestion?

2005-09-20 Thread Jari Oksanen
requiring them in R CMD check? I stumbled on this with earlier versions of R, and then my solution was to suggest nothing. cheers, jari oksanen -- Jari Oksanen -- Dept Biology, Univ Oulu, 90014 Oulu, Finland Ph. +358 8 5531526, cell +358 40 5136529, fax +358 8 5531061 email [EMAIL PROTECTED

Re: [Rd] Shy Suggestion?

2005-09-20 Thread Jari Oksanen
and I would get the needed information: so why should the check fail already when checking DESCRIPTION? cheers, jari oksanen __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] generic function argument list problem

2005-08-31 Thread Jari Oksanen
~~fun~~ (I'm not sure if adding a real keyword is necessary). This passes tests. Including * checking S3 generic/method consistency ... OK Conclusion: check your files. (It is pain: been there, done that.) cheers, jari oksanen __ R-devel@r-project.org

[Rd] Why should package.skeleton() fail R CMD check?

2005-08-31 Thread Jari Oksanen
of the diff file: my emacs/ESS is cleverer than I and changes indentation and line breaks against my will. cheers, jari oksanen -- Jari Oksanen -- Dept Biology, Univ Oulu, 90014 Oulu, Finland Ph. +358 8 5531526, cell +358 40 5136529, fax +358 8 5531061 email [EMAIL PROTECTED], homepage http://cc.oulu.fi

Re: [Rd] Why should package.skeleton() fail R CMD check?

2005-08-31 Thread Jari Oksanen
~~}}, ~~~ }), + \\code{\\link{help}}, ~~~ }), examples = c(\\examples{, ## Should be DIRECTLY executable !! , Cheers, Jari Oksanen -- Jari Oksanen -- Dept Biology, Univ Oulu, 90014 Oulu, Finland Ph. +358 8 5531526, cell +358 40 5136529, fax +358 8 5531061 email

Re: [Rd] problem using model.frame()

2005-08-17 Thread Jari Oksanen
), as.matrix(dfz)). This you call as coca(dfx, dfy, dfz) and there you go. The essential feature in formula is the ability to define the model. Don't give it away. cheers, jazza -- Jari Oksanen, Oulu, Finland __ R-devel@r-project.org mailing list https