Re: [R-pkg-devel] Possible mis-spelled words ...

2016-07-21 Thread Rolf Turner
On 22/07/16 10:34, Duncan Murdoch wrote: On 21/07/2016 5:48 PM, Rolf Turner wrote: I just had a revision of a package built by win-builder, as a way of exposing it to a rigorous check before uploading it to CRAN. The 00check.log contained the note: > Possibly mis-spelled wo

Re: [R-pkg-devel] Possible mis-spelled words ...

2016-07-21 Thread Rolf Turner
On 22/07/16 10:00, Ben Bolker wrote: Previous conversation on r-devel: https://stat.ethz.ch/pipermail/r-devel/2014-December/070237.html Martin Mächler suggests that a patch to R-devel would be welcome: I agree that some customization possibility would be great here. Maybe it'll be

[R-pkg-devel] Possible mis-spelled words ...

2016-07-21 Thread Rolf Turner
ind anything about "mis-spellings" in "Writing R Extensions". I don't like leaving a package in a state in which the package checker produces NOTES. Is there anything that I can do about this one? Other than remove the offending words, which I am reluctant to do. ch

Re: [R-pkg-devel] Possible mis-spelled words ...

2016-07-21 Thread Rolf Turner
On 22/07/16 10:37, Uwe Ligges wrote: On 22.07.2016 00:34, Duncan Murdoch wrote: On 21/07/2016 5:48 PM, Rolf Turner wrote: I just had a revision of a package built by win-builder, as a way of exposing it to a rigorous check before uploading it to CRAN. The 00check.log contained the note

Re: [R-pkg-devel] R_registerRoutines, etc.

2017-04-23 Thread Rolf Turner
On 24/04/17 11:36, Duncan Murdoch wrote: On 23/04/2017 6:18 PM, Rolf Turner wrote: On 23/04/17 23:05, Duncan Murdoch wrote: Looks like extern void F77_NAME(mnnd)(double *, double *, int *, double *, double *); to me. One more (I hope it's the last!) question: One of my subroutines has

Re: [R-pkg-devel] R_registerRoutines, etc.

2017-04-23 Thread Rolf Turner
On 24/04/17 11:22, Dirk Eddelbuettel wrote: I would be surpised if init.c was Fortran. Anyway... It isn't of course. But it is the device used for "registering routines" of all both flavours (i.e. both C and Fortran). cheers, Rolf -- Technical Editor ANZJS Department of Statistics

Re: [R-pkg-devel] R_registerRoutines, etc.

2017-04-23 Thread Rolf Turner
On 24/04/17 10:31, Dirk Eddelbuettel wrote: On 24 April 2017 at 10:18, Rolf Turner wrote: | One more (I hope it's the last!) question: | | One of my subroutines has an argument of type *logical*. There is no | logical type in C. So, since I am perforce using C-speak, I cannot | change "

Re: [R-pkg-devel] R_registerRoutines, etc.

2017-04-23 Thread Rolf Turner
On 24/04/17 12:39, Duncan Murdoch wrote: On 23/04/2017 7:53 PM, Rolf Turner wrote: On 24/04/17 11:36, Duncan Murdoch wrote: On 23/04/2017 6:18 PM, Rolf Turner wrote: On 23/04/17 23:05, Duncan Murdoch wrote: Looks like extern void F77_NAME(mnnd)(double *, double *, int *, double *, double

Re: [R-pkg-devel] R_registerRoutines, etc.

2017-04-22 Thread Rolf Turner
On 23/04/17 09:44, Dirk Eddelbuettel wrote: On 23 April 2017 at 09:25, Rolf Turner wrote: | However I found a posting by Ege Rubak on this topic which sent me by a | slightly roundabout route to a posting by Dirk Eddelbuttel There is a transcribed Umlaut in there: Eddelbuettel (ie 'ue

[R-pkg-devel] R_registerRoutines, etc.

2017-04-22 Thread Rolf Turner
ble precision(a-h,o-z) . I.e. the "actual types are "double precision", "double precision", "integer", "double precision", "double precision". So in this case I should (?) replace extern void F77_NAME(mnnd

Re: [R-pkg-devel] R_registerRoutines, etc.

2017-04-22 Thread Rolf Turner
Thanks for trying, but your example blows me away completely. cheers, Rolf On 23/04/17 14:47, Avraham Adler wrote: On Sat, Apr 22, 2017 at 6:13 PM, Rolf Turner <r.tur...@auckland.ac.nz> wrote: The foregoing "official" way would seem to apply to functions called by "

Re: [R-pkg-devel] Macros in Rd files --- supplementary question.

2017-11-11 Thread Rolf Turner
On 12/11/17 08:08, Georgi Boshnakov wrote: It is more subtle than that. \Sexpr triggers the creation of "partial Rd database" which becomes part of the built package (the tar.gz file), although what exactly happens may also depend on 'stage' options of the \Sexpr's. ... However when I do the

Re: [R-pkg-devel] Macros in Rd files --- supplementary question.

2017-11-10 Thread Rolf Turner
On 10/11/17 09:29, Rolf Turner wrote: On 09/11/17 23:40, Duncan Murdoch wrote: On 09/11/2017 5:06 AM, Uwe Ligges wrote: Note the % may be a comment? Yes, and the body should be written in Rd markup, not R.  Working out the appropriate number of escapes is painful; I recommend trial

Re: [R-pkg-devel] Macros in Rd files.

2017-11-09 Thread Rolf Turner
On 09/11/17 23:40, Duncan Murdoch wrote: On 09/11/2017 5:06 AM, Uwe Ligges wrote: Note the % may be a comment? Yes, and the body should be written in Rd markup, not R.  Working out the appropriate number of escapes is painful; I recommend trial and error. This worked for me:  

Re: [R-pkg-devel] Macros in Rd files --- supplementary question ...

2017-11-09 Thread Rolf Turner
On 10/11/17 12:00, Duncan Murdoch wrote: [Rolf Turner wrote:] ... when I do the "R CMD build" thing, when it comes to the "* building the PDF package manual" step it says "Hmm ... looks like a package" (no shit, Sherlock!) and emits a huge amount of verbose

Re: [R-pkg-devel] Macros in Rd files --- supplementary question ...

2017-11-09 Thread Rolf Turner
On 10/11/17 13:10, François Michonneau wrote: A github search might be helpful to identify packages that define macros in their Rd files: https://github.com/search?utf8=%E2%9C%93=user%3Acran+extension%3Ard+newcommand=Code Thanks. Looking into it. cheers, Rolf -- Technical Editor ANZJS

[R-pkg-devel] Macros in Rd files.

2017-11-08 Thread Rolf Turner
as to what I *should* be doing? Ta. cheers, Rolf Turner -- Technical Editor ANZJS Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276 __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] [FORGED] separate Functions: and Datasets: indices?

2018-05-18 Thread Rolf Turner
On 19/05/18 07:44, Ben Bolker wrote: I notice that when I say help(package="MASS") I get separate indices for functions and data sets. AFAICT this doesn't seem to occur in other packages that have both functions and data sets (e.g. mgcv, lattice, lme4), despite the tags \docType{data}

Re: [R-pkg-devel] [FORGED] Corrections on build errors: do I need to bump version?

2018-06-15 Thread Rolf Turner
(and it is also prudent to keep a Changelog!) to the effect "Version i.j-k never installed on CRAN". But as I said, I am no expert. Younger and wiser heads may chip in with advice that is more sound. cheers, Rolf Turner -- Technical Editor ANZJS Department of Statistics

Re: [R-pkg-devel] Producing ß in help files.

2018-01-05 Thread Rolf Turner
On 06/01/18 16:19, Spencer Graves wrote: On 2018-01-05 20:52, Rolf Turner wrote: In a help file that I am writing I wish to cite an item by a bloke whose surname is Weiß.   Write it "Weiss".   See "https://en.wikipedia.org/wiki/%C3%9F;.   That name is

[R-pkg-devel] Producing ß in help files.

2018-01-05 Thread Rolf Turner
. Of course I could just write "Weiss", but that's *so* non-U! :-) Thanks for any ideas. cheers, Rolf Turner -- Technical Editor ANZJS Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276 __ R-package-devel@r-project.o

Re: [R-pkg-devel] Producing ß in help files --- very belated response.

2018-01-17 Thread Rolf Turner
in locales that cannot represent the encoded form). (This is intended to be used for individual words, not whole sentences or paragraphs.) Hence a preamble with, e.g. \encoding{latin1} or \encoding{UTF-8} and later writing \enc{Weiß}{Weiss} seems most appropriate here. Best, Uwe Ligges On 06.01

Re: [R-pkg-devel] [FORGED] Re: Depreciate Function

2018-02-08 Thread Rolf Turner
On 08/02/18 07:49, Rami Krispin wrote: I follow the example of the R Packages book about depreciating a function It would be helpful if you were to distinguish between the words "deprecate" and "depreciate". They are *VERY* different words. cheers, Rolf Turner

Re: [R-pkg-devel] [FORGED] Re: How to (conditionally) use an archived package (without Suggests)?

2018-02-25 Thread Rolf Turner
)) { cat("Package 'loon' is not available.\n") cat("Sorry 'bout that, chief!\n") return(invisible()) } Thereby no error is thrown. The user may be unhappy with the result, but he or she would have been similarly unhappy with the error, and there is no w

Re: [R-pkg-devel] [FORGED] Re: Recommendations about adding options to a package in order to change default values of some functions on-the-fly

2018-09-06 Thread Rolf Turner
is created in the *base* package, not in the global environment. E.g.: # Freshly started R session. > find(".Options") [1] "package:base" > options(mung="gorp") > find(".Options") [1] "package:base" > options("mung") $mung [

[R-pkg-devel] Puzzled about "locked environments".

2018-07-08 Thread Rolf Turner
fference is that AssetPricing involves no dynamically loaded Fortran code, whereas the package that I am currently fooling about with *does* involve such code. (But neither "foo()" not "bar()" make direct calls to .Fortran().) Grateful for any insights. cheers, Rolf Turner --

Re: [R-pkg-devel] [FORGED] Re: Puzzled about "locked environments".

2018-07-08 Thread Rolf Turner
/07/2018 6:57 PM, Rolf Turner wrote: Recently I experimented with assigning a variable within the environment of a function in a package that I am developing.  Slightly more explicitly: In a function "foo()" in the package, I have lines like: big <- 42 assign("big"

Re: [R-pkg-devel] [FORGED] Re: Getting error: Installation failed: Unknown username with my package

2018-07-13 Thread Rolf Turner
Fortune nomination!!! cheers, Rolf -- Technical Editor ANZJS Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276 On 14/07/18 11:52, Duncan Murdoch wrote: On 12/07/2018 11:10 PM, R. Mark Sharp wrote: I had a few week development hiatus with

[R-pkg-devel] Imported function cannot be found.

2019-01-17 Thread Rolf Turner
ase point me in the direction of correctness? Note that there is indeed a function cpp_object_initializer() in the Rcpp package. If more detail is required in order for guidance to be provided I am of course more than happy to supply such detail. cheers, Rolf Turner -- Honorary Research F

Re: [R-pkg-devel] Imported function cannot be found. (Solved.)

2019-01-17 Thread Rolf Turner
Thanks Dirk. Your suggestion worked perfectly. (See inline below.) On 1/18/19 2:50 PM, Dirk Eddelbuettel wrote: On 18 January 2019 at 11:59, Rolf Turner wrote: | | I am build a package in which there is a function which calls upon the | function brm() from the brms package. | | In my

Re: [R-pkg-devel] problems documenting data sets

2019-01-19 Thread Rolf Turner
It's hard to be sure without seeing your package, but it *sounds* as though you have a data set "Brom" (in /data ?) but you have *documented* a data set named "brom". So you should either change the name of the data set to "brom" or change your help file to document "Brom". It is of

Re: [R-pkg-devel] Imported function cannot be found. (Solved.)

2019-01-18 Thread Rolf Turner
On 1/18/19 4:08 PM, Dirk Eddelbuettel wrote: On 18 January 2019 at 15:13, Rolf Turner wrote: | | Thanks Dirk. Your suggestion worked perfectly. (See inline below.) Glad to hear. Something is off the rocker here as you should not have to do anything here besides importing brms::brm

Re: [R-pkg-devel] [FORGED] obscure syntax error

2019-03-22 Thread Rolf Turner
On 22/03/19 11:18 PM, Jim Lemon wrote: Hi, I have been attempting to check a new version of the prettyR package, and have struck a difficult problem. The check fails at the installation, and when I track the error, it is "Unexpected end of input" in the xtab function. I have tried a number of

[R-pkg-devel] Non-portable flags.

2019-06-04 Thread Rolf Turner
d do something about this note. (Non-portability is indeed an egregious sin.) How can I tell gcc not to use these flags? Note that the NOTE does not arise unless I use the "--as-cran" flag. Thanks for any insight. cheers, Rolf Turner P.S. I am running Ubuntu 18.04. Happy to supply any

Re: [R-pkg-devel] Non-portable flags.

2019-06-04 Thread Rolf Turner
On 4/06/19 4:51 PM, Dirk Eddelbuettel wrote: On 4 June 2019 at 16:42, Rolf Turner wrote: | I am working on a revision of my Iso package (which hasn't been revised | for quite a while) and have added in registration of Fortran routines | that are called directly by .Fortran() in R functions

Re: [R-pkg-devel] [FORGED] Mysterious NOTE when checking package

2019-06-03 Thread Rolf Turner
you that you should have done R CMD check prabclus_2.3-1.tar.gz (the latter being what "R CMD build prabclus" creates). If you did in fact do "R CMD check prabclus_2.3-1.tar.gz" then I apologise for being patronising. In this case I have no insight whatever as to wha

Re: [R-pkg-devel] [FORGED] Re: .Rd, LaTeX and Unicode

2019-06-19 Thread Rolf Turner
I may well be toadally out to luntch here (if so please excuse the added noise) but perhaps the following may be of some help or relevance. In a package that I wrote, I wanted to include the ß symbol in *.Rda file. After a lot of thrashing about (and seeking advice from younger and wiser

[R-pkg-devel] Add space between columns in \tabular{} in Rd files.

2019-07-12 Thread Rolf Turner
verlooking something) any equivalent in the Rd syntax of \hspace{} in LaTeX. Can anyone suggest any possibilities? Thanks. cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276 __

Re: [R-pkg-devel] Add space between columns in \tabular{} in Rd files.

2019-07-13 Thread Rolf Turner
On 13/07/19 9:38 PM, Duncan Murdoch wrote: On 12/07/2019 9:43 p.m., Rolf Turner wrote: This is fussing over a very minor issue, but ... well, I have OCD, I guess. I've tried adding extra "blank" columns between my real columns (extra \tab's with blank fields) but these have

Re: [R-pkg-devel] "Progress reports" for examples in packages.

2019-07-02 Thread Rolf Turner
On 2/07/19 11:13 PM, Ivan Krylov wrote: Could R CMD check be using valgrind to run the examples? Valgrind has to interpret CPU instructions manually to be able to warn about results of code execution depending on memory values it considers undefined, so it is much slower than execution on a

[R-pkg-devel] Warning about "serialize/load".

2019-07-14 Thread Rolf Turner
is the downside of setting version=2? What are the consequences/what is the downside of adding the dependency on R >= 3.5.0 into my DESCRIPTION file? Who gets shafted by each of these two possibilities? Which is recommended? Grateful for any pearls of wisdom. cheers, Rolf Turner -- Hon

Re: [R-pkg-devel] Warning about "serialize/load".

2019-07-14 Thread Rolf Turner
On 15/07/19 12:19 PM, Duncan Murdoch wrote: On 14/07/2019 7:52 p.m., Rolf Turner wrote: In a package (say "clyde") that I am building I save a number of datasets in clyde/data via something like: save(melvin,file="~//clyde/data/melvin.rda") When I build "clyde

Re: [R-pkg-devel] Warning about "serialize/load".

2019-07-14 Thread Rolf Turner
in a package, personally I would use version 2. That's my gut reaction as well. Thanks for the advice. cheers, Rolf On Sun, Jul 14, 2019 at 4:52 PM Rolf Turner <mailto:r.tur...@auckland.ac.nz>> wrote: In a package (say "clyde") that I am building I save a num

Re: [R-pkg-devel] "Progress reports" for examples in packages.

2019-07-02 Thread Rolf Turner
Many thanks to Henrik Bengtsson and Martin Maechler for pointing out that I can monitor progress by looking at the file "mypkg.Rcheck/mypkg-Ex.Rout" e.g. by using "tail -f". This strategy indeed revealed where the hangup was happening. I wrapped a line of the examples in \dontrun{}

Re: [R-pkg-devel] "Progress reports" for examples in packages.

2019-07-02 Thread Rolf Turner
reduce the amount of time needed for checking). The default value is nrep=100. R. Iñaki On Tue, 2 Jul 2019 at 11:32, Rolf Turner wrote: Many thanks to Henrik Bengtsson and Martin Maechler for pointing out that I can monitor progress by looking at the file "mypkg.Rcheck/mypk

[R-pkg-devel] "Progress reports" for examples in packages.

2019-07-01 Thread Rolf Turner
rather tedious. Is there any to get some diagnostic output as to, e.g. which example is being checked at the given moment? Doing R CMD check --help does not reveal any useful looking options. Thanks for any tips. cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics Unive

Re: [R-pkg-devel] "Progress reports" for examples in packages --- SOLVED.

2019-07-06 Thread Rolf Turner
which example was the culprit (by doing tail -f pkge-Ex.Rout), that I could use \dontrun{} on all of the *other* examples and get the same puzzling behaviour. This speeded up the process considerably. Don't know if there is any message to take away from all of the foregoing (other than that Rol

[R-pkg-devel] Problem loading package on Windoze.

2019-11-04 Thread Rolf Turner
I am developing a package ("ldEst" --- lethal dose estimation) for a group of consulting clients. (The package may in the future be released upon the unsuspecting public, but for the moment it has to stay confidential, sad to say.) The clients run Windoze (sad to say). In the past I have

Re: [R-pkg-devel] Problem loading package on Windoze --- update.

2019-11-04 Thread Rolf Turner
. Sorry for the noise. cheers, Rolf On 5/11/19 12:37 PM, Rolf Turner wrote: I am developing a package ("ldEst" --- lethal dose estimation) for a group of consulting clients.  (The package may in the future be released upon the unsuspecting public, but for the moment it h

Re: [R-pkg-devel] Cannot find -ludev

2019-12-09 Thread Rolf Turner
any hope of getting a useful response. I, at least, have no idea what you are talking about. It is possible, of course, that other, more enlightened, readers of this list may understand immediately. cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University

Re: [R-pkg-devel] [FORGED] Re: win-builder down?

2020-02-29 Thread Rolf Turner
ted a package about 18 hours ago, and so far not a sausage. Although it's churlish to complain, one gets used to a service that has been provided and gets annoyed when the service disappears. cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Phone:

Re: [R-pkg-devel] [FORGED] Re: win-builder down?

2020-02-29 Thread Rolf Turner
On 1/03/20 11:44 am, Max Kuhn wrote: On February 29, 2020 at 5:06:35 PM, Rolf Turner (r.tur...@auckland.ac.nz <mailto:r.tur...@auckland.ac.nz>) wrote: On 1/03/20 2:23 am, Hadley Wickham wrote: > Is it down again? I'm seeing the same problem again. > Hadley > > On Sat, Fe

Re: [R-pkg-devel] win-builder down?

2020-02-29 Thread Rolf Turner
On 1/03/20 2:40 pm, Hugh Parsonage wrote: Are CRAN staff located in Europe only? Is there a case to have a limited staff across multiple timezones with a rolling roster? Obviously if something is reported it’s best if it can be actioned immediately. Just to be clear, it is winbuilder, and

Re: [R-pkg-devel] [FORGED] Re: Help on Windows CRAN Check

2020-03-05 Thread Rolf Turner
On 5/03/20 9:04 pm, Tomas Kalibera wrote: On 3/5/20 4:26 AM, John Lawson wrote: I see this error on the CRAN Check report Fatal error: the condition has length > 1 The problem is that the condition t1 == "I" & t2 == "(" of the if statement in the code is not a scalar. Even though this

[R-pkg-devel] Building Windoze packages using rhub.

2020-03-05 Thread Rolf Turner
blah_1.1-1.zip, and this was indeed the required Windoze binary. Ta-da!!! Victory. I hope that those who are as mentally handicapped as I am find the foregoing useful. cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Phone: +64-9-373-7599 ext.

Re: [R-pkg-devel] Winbuilder queues jammed again?

2020-03-05 Thread Rolf Turner
On 6/03/20 11:41 am, Henrik Bengtsson wrote: 1. I'd guess it helps Uwe a bit you clarify exactly which queue you think is stuck - otherwise he has to check them all. They're independent. Yeah. Sorry. It's the R-release queue. 2. You can look at the different win-builder queues yourself

Re: [R-pkg-devel] Winbuilder queues jammed again?

2020-03-05 Thread Rolf Turner
On 6/03/20 11:14 am, Ben Bolker wrote: It's probably been suggested already in this thread, but perhaps rhub would work for you as an alternative? Quite possibly, but I have no real idea what "rhub" is. I've seen it referred to many times but the references always assume that you

Re: [R-pkg-devel] [FORGED] Re: "try" malfunctions on Ubuntu Linux 16.04 LTS, R-release, GCC

2020-02-03 Thread Rolf Turner
On 4/02/20 3:03 am, profjohn wrote: While there are huge benefits to upgrading, there is pain. It's that pain that keeps people on OS versions that are older but still in the LTS [1] period. Fortune nomination! cheers, Rolf [1] Long Term Support -- Honorary Research Fellow

Re: [R-pkg-devel] Appropriate keyword in help file.

2020-04-17 Thread Rolf Turner
On 17/04/20 8:41 pm, Uwe Ligges wrote: keywords are not mandatory. You can invent your own keywords and use them in \concept{} entries. Thanks Uwe. This has given me new insight and enlightenment! cheers, Rolf -- Honorary Research Fellow Department of Statistics University of Auckland

Re: [R-pkg-devel] Appropriate keyword in help file.

2020-04-16 Thread Rolf Turner
On 17/04/20 12:14 pm, Duncan Murdoch wrote: On 16/04/2020 8:12 p.m., Rolf Turner wrote: I'm writing a package (just for my own use, for the time being at least) that contains a function for estimating the parameters of a distribution.  The function is essentially a wrapper for fitdistr

[R-pkg-devel] Appropriate keyword in help file.

2020-04-16 Thread Rolf Turner
ot;point estimation") or something like that, but there isn't. I guess I can use "utilities" (???) or "misc", but these seem a bit unsatisfactory. Can anyone suggest a better idea? cheers, Rolf Turner -- Honorary Research Fellow Department of St

Re: [R-pkg-devel] [FORGED] help with ASAN

2020-03-25 Thread Rolf Turner
On 26/03/20 5:16 pm, Steven Scott wrote: Rolf, I will strive to do better. Please note that you load a package with library(...).  Just sayin'. Yeah, this issue has arisen/been discussed (on R-help I think) in the past. The rationale is that you use the library() function to "take a

Re: [R-pkg-devel] [FORGED] help with ASAN

2020-03-25 Thread Rolf Turner
that that can on occasion have unfortunate consequences. cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276 __ R-package-devel@r-project.org mailing list https://stat.ethz.ch

Re: [R-pkg-devel] [FORGED] Math symbols in .Rd files

2020-04-22 Thread Rolf Turner
On 23/04/20 11:03 am, Bert Gunter wrote: OS: Mac OSX Catalina R Version 3.6.3 UTF-8 declared as Encoding in DESCRIPTION file First, apologies: I'm nearly certain that this has been asked (many times) before, and I think I know the answer. But I need to verify. \eqn{...} allows me to insert

Re: [R-pkg-devel] Warning in dir.create(vd2 <- "vign_test") : 'vign_test' already exists

2021-06-30 Thread Rolf Turner
On Tue, 29 Jun 2021 14:09:34 -0500 Spencer Graves wrote: > Hello, All: > > > "R CMD check Ecfun_0.2-5.tar.gz" with R 4.1.0 under macOS > 11.4 gave "Warning in dir.create(vd2 <- "vign_test") : 'vign_test' > already exists". It ultimately said, "Status: OK", so maybe I > shouldn't

[R-pkg-devel] Note: significantly better compression could be obtained ...

2021-03-03 Thread Rolf Turner
emory. I'm running Ubuntu 20.04.2 and R version 4.0.4. Has anyone else ever been confronted with this bizarre phenomenon? Thanks for any tips. cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276

Re: [R-pkg-devel] Note: significantly better compression could be obtained ...

2021-03-04 Thread Rolf Turner
On Thu, 4 Mar 2021 12:09:51 +0100 Sebastian Meyer wrote: > Am 04.03.21 um 10:24 schrieb Rolf Turner: > > But this still leaves the question: Why the is > > R CMD check telling me to use the flag --resave-data, when I *just > > did that*??? > > Yes, indeed

Re: [R-pkg-devel] Vignettes from LaTeX files.

2021-03-06 Thread Rolf Turner
On Sat, 6 Mar 2021 08:12:40 -0600 Dirk Eddelbuettel wrote: > All the while we all carry on and just slap the four or five lines > onto the file make it an Sweave vignette _without any executed code_ > which works in base R today as a proxy for pure LaTeX, just as it has > for 25 or so years.

[R-pkg-devel] Using the amsmath package in a vignette.

2021-03-03 Thread Rolf Turner
to be substantially out of date. They refer to putting vignettes in /inst/doc and I'm pretty sure that this is no longer how it's done. (But I find all of the vignette business rather bewildering and confusing.) Grateful for any advice. cheers, Rolf Turner -- Honorary Research Fellow

Re: [R-pkg-devel] Using the amsmath package in a vignette.

2021-03-04 Thread Rolf Turner
admirably comprehensible, even to a Bear of Very Little Brain, such as my very good self. Haven't tried it yet, but it looks like I'll be able to cope. Thanks very much. cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Phone: +64-9-373-7599 e

Re: [R-pkg-devel] Note: significantly better compression could be obtained ...

2021-03-04 Thread Rolf Turner
On Thu, 4 Mar 2021 08:44:31 +0100 Sebastian Meyer wrote: > Am 04.03.21 um 01:41 schrieb Rolf Turner: > > > > ... by using R CMD build --resave-data > > > > But I *did* use that flag with my build command!!! And yet "R CMD > > check" seems t

Re: [R-pkg-devel] Using the amsmath package in a vignette.

2021-03-04 Thread Rolf Turner
On Wed, 3 Mar 2021 22:25:59 -0800 Ott Toomet wrote: > As I read the docs (a few months ago though), you are supposed to > include the pdf and encouraged to include sources, but the process to > get pdf from source may depend on your private > libraries/data/software, and is not replicated on

Re: [R-pkg-devel] Using the amsmath package in a vignette.

2021-03-04 Thread Rolf Turner
On Thu, 4 Mar 2021 07:39:31 +0100 Göran Broström wrote: > Hi Rolf, > > On 2021-03-04 03:51, Rolf Turner wrote: > > > > I am trying to create a vignette in a package (basically just using > > LaTeX code; no R calculations or data are involved). > > &g

Re: [R-pkg-devel] Vignettes from LaTeX files.

2021-03-07 Thread Rolf Turner
Thanks Dirk. Sorry for being so slow to express my thanks. I've been, uh, distracted. Have not yet tried out your demo; I will shortly. Thanks again. cheers, Rolf -- Honorary Research Fellow Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276

[R-pkg-devel] Is there a better way ...?

2021-10-20 Thread Rolf Turner
ities will ensue. As I say --- I think this can all be made to work. But Am I missing some "obvious" strategy? I.e. is there a better/simpler/less convoluted way of handling this problem? Grateful for any pearls of wisdom. cheers, Rolf Turner -- Hon

Re: [R-pkg-devel] Is there a better way ...?

2021-10-21 Thread Rolf Turner
On Thu, 21 Oct 2021 02:03:41 -0400 Duncan Murdoch wrote: > On 21/10/2021 12:40 a.m., Andrew Simmons wrote: > > I think the simplest answer is to store the variable in the > > functions frame. I'm assuming here that the only plot.foo needs > > access to .fooInfo, if not this can be changed. > >

[R-pkg-devel] Switch between \dontrun{ } and \donttest{ }.

2023-10-19 Thread Rolf Turner
variables? Can anyone give me any guidance? Thanks. cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Stats. Dep't. (secretaries) phone: +64-9-373-7599 ext. 89622 Home phone: +64-9-480-4619 __ R

Re: [R-pkg-devel] Package bioOED has been removed from CRAN just for personal reasons

2023-11-02 Thread Rolf Turner
ffensive in the email from Prof. Ripley that was copied and pasted into that posting. I find *your* email far more offensive than anything that Prof. Ripley has ever written. Get a life. cheers, Rolf Turner P.S. See fortunes::fortune(88). R. T. -- Honorary Research Fellow Department of

[R-pkg-devel] Testing.

2023-10-01 Thread Rolf Turner
I'm having a problem please excuse the noise. cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Stats. Dep't. (secretaries) phone: +64-9-373-7599 ext. 89622 Home phone: +64-9-480-4619

Re: [R-pkg-devel] Problem with "compacting" pdf files.

2023-10-01 Thread Rolf Turner
On Sun, 1 Oct 2023 15:22:34 +0300 Ivan Krylov wrote: > On Sun, 1 Oct 2023 08:31:31 + > Rolf Turner wrote: > > > I do not understand: > > >* the reference to inst/doc (there is no such directory) > > When you run R CMD build in order to produce a new

Re: [R-pkg-devel] Switch between \dontrun{ } and \donttest{ }.

2023-10-20 Thread Rolf Turner
On Fri, 20 Oct 2023 05:34:26 -0400 Duncan Murdoch wrote: > On 19/10/2023 8:17 p.m., Rolf Turner wrote: > > > > In a package that I maintain, there are examples, in the *.Rd files, > > that take an excruciatingly long time to run. This makes package > >

[R-pkg-devel] Problem with "additional repository".

2023-10-15 Thread Rolf Turner
e this problem? I guess I could simply *not* Suggest ionChannelData. But what then, is the point of the option of including an Additional_repositories field in the DESCRIPTION file? cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Stats. Dep't. (secretar

Re: [R-pkg-devel] Inquiry

2022-09-26 Thread Rolf Turner
by the > user. > } > \author{Hoo Hee > \email{hoo@somewhere.otr} > } > \keyword{internal} Then if someone types, e.g., "help(clyde)" they get the processed form of the forgoing *.Rd file displayed, and are thereby told that they probably shou

Re: [R-pkg-devel] Inquiry

2022-09-28 Thread Rolf Turner
On Wed, 28 Sep 2022 05:19:06 -0400 Duncan Murdoch wrote: > However, some users are package writers. Once their package is on > CRAN, it can be really inconvenient for you to change the behaviour > of internal functions that they use, because CRAN will object if your > change breaks their

Re: [R-pkg-devel] R Package AQLSchemes

2022-10-25 Thread Rolf Turner
ge AQLSChemes was > removed from CRAN, and what do I need to do to restore it to CRAN? As Roy Mendelssohn has pointed out, AQLSChemes is there on CRAN. Perhaps you need to re-install it on your machine. cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of A

Re: [R-pkg-devel] R Package AQLSchemes

2022-10-25 Thread Rolf Turner
On Wed, 26 Oct 2022 10:42:54 +1300 Rolf Turner wrote: > On Tue, 25 Oct 2022 15:01:18 -0600 > John Lawson wrote: > > > I published the R Package AQLSChemes on CRAN in May 2022. The book > > "An Introduction to Acceptance Sampling and SPC with R" was > &g

Re: [R-pkg-devel] Guidance on splitting up an R package?

2022-10-12 Thread Rolf Turner
with CRAN about such problems. Allow plenty of time between submitting successive sub-packages. Give plenty of notice to users and maintainers of dependent packages. Hope this helps. cheers, Rolf Turner (on behalf of Adrian Baddeley and Ege Rubak) P.S. I hope that this posting is not too late t

Re: [R-pkg-devel] Inquiry

2022-09-27 Thread Rolf Turner
from shooting themselves in the foot. However if they really want to shoot themselves in the foot, that's their call. Anyway, users can always get at non-exported functions using ":::". cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Aucklan

[R-pkg-devel] Fw: Guidance on splitting up an R package?

2023-06-23 Thread Rolf Turner
N about such problems. Allow plenty of time between submitting successive sub-packages. Give plenty of notice to users and maintainers of dependent packages. Hope this helps. cheers, Rolf Turner (on behalf of Adrian Baddeley and Ege Rubak) -- Honorary Research Fellow Department of Statistics

Re: [R-pkg-devel] Change package name

2023-06-21 Thread Rolf Turner
ageStartupMessage(paste(pkg, ver)) > msg <- paste("\n This package, \"foo\" is now", > " deprecated. Users", > "\n should install and use its", > " successor \"bar\".\n&quo

[R-pkg-devel] Package version on CRAN not up-to-date.

2024-02-12 Thread Rolf Turner
est an explanation for this phenomenon? (I *hate* being ignored! ️ ) cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Stats. Dep't. (secretaries) phone: +64-9-373-7599 ext. 89622 Home phone: +64-9-480-4619 __

Re: [R-pkg-devel] checking CRAN incoming feasibility

2024-01-15 Thread Rolf Turner
hough. I suspect > the initial connection may have been faulty. Well, it may not have been 10 minutes, but it was at least 5. The problem is persistent/repeatable. I don't believe that there is any faulty connection. Thanks for the insight. cheers, Rolf Turner -- Honorary Research Fellow De

[R-pkg-devel] checking CRAN incoming feasibility

2024-01-15 Thread Rolf Turner
seems an eternity (5 or 10 minutes). Why does this step take so long? Surely the software just has to check that there is web connection to a CRAN mirror. I would have thought that this would be executed virtually instantaneously. cheers, Rolf Turner -- Honorary Research Fellow Department

[R-pkg-devel] Warning when the --as-cran flag is used, not otherwise.

2024-01-16 Thread Rolf Turner
k on "Eglhmm". Thanks. cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Stats. Dep't. (secretaries) phone: +64-9-373-7599 ext. 89622 Home phone: +64-9-480-4619 \name{monoCyteSim} \alias{monoCyteSim} \alias{bivarSim} \alias{ccSim}

Re: [R-pkg-devel] Warning when the --as-cran flag is used, not otherwise.

2024-01-16 Thread Rolf Turner
d the data sets bivarSim and ccCM, whence the warning. Makes perfect sense now. It turns out I can make the warning go away by removing the lines \usage{ bivarSim ccSim } They serve no useful purpose and are not required. Thanks again. cheers, Rolf Turner -- Honorary Research Fe

Re: [R-pkg-devel] Problem with loading package "devtools" from CRAN.

2024-04-29 Thread Rolf Turner
Well, I just uninstalled the devtools that I had installed from github and ran install.packages("devtools",lib="/home/rolf/Rlib") No error message this time; the install went just fine. The explanation may lie in the plethora of packages that I re-installed when I invoked

[R-pkg-devel] Problem with loading package "devtools" from CRAN.

2024-04-28 Thread Rolf Turner
devtools seemed to get installed. Now "library(devtools)" runs without error, so I am happy with my own situation. However there seems to be a problem with the devtools package on CRAN, which ought to be fixed. cheers, Rolf Turner -- Honorary Research Fellow Department

[R-pkg-devel] Export everything whose name does not start with ".".

2024-03-15 Thread Rolf Turner
that I was *sure* I had saved the emails pertaining to this discussion, but now I cannot find any trace of what I thought I'd saved!] cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Stats. Dep't. (secretaries) phone: +64-9-373-7599 ext. 89

Re: [R-pkg-devel] Export everything whose name does not start with ".".

2024-03-15 Thread Rolf Turner
On Sat, 16 Mar 2024 11:39:28 +1100 Hugh Parsonage wrote: > It would have been helpful for that person to specify their candidate > regex, rather than just saying it could be simpler. Actually they *did* specify; the problem was that my ageing senile memory could not recall the specification.

Re: [R-pkg-devel] Package required but not available: ‘arrow’

2024-02-24 Thread Rolf Turner
On Fri, 23 Feb 2024 10:19:41 -0600 Dirk Eddelbuettel wrote: > > On 23 February 2024 at 15:53, Leo Mada wrote: > | Dear Dirk & R-Members, > | > | It seems that the version number is not incremented: > | # Archived > | arrow_14.0.2.1.tar.gz   2024-02-08 11:57  3.9M > | # Pending > |

  1   2   >