Re: [R-pkg-devel] new version jumps in minor?

2024-11-04 Thread Rolf Turner
racters". However you might save yourself some "NOTEs" by adhering to the "l.m.n" convention and incrementing the components sequentially. cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Stats. Dep't. (secretaries

Re: [R-pkg-devel] rhub (version 2) baulking at building a vignette.

2024-08-03 Thread Rolf Turner
Thanks to Ivan Krylov and Dirk Eddelbuettel who came to my rescue. At first I thought that Dirk's suggestion ("the zero-dependency approach" due to Mark van der Loo) was exactly what I needed. But this turned out not to work; rhub_check() still failed with a complaint about needing pdflatex. I

[R-pkg-devel] rhub (version 2) baulking at building a vignette.

2024-08-02 Thread Rolf Turner
com/rolfTurner/kanova.git Can anyone give me some avuncular advice as to how: (a) to get rhub_check() to use the pre-compiled file testStat.pdf, or (b) to make pdflatex available to rhub_check() (c) to do something else that will permit me to build a Windoze binary using rhub? Grateful for a

Re: [R-pkg-devel] Is winbuilder "offline"?

2024-07-20 Thread Rolf Turner
On Sat, 20 Jul 2024 06:20:00 +0200 Uwe Ligges wrote: > > Strange. Your package has been processed. Have you tried again? > Are you sure the maintainer address is specified correctly and that > the auto generated message did not make it onto your spam box? > > If it still does not work, please s

Re: [R-pkg-devel] Is winbuilder "offline"?

2024-07-19 Thread Rolf Turner
On Fri, 19 Jul 2024 10:18:27 +0200 Uwe Ligges wrote: > Not that I know, which queue do you mean? Apologies for my ignorance but I don't understand the question. I did not choose a "queue". I simply (as I have always done in the past) pointed my browser at https://win-builder.r-project.org/ .

[R-pkg-devel] Is winbuilder "offline"?

2024-07-18 Thread Rolf Turner
I submitted a package to winbuilder, yesterday. Twice. No response of any sort. Is the system down, for some reason? Anyone know? Ta. cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Stats. Dep't. (secretaries) phone: +64-

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 remotes::ins

[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

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.

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

2024-03-15 Thread Rolf Turner
rates me is 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:

Re: [R-pkg-devel] RFC: C backtraces for R CMD check via just-in-time debugging

2024-03-03 Thread Rolf Turner
Could > it be a good idea to add this on CRAN? If yes, how can I help? > Sounds like an excellent idea to me, but I am not really qualified to judge. Most of this stuff is was over my head. cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of

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 > | arrow_14.0.

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

2024-02-12 Thread Rolf Turner
gest 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] Warning when the --as-cran flag is used, not otherwise.

2024-01-16 Thread Rolf Turner
o find 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

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

2024-01-16 Thread Rolf Turner
near the bottom and click 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} \

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

[R-pkg-devel] checking CRAN incoming feasibility

2024-01-15 Thread Rolf Turner
what 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 Departme

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

2023-11-02 Thread Rolf Turner
or offensive 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 o

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 > > checking e

[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-pkg-devel] Problem with "additional repository".

2023-10-15 Thread Rolf Turner
I do to resolve 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 Sta

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 Iso

[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-

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

2023-06-23 Thread Rolf Turner
e latest versions are used). Despite this, you can expect to have correspondence 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 behal

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

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

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] 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

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

2022-10-12 Thread Rolf Turner
e that the latest versions are used). Despite this, you can expect to have correspondence 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

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 te

Re: [R-pkg-devel] Inquiry

2022-09-27 Thread Rolf Turner
om 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

Re: [R-pkg-devel] Inquiry

2022-09-26 Thread Rolf Turner
ended to be called directly 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 t

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

2021-10-20 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] Is there a better way ...?

2021-10-20 Thread Rolf Turner
nstance. Elsewise ambiguities 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. chee

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 worr

Re: [R-pkg-devel] R CMD build --resave-data not working

2021-03-11 Thread Rolf Turner
hink the fix should also be ported > to R-patched and appear in the NEWS. A temporary workaround (again, thanks to Sebastian Meyer) is to run tools::resaveRdaFiles() on your data directory prior to building. cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics Univers

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 _

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] Vignettes from LaTeX files.

2021-03-04 Thread Rolf Turner
deeply grateful to Henrik. 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/mailman/listinfo/r-package

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! I&

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 to thi

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 CR

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). > > > >

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

2021-03-04 Thread Rolf Turner
ooks 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: +

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

2021-03-03 Thread Rolf Turner
seem 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 R

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

2021-03-03 Thread Rolf Turner
a uses 1611312 bytes of memory. 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-759

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 a

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 fit

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

2020-04-16 Thread Rolf Turner
(or "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 Re

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 pack

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.et

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

2020-03-05 Thread Rolf Turner
ctu, took me to a page from which I could download 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

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 know

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 vi

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

2020-03-05 Thread Rolf Turner
;t be sure. Maybe I just *intended* to, but then forgot, or messed up the submission procedure, or buggered something else up. There seems to be no way to check that I really did make a submission. Such a facility would be, uh, nice. Said he, plaintively. cheers, Rolf Turner -- Honorary R

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

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 n

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 Sa

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

2020-02-29 Thread Rolf Turner
Submitted 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 A

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 Departmen

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 of

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

2019-11-04 Thread Rolf Turner
ed me. 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

[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] Error ... could not find function ...

2019-08-14 Thread Rolf Turner
On 14/08/19 8:30 PM, Dirk Eddelbuettel wrote: On 14 August 2019 at 17:44, Rolf Turner wrote: | > Error in cpp_object_initializer(.self, .refClassDef, ...) : | > could not find function "cpp_object_initializer" This can happen when a package using Rcpp Modules is not fully lo

[R-pkg-devel] Error ... could not find function ...

2019-08-13 Thread Rolf Turner
uot;) in my NAMESPACE file? What else can I try? Thanks for any insights. [1] Not to be confused with a birth control device. cheers, Rolf Turner P.S. I could probably, with a bit of effort, put together a toy package that would yield a reprex, if this is deemed necessary. R. T. -- Honorar

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
ibility 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

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

2019-07-14 Thread Rolf Turner
/what 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 Turn

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

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

2019-07-12 Thread Rolf Turner
haps I'm overlooking 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] "Progress reports" for examples in packages --- SOLVED.

2019-07-06 Thread Rolf Turner
acked down 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 (othe

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 re

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

2019-07-02 Thread Rolf Turner
small so as to 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 "my

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{} an

[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] [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 h

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 func

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

2019-06-04 Thread Rolf Turner
should 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 suppl

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] 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

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 course

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] 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

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

2019-01-17 Thread Rolf Turner
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] [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
) .Options 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"

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 github.com/rmsharp/np

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

2018-07-08 Thread Rolf Turner
h wrote: On 08/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(

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

2018-07-08 Thread Rolf Turner
ence 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] Corrections on build errors: do I need to bump version?

2018-06-14 Thread Rolf Turner
gelog (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 Statistic

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} and

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

2018-02-25 Thread Rolf Turner
tly = TRUE)) { 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

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] Producing ß in help files --- very belated response.

2018-01-17 Thread Rolf Turner
ales 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

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 na

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

2018-01-05 Thread Rolf Turner
pful. 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-de

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 and

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&q=user%3Acran+extension%3Ard+newcommand&type=Code Thanks. Looking into it. cheers, Rolf -- Technical Editor ANZ

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
... Mr. Speaker. 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

  1   2   >