Re: [R-pkg-devel] No email with confirmation link on resubmission of package

2024-06-05 Thread Duncan Murdoch
to resubmit it in some different way? No, if you didn't get the confirmation link, then you haven't submitted it. You can use `foghorn::cran_incoming()` to see what's in the CRAN incoming queue. Duncan Murdoch __ R-package-devel@r-project.

Re: [R-pkg-devel] Including "Rmath.h" in C code for an R package

2024-06-03 Thread Duncan Murdoch
On 2024-06-02 7:39 p.m., Iris Simmons wrote: To avoid the remapping of beta to Rf_beta, you should define R_NO_REMAP_RMATH before you include Rmath: #define R_NO_REMAP_RMATH #include ... and then remember to include the "Rf_" prefix on the routines that you do want to use. Dunc

Re: [R-pkg-devel] Help with detritus on temporary directory note

2024-05-30 Thread Duncan Murdoch
was detected at the end? This problem has two sides. The side that R CMD check is giving you NOTEs about is that _examples and tests_ are requried to keep the global state of the system intact. Only some parts of the global state: examples can create variables in globalenv(). Duncan Murdoch

Re: [R-pkg-devel] different build tools

2024-05-28 Thread Duncan Murdoch
of their forums. By the way, RStudio has project and global options that affect its builds; the default uses devtools, but I generally deselect that, and go straight to 1. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch

Re: [Rd] Segfault when parsing UTF-8 text with srcrefs

2024-05-28 Thread Duncan Murdoch
a0 run_REngineRmainloop + 260 14 R 0x102d1a64c -[REngine runREPL] + 124 15 R 0x102d0dd90 main + 588 16 dyld 0x188fae0e0 start + 2360 Duncan Murdoch _

Re: [Rd] Keep class attribute when applying c() to hexmodes

2024-05-27 Thread Duncan Murdoch
hould submit a patch containing it to bugs.r-project.org. Based on c.Date, here's a first attempt: c.hexmode <- function(...) as.hexmode(c(unlist(lapply(list(...), function(e) unclass(as.hexmode(e)) If you want this to be incorporated into R, you should test

Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP

2024-05-23 Thread Duncan Murdoch
On 2024-05-23 11:49 a.m., Dirk Eddelbuettel wrote: On 22 May 2024 at 14:03, Duncan Murdoch wrote: | On 2024-05-22 10:18 a.m., Dirk Eddelbuettel wrote: | > | > On 22 May 2024 at 13:54, Nixon, Michelle Pistner wrote: | > | Thank you both for your responses and help! Kurt-- your mess

Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP

2024-05-22 Thread Duncan Murdoch
On 2024-05-22 10:18 a.m., Dirk Eddelbuettel wrote: On 22 May 2024 at 13:54, Nixon, Michelle Pistner wrote: | Thank you both for your responses and help! Kurt-- your message makes a lot of | sense. I'll try to debug soon and will reach out if I have more questions. Interesting. Kurt, is there

[Rd] config.site settings for M3 Mac typo in manual?

2024-05-20 Thread Duncan Murdoch
I've just upgraded to an M3 Mac laptop, and I'm working through getting the right configure settings to build R. The Installation and Administration manual says to have this in config.site: FFLAGS="-g -O2 -mmacos-version-min=11.0" FCFLAGS="-g -O2 -mmacos-version-min=11.0" but those give an

Re: [R-pkg-devel] [External] Re: Assistance Needed to Resolve CRAN Submission Note

2024-05-18 Thread Duncan Murdoch
I don't think that will ever happen. It only happens when a user tries an "--as-cran" check, but doesn't have a current version of tidy installed. CRAN does have the up-to-date versions installed, so they won't see this. Duncan Murdoch On 2024-05-18 5:10 p.m., Richard M. Heibe

Re: [R-pkg-devel] CRAN packages dependency on bioconductor packages

2024-05-16 Thread Duncan Murdoch
e required to be a hard dependency, but that seems too strong: most package users don't need to rebuild vignettes. Duncan Murdoch The error from the additional "noSuggests" check (<https://www.stats.ox.ac.uk/pub/bdr/noSuggests/README.txt>) shows it cannot be rebuild if BiocStyle is

Re: [Rd] FR: Customize background colour of row and column headers for the View output

2024-05-15 Thread Duncan Murdoch
A criticism of your suggestion is that it is not backwards compatible. Does that matter? I don't know, but probably not. The X11 version of the viewer does what you suggest. Duncan Murdoch On 2024-05-15 2:20 a.m., Iago Giné Vázquez wrote: About the decisions: Actually, the same way

Re: [Rd] FR: Customize background colour of row and column headers for the View output

2024-05-14 Thread Duncan Murdoch
), but I could help with the design. Duncan Murdoch On 2024-05-14 5:25 a.m., Iago Giné Vázquez wrote: Thanks again Duncan and Ivan, I forward then the email to R-devel. Summarizing, the dataedit options (in RGui preferences or RConsole) to colouring the View output do not have effect

Re: [R-pkg-devel] Trouble with dependencies on phyloseq and microViz

2024-05-04 Thread Duncan Murdoch
esn't matter that it's not on CRAN. Have you tried submitting your package to CRAN? If so, could you show us the error you received? Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Error handling in C code

2024-05-03 Thread Duncan Murdoch
uot;, etc. Perhaps you turned off the aliasing? Duncan Murdoch On 03/05/2024 11:17 a.m., Jarrod Hadfield wrote: Hi, I have an R library with C code in it. It has failed the CRAN checks for Debian. The problem is with the error function being undefined. Section 6.2 of the Writing R e

Re: [Rd] read.csv

2024-04-16 Thread Duncan Murdoch
put as Jing Hua: Input filename.csv: Gene,SNP,prot,log10p YWHAE,13:62129097_C_T,1433E,7.35 YWHAE,4:72617557_T_TA,1433E,7.73 Output: > read.csv("filename.csv") Gene SNP prot log10p 1 YWHAE 13:62129097_C_T 1433 7.35 2 YWHAE 4:72617557_T_TA 1433 7.73 Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [R-pkg-devel] error in windows R-devel builder, but not anywhere else

2024-04-13 Thread Duncan Murdoch
only sparingly. I don't know why you didn't see this on the other platforms; maybe they just haven't been rebuilt recently. Duncan Murdoch On 13/04/2024 5:35 a.m., Tony Wilkes wrote: Hi everyone, I am updating my R package (tinycodet), and I have checked my R-package in all operating systems

Re: [Rd] Repeated library() of one package with different include.only= entries

2024-04-11 Thread Duncan Murdoch
sing around with the user's search list, which may have been intentionally set to include only one of those. So I'd suggest changing the docs to say "[library and require] check and update the list of currently attached packages and do not reload a namespace which is already loaded. If a package is already attached, no change will be made." Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [R-pkg-devel] Need help with "Lost braces" in R under development checks

2024-04-07 Thread Duncan Murdoch
to \doi, but it only takes one. I would have thought that would be fine, but apparently not. So add a space after "\doi{10.2307/3071950}" and/or remove the braces around "{Relevance of community structure in assessing indeterminacy of ecological predictions}". Dunc

Re: [Rd] Bug in out-of-bounds assignment of list object to expression() vector

2024-04-05 Thread Duncan Murdoch
Yes, definitely looks like a bug. Are you able to submit it to bugs.r-project.org? Duncan Murdoch On 05/04/2024 8:15 a.m., June Choe wrote: There seems to be a bug in out-of-bounds assignment of list objects to an expression() vector. Tested on release and devel. (Many thanks to folks over

Re: [Rd] RSS Feed of NEWS needs a hand

2024-04-02 Thread Duncan Murdoch
On 02/04/2024 8:50 a.m., Dirk Eddelbuettel wrote: On 2 April 2024 at 07:37, Dirk Eddelbuettel wrote: | | On 2 April 2024 at 08:21, Duncan Murdoch wrote: | | I have just added R-4-4-branch to the feeds. I think I've also fixed | | the \I issue, so today's news includes a long list of old

Re: [Rd] RSS Feed of NEWS needs a hand

2024-04-02 Thread Duncan Murdoch
I have just added R-4-4-branch to the feeds. I think I've also fixed the \I issue, so today's news includes a long list of old changes. Duncan Murdoch On 16/03/2024 8:47 a.m., Duncan Murdoch wrote: I have now put the files online at https://github.com/dmurdoch/diffnews . It seemed like too

Re: [Rd] declare and validate options

2024-03-29 Thread Duncan Murdoch
operator: it was in magrittr (and I think another package, but I forget the name) first, was widely adopted, then a simpler version was brought into base R. Duncan Murdoch Le ven. 29 mars 2024 à 16:25, Duncan Murdoch <mailto:murdoch.dun...@gmail.com>> a écrit : On 29/03/2024

Re: [Rd] declare and validate options

2024-03-29 Thread Duncan Murdoch
could be made simple enough and bulletproof and were widely adopted, maybe they'd be copied into one of the base packages, but really the only need for that would be to support validation on setting, rather than validation on retrieval. Duncan Murdoch

Re: [Rd] RSS Feed of NEWS needs a hand

2024-03-16 Thread Duncan Murdoch
I have now put the files online at https://github.com/dmurdoch/diffnews . It seemed like too much trouble to include the SVN history, so this is just a copy of the current version of the files. Duncan Murdoch On 15/03/2024 12:04 p.m., Lluís Revilla wrote: Hi! Thanks for this service

Re: [Rd] RSS Feed of NEWS needs a hand

2024-03-15 Thread Duncan Murdoch
). Duncan Murdoch On 15/03/2024 12:04 p.m., Lluís Revilla wrote: Hi! Thanks for this service! It is very helpful to know what is being developed. I distribute the content to other venues and I noticed some times that the updates are duplicated. For example, the sentence "‘is.R()’ is depre

Re: [R-pkg-devel] Removing import(methods) stops exporting S4 "meta name"

2024-03-14 Thread Duncan Murdoch
.frame -> [ -> [.data.table -> [.data.frame Execution halted I'm pretty sure that import should not be made, but I don't know the intention of this example, or what the correct fix would be. Duncan Murdoch On 14/03/2024 2:34 p.m., Michael Chirico wrote: In an effort to streamline our

Re: [R-pkg-devel] Submission after archived version

2024-03-12 Thread Duncan Murdoch
positive, but what it says is that your checks created a file called metabolomics_data.csv some place where it shouldn't have created it. You should only be writing in the temp directory, and you should clean up afterwards. Duncan Murdoch __

Re: [R-pkg-devel] [EXTERN] Re: [EXTERN] Re: [EXTERN] Re: @doctype is deprecated. need help for r package documentation

2024-03-12 Thread Duncan Murdoch
to open in the default browser on MacOS. See ?browseURL for details of how to specify other browsers. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] R CHECK warning about new S3 generic/method consistency

2024-03-11 Thread Duncan Murdoch
y value. The usual way to handle this is to include both x and y in all methods, but document some of them to say that y is ignored. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [Rd] Vignettes with long compute time

2024-03-11 Thread Duncan Murdoch
, but you could always write the code something like this: if (Sys.getenv("RUN_SLOW_CHUNKS", 0)) { ... the slow code goes here ... } else cat("This chunk takes several hours to compute. If you want to run it, set the environment variable RUN_SLOW_CHUNKS to

Re: [Rd] R6 "classname" and generator name

2024-03-11 Thread Duncan Murdoch
don't have any idea if this is intentional or not. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [R-pkg-devel] [External] [External] RcmdrPlugin.HH_1.1-48.tar.gz

2024-03-07 Thread Duncan Murdoch
On 07/03/2024 4:16 a.m., Ivan Krylov wrote: On Wed, 6 Mar 2024 13:46:55 -0500 Duncan Murdoch wrote: is this just a more or less harmless error, thinking that the dot needs escaping I think it's this one. You are absolutely right that the dot doesn't need escaping in either TRE (which

Re: [R-pkg-devel] [External] [External] RcmdrPlugin.HH_1.1-48.tar.gz

2024-03-06 Thread Duncan Murdoch
and about that suggestion (which is taken from WRE, I'm not blaming Rich for it): why include the backslash in the negated character class? Does R ever create variables starting with a backslash, or is this just a more or less harmless error, thinking that the dot needs escaping? Duncan Murdo

Re: [R-pkg-devel] RcmdrPlugin.HH_1.1-48.tar.gz

2024-03-05 Thread Duncan Murdoch
, and it matches that variable. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Suggesting an archived package in the DESCRIPTION file

2024-03-05 Thread Duncan Murdoch
On 05/03/2024 2:26 p.m., Dirk Eddelbuettel wrote: On 5 March 2024 at 13:28, Duncan Murdoch wrote: | What I'm seeing is that the tags are ignored, and it is distributing the | HEAD of the main branch. I don't think most users should be using that | version: in my packages it won't have had

Re: [R-pkg-devel] Suggesting an archived package in the DESCRIPTION file

2024-03-05 Thread Duncan Murdoch
On 05/03/2024 1:04 p.m., Dirk Eddelbuettel wrote: On 5 March 2024 at 11:56, Duncan Murdoch wrote: | I have mixed feelings about r-universe. On the one hand, it is really | nicely put together, and it offers the service described above. On the | other, it's probably a bad idea to follow its

Re: [R-pkg-devel] Suggesting an archived package in the DESCRIPTION file

2024-03-05 Thread Duncan Murdoch
hor doesn't know it happened? I found out about "my" site dmurdoch.r-universe.dev today, but it seems to have existed for quite a while. Duncan Murdoch On Tue, Mar 5, 2024 at 11:56 AM Duncan Murdoch <mailto:murdoch.dun...@gmail.com>> wrote: On 05/03/2024 8:02 a.m., Dirk Edd

Re: [R-pkg-devel] Suggesting an archived package in the DESCRIPTION file

2024-03-05 Thread Duncan Murdoch
On 05/03/2024 8:02 a.m., Dirk Eddelbuettel wrote: On 5 March 2024 at 06:25, Duncan Murdoch wrote: | You could make a compatible version of `survivalmodels` available on a | non-CRAN website, and refer to that website in the | Additional_repositories field of DESCRIPTION. Every r-universe sub

Re: [R-pkg-devel] Suggesting an archived package in the DESCRIPTION file

2024-03-05 Thread Duncan Murdoch
ed package. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [Rd] [External] Re: capture "->"

2024-03-04 Thread Duncan Murdoch
TRUE x2 9 1 12 1 13 9 10exprFALSE The expressions produced are the same, but the parse data is different. Duncan Murdoch On 04/03/2024 11:51 a.m., Bill Dunlap wrote: Maybe someone has already suggested this, but if your functions accepted strings you could use sub o

Re: [Rd] capture "->"

2024-03-02 Thread Duncan Murdoch
operands reversed when it sees that token. Duncan Murdoch On 02/03/2024 6:06 a.m., Adrian Dușa wrote: That would have been an elegant solution, but it doesn't seem to work: `->` <- `+` 1 -> 3 # expecting 4 Error in 3 <- 1 : invalid (do_set) left-hand side to assignment It is possi

Re: [Rd] capture "->"

2024-03-01 Thread Duncan Murdoch
On 01/03/2024 8:51 a.m., Dmitri Popavenko wrote: On Fri, Mar 1, 2024 at 1:00 PM Duncan Murdoch <mailto:murdoch.dun...@gmail.com>> wrote: ... I was thinking more of you doing something like   parse(text = "A -> B", keep.source = TRUE) I forge

Re: [Rd] capture "->"

2024-03-01 Thread Duncan Murdoch
On 01/03/2024 5:25 a.m., Dmitri Popavenko wrote: Dear Duncan, On Fri, Mar 1, 2024 at 11:30 AM Duncan Murdoch <mailto:murdoch.dun...@gmail.com>> wrote: ... If you parse it with srcrefs, you could look at the source.  The parser doesn't record whether it was A

Re: [Rd] capture "->"

2024-03-01 Thread Duncan Murdoch
I wonder if there is any possibility whatsoever to signal the use of -> instead of <- If you parse it with srcrefs, you could look at the source. The parser doesn't record whether it was A -> B or B <- A anywhere else. Duncan Murdoch __

Re: [R-pkg-devel] CRAN checks for release of a package with new vignette engine

2024-02-26 Thread Duncan Murdoch
tools were not available. Duncan Murdoch On 26/02/2024 10:34 a.m., Christophe Dervieux wrote: Hi, I am trying to release a new version of the quarto R package. This new version is adding support for a new vignette engine that will use quarto CLI (https://quarto.org) when available. The vignettes

Re: [R-pkg-devel] CRAN Package Check Note: Warning: trimming empty

2024-02-24 Thread Duncan Murdoch
anyone provide insights or suggestions on how to resolve this warning? What is in that file at those locations? Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

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

2024-02-22 Thread Duncan Murdoch
. Another choice would be to work with the arrow developers to get it to install on the systems where it fails now, but it's a big package, so that would likely be a lot harder. Duncan Murdoch On 21/02/2024 5:15 p.m., Park, Sung Jae wrote: Hi, I’m writing to seek assistance regarding an issue we’re

Re: [Rd] Bug in comparison of language objects?

2024-02-20 Thread Duncan Murdoch
On 20/02/2024 8:03 a.m., Duncan Murdoch wrote: I noticed the following odd behaviour today: exprs <- expression( mean(a), mean(b), { a }, { b } ) exprs[[1]] == exprs[[2]] #> [1] FALSE exprs[[3]] == exprs[[4]] #> [1] TRUE Does it make sense to anyone that the

[Rd] Bug in comparison of language objects?

2024-02-20 Thread Duncan Murdoch
contained in braces doesn't? Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Suggestion: simplify trace() interface

2024-02-19 Thread Duncan Murdoch
*only* way to limit tracing to some copies of the function, and if "where" is omitted, trace() should attempt to modify all copies? Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [R-pkg-devel] Conversion failure in 'mbcsToSbcs'

2024-02-19 Thread Duncan Murdoch
Removing (or moving to inst) the unrecognized file should be sufficient. Duncan Murdoch On 19/02/2024 7:27 a.m., Package Maintainer wrote: Hello all: Thank you both for your advice. I attempted to upload the latest version to CRAN, and again received the notification that the package did

Re: [R-pkg-devel] Conversion failure in 'mbcsToSbcs'

2024-02-17 Thread Duncan Murdoch
using knitr for Rnw documents instead of Sweave. It will require a few changes, but in general it's more flexible and works a bit better. Duncan Murdoch On 17/02/2024 7:51 a.m., Package Maintainer wrote: Dear Ivan: Thank you for your help again. Thanks for your suggestion to use cai

Re: [Rd] round.Date and trunc.Date not working / implemented

2024-02-09 Thread Duncan Murdoch
On 08/02/2024 7:58 p.m., Jiří Moravec wrote: > This is a workaround, and could be the basis for a round.Date improvement: >   date <- Sys.Date() >   as.Date(round(as.POSIXct(date), "years")) >   as.Date(round(as.POSIXct(Sys.Date() + 180), "years"))

Re: [Rd] round.Date and trunc.Date not working / implemented

2024-02-08 Thread Duncan Murdoch
This is a workaround, and could be the basis for a round.Date improvement: date <- Sys.Date() as.Date(round(as.POSIXct(date), "years")) as.Date(round(as.POSIXct(Sys.Date() + 180), "years")) Duncan Murdoch On 08/02/2024 12:23 p.m., Henrik Bengtsson wrote: Techni

Re: [R-pkg-devel] Package failing reverse dependency checks

2024-02-08 Thread Duncan Murdoch
ubmission could have happened. Duncan Murdoch If not, then can anyone suggest the best way to debug a revdep check on as close a setup to the CRAN machines as possible? Cheers, David Git tag for the last CRAN submission: https://github.com/hughjonesd/huxtable/releases/tag/v5.5.4-rc3 Info from the C

Re: [Rd] [EXTERNAL] Re: NOTE: multiple local function definitions for ?fun? with different formal arguments

2024-02-07 Thread Duncan Murdoch
nd here's what I get when I run it on rgl: dupnames("rgl") name first dup 1 fns knitr.R:12 knitr.R:165 2 fns knitr.R:12 pkgdown.R:14 3 fns knitr.R:12shiny.R:8 Those are okay; the fns object is a temporary that is later removed in each case. Duncan Murdoch On 0

Re: [Rd] [External] Get list of active calling handlers?

2024-02-07 Thread Duncan Murdoch
On 07/02/2024 8:36 a.m., luke-tier...@uiowa.edu wrote: On Tue, 6 Feb 2024, Duncan Murdoch wrote: The SO post https://stackoverflow.com/q/77943180 tried to call globalCallingHandlers() from a function, and it failed with the error message "should not be called with handlers on the

Re: [Rd] [EXTERNAL] Re: NOTE: multiple local function definitions for ?fun? with different formal arguments

2024-02-07 Thread Duncan Murdoch
uplicated names in ", basename(f), ":\n") cat(paste(allnames[dups], collapse = ", "), "\n") } } It could be made more fancy to report the locations of both the original and the dup if you feel motivated. Duncan Murdoch On 06/02/2024 8:09 p.m., Chris Bla

[Rd] Get list of active calling handlers?

2024-02-06 Thread Duncan Murdoch
including non-global ones (like the one try() added in the line above)? Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] NOTE: multiple local function definitions for ?fun? with different formal arguments

2024-02-06 Thread Duncan Murdoch
code isn't smart enough to follow every code path, so it gives the note to warn you that you might have something wrong. You still have the same issue with my workaround, but the check code isn't smart enough to notice that. Duncan Murdoch H. On 2/4/24 09:07, Duncan Murdoch wrote: On 04/02

Re: [Rd] Advice debugging M1Mac check errors

2024-02-04 Thread Duncan Murdoch
Hi John. I don't think the 80 bit format was part of IEEE 754; I think it was an Intel invention for the 8087 chip (which I believe preceded that standard), and didn't make it into the standard. The standard does talk about 64 bit and 128 bit floating point formats, but not 80 bit. Duncan

Re: [Rd] NOTE: multiple local function definitions for ?fun? with different formal arguments

2024-02-04 Thread Duncan Murdoch
object in your function which can't be called unconditionally. The workaround doesn't create such an object. Recognizing that your function never tries to call fun requires global inspection of toto(), and most of the checks are based on local inspection. Duncan Murdoch ___

Re: [Rd] [Feature Request] Hide API Key in download.file() / R's libcurl

2024-02-01 Thread Duncan Murdoch
I've just been reading https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication, and it states that putting userid:password in the URL is deprecated, but it does make sense that R should protect users who still use that scheme. Duncan Murdoch On 01/02/2024 11:28 a.m., Xinyi wrote

Re: [Rd] [External] readChar() could read the whole file by default?

2024-01-29 Thread Duncan Murdoch
, but I think usually people would want the behaviour of paste(readLines(f), collapse = "\n"). Duncan Murdoch On Fri, Jan 26, 2024 at 2:05 PM luke-tierney--- via R-devel wrote: On Fri, 26 Jan 2024, Michael Chirico wrote: I am curious why readLines() has a default (n=-1L) to read the fu

Re: [R-pkg-devel] Native pipe in package examples

2024-01-26 Thread Duncan Murdoch
On 25/01/2024 12:38 p.m., Henrik Bengtsson wrote: On Thu, Jan 25, 2024 at 8:27 AM Duncan Murdoch wrote: On 25/01/2024 11:18 a.m., Henrik Bengtsson wrote: On Thu, Jan 25, 2024 at 7:48 AM Duncan Murdoch wrote: On 25/01/2024 10:27 a.m., Josiah Parry wrote: Hey all, I've encountered use

Re: [R-pkg-devel] Native pipe in package examples

2024-01-25 Thread Duncan Murdoch
On 25/01/2024 11:44 a.m., Josiah Parry wrote: The package of course passes R CMD check otherwise it wouldn’t be on CRAN! (: CRAN doesn't run checks using R 3.6.0. The package claims it works there, and maybe it will, but it won't pass R CMD check. Duncan Murdoch Thank you Henrik! Good

Re: [R-pkg-devel] Native pipe in package examples

2024-01-25 Thread Duncan Murdoch
On 25/01/2024 11:18 a.m., Henrik Bengtsson wrote: On Thu, Jan 25, 2024 at 7:48 AM Duncan Murdoch wrote: On 25/01/2024 10:27 a.m., Josiah Parry wrote: Hey all, I've encountered use of the native pipe operator in the examples for 'httr2' e.g. request("http://example.com;) |> req

Re: [R-pkg-devel] Native pipe in package examples

2024-01-25 Thread Duncan Murdoch
t run properly. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Does dependencies up to date on the pretest CRAN infrastructure

2024-01-12 Thread Duncan Murdoch
s the recent fix. Duncan Murdoch On 12/01/2024 1:09 p.m., Serge wrote: I'm the mainteneur of the package MixAll. This package has a dependency to the package rtkore (whom I'm the mainteneur too). I updated the package rtkore one month ago, fixing a compilation problem on windows devel platform

Re: [R-pkg-devel] Suggests with non-CRAN packages

2024-01-10 Thread Duncan Murdoch
en pages in Hosting Data Packages via drat: A Case Study with Hurricane Exposure Data at https://journal.r-project.org/archive/2017/RJ-2017-026/index.html And for the impatient, see the drat "Quick Start" instructions at https://github.com/eddelbuettel/drat They work

Re: [R-pkg-devel] Suggests with non-CRAN packages

2024-01-10 Thread Duncan Murdoch
- but this time make sure to use a properly formatted repository, not just a web site with some binary builds. The "drat" package makes building one of those really easy. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Assigning an object to the global environment (shiny package)

2024-01-04 Thread Duncan Murdoch
re. The user can choose where to assign the result of that function. So instead of: user says to save to "myvar" you save to myvar user uses myvar you would have user says to save value you save it privately user runs myvar <- savedvalue() If your app requires users to b

Re: [R-pkg-devel] [Rd] static html vignette

2024-01-04 Thread Duncan Murdoch
they practically never do that. > > Life would be much simpler if the Suggests packages would not be > (automatically) installed, or if CRAN provided a way to include static > Vignettes to avoid the heavy dependencies of building them. > Users aren't forced to install "Su

Re: [R-pkg-devel] Suggests with non-CRAN packages

2024-01-03 Thread Duncan Murdoch
ce to include an Additional_repositories field so they can find the package. This needs to be organized as an actual repository; the drat package is a very convenient way to set one up. Duncan Murdoch __ R-package-devel@r-project.org maili

Re: [Rd] eval(parse()) within mutate() returning same value for all rows

2023-12-29 Thread Duncan Murdoch
ent." That text has been unchanged in the help page for 13 years. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] zapsmall(x) for scalar x

2023-12-17 Thread Duncan Murdoch
I'm really confused. Steve's example wasn't a scalar x, it was a vector. Your zapsmall() proposal wouldn't zap it to zero, and I don't see why summary() would if it was using your proposal. Duncan Murdoch On 17/12/2023 8:43 a.m., Gregory R. Warnes wrote: Isn’t that the correct outcome

Re: [Rd] Request: documenting more specifically language objects in the R Language Definition document

2023-12-13 Thread Duncan Murdoch
benefit for you if you are really interested in working with this kind of thing. Duncan Murdoch On 13/12/2023 4:19 a.m., Iago Giné Vázquez wrote: Dear all, This is a request to get language objects more documented in the R Language Definition document (CRAN version<https://cran.r-project.

Re: [R-pkg-devel] Wrong mailing list: Could the 100 byte path length limit be lifted?

2023-12-12 Thread Duncan Murdoch
I don't know what the warning looks like, but the ?tar help page discusses the issues. Duncan Murdoch On 12/12/2023 3:10 p.m., Ben Bolker wrote: FWIW the R-windows FAQ says: Yet another complication is a 260 character limit on the length of the entire path name imposed by Windows

Re: [R-pkg-devel] vignette with "Run Examples"

2023-12-12 Thread Duncan Murdoch
the results until a button is pressed to display them. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Virtual C++ functions

2023-11-15 Thread Duncan Murdoch
of times, so the overhead adds up. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Package submission issue - OMP reduction (flang-new)

2023-11-14 Thread Duncan Murdoch
On 14/11/2023 9:38 a.m., Tomas Kalibera wrote: I would definitely look for a work-around. In the end we want to give users software that works, rather than something that doesn't, but telling them, possibly with good evidence, that it is not our fault. Fortune nomination!

Re: [R-pkg-devel] Package submission fail

2023-11-13 Thread Duncan Murdoch
_codes\_V202201" (and similar). That's not legal Rd syntax. You could use "\code{country_codes_V202201}" or some other verbatim wrapper. I see a 4th note, about files Combined_Results.csv and Combined_Results.xlsx. If those files are produced by an example or test, they should be

Re: [R-pkg-devel] The problem with resubmitting the package to the Cran

2023-11-11 Thread Duncan Murdoch
://github.com/Klona9/r-perARMA.git gh repo clone Klona9/r-perARMA I will be very glad for any help. Your examples for `parma_ident` appear to create a directory named "PARMA21del1_ident" below the current directory. You can't create files there, you need to create them in tempdir(). Dunc

Re: [R-pkg-devel] Warning from orphaned package on check page

2023-11-09 Thread Duncan Murdoch
I have volunteered to take over maintenance of plotrix. I should be submitting a version without the "orphaned" designation soon. (If anyone else would rather be maintainer, please get in touch with me offline.) Duncan Murdoch On 09/11/2023 9:47 a.m., Liam J. Revell wrote:

Re: [R-pkg-devel] circular suggested packages

2023-11-07 Thread Duncan Murdoch
PkgB, and PkgB suggests PkgA?". Duncan Murdoch Best regards, ir. Thierry Onkelinx Statisticus / Statistician Vlaamse Overheid / Government of Flanders INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND FOREST Team Biometrie & Kwaliteitszorg / Team Biomet

Re: [R-pkg-devel] [r-package-devel] Win.Metafile and package check - "Found the platform-specific device:"

2023-11-04 Thread Duncan Murdoch
. I'd use the grDevices::win.metafile for now, but wouldn't be surprised if the NOTE turns up again later when #2 gets fixed. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Unclear NOTE for r-devel-linux-x86_64-debian-clang

2023-11-02 Thread Duncan Murdoch
like a bug in the check code which has been fixed. Do you have a function named pkgs() with an argument also named pkgs? Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

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

2023-11-01 Thread Duncan Murdoch
. My idea of politeness, and I think also Prof. Ripley's, is that you don't discuss private discussions in public without agreement from all parties. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R-pkg-devel] CRAN archival: Does CRAN un-archive some packages automatically?

2023-11-01 Thread Duncan Murdoch
ld need an exception to the usual "new submissions need new version numbers" rule. Exceptions waste CRAN's time. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

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

2023-11-01 Thread Duncan Murdoch
. A possibly faster alternative would be to remove the dependence on MEIGOR, and resubmit once that is done and the package is working again. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [Rd] system()/system2() using short paths of commands on Windows?

2023-10-31 Thread Duncan Murdoch
executable name would make a lot of sense, wouldn't it? I'm pretty sure all supported versions of Windows can handle long filenames. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Wayland Display Support in R Plot

2023-10-29 Thread Duncan Murdoch
I forget whether it was just hard or actually impossible. I am slowly working towards having rgl use newer OpenGL versions, but I don't expect this to be done for quite a while. Duncan Murdoch Cheers, Simon Several Linux distributions have long defaulted to it, so we already should have

Re: [R-pkg-devel] "crossprod" is not a BUILTIN function

2023-10-26 Thread Duncan Murdoch
in R might break it). So if you did a binary build on R 4.4.x and tested it on R 4.3.1, it's not at all surprising that it failed. If you did a source build on R 4.4.x and it failed on R 4.3.1, that's more surprising. Duncan Murdoch On 26/10/2023 9:43 a.m., Plamen Mirazchiyski wrote: Thank

Re: [R-pkg-devel] "crossprod" is not a BUILTIN function

2023-10-25 Thread Duncan Murdoch
sprod()’ and ‘tcrossprod()’ are now also primitive and S3 generic, as ‘%*%’ had become in R 4.3.0." Duncan Murdoch On 25/10/2023 3:02 p.m., Plamen Mirazchiyski wrote: Dear All, Today I was preparing a new version for the RALSA package. I have built a Windows package using "devtools::check_win_d

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

2023-10-20 Thread Duncan Murdoch
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 extremely tedious. There is no question of errors being thrown from these examples, they are simply time

Re: [R-pkg-devel] Suppressing long-running vignette code in CRAN submission

2023-10-17 Thread Duncan Murdoch
And if the vignette claims to help the users, but contains errors? Then it's not very helpful at all. That's what the testing is there to detect. Duncan Murdoch On 17/10/2023 6:30 p.m., John Harrold wrote: I ask myself the question: Who is the vignette for? It does server two purposes. One

Re: [R-pkg-devel] Suppressing long-running vignette code in CRAN submission

2023-10-17 Thread Duncan Murdoch
ESCRIPTION, but its use is discouraged, and I don't think it allows you to ask CRAN to build some vignettes but not all. Duncan Murdoch Best, John Cheers, Simon On 18/10/2023, at 3:02 AM, John Fox wrote: Hello Dirk, Thank you (and Kevin and John) for addressing my questions. No on

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

2023-10-16 Thread Duncan Murdoch
Whoops, I just read the next line. Sorry! On 15/10/2023 9:34 p.m., Rolf Turner wrote: I have submitted a new package to CRAN, and this package has been knocked back on the basis of a NOTE: * checking package dependencies ... NOTE Package suggested but not available for checking:

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

2023-10-16 Thread Duncan Murdoch
On 15/10/2023 9:34 p.m., Rolf Turner wrote: I have submitted a new package to CRAN, and this package has been knocked back on the basis of a NOTE: * checking package dependencies ... NOTE Package suggested but not available for checking: 'ionChannelData' This suggested package consists of

  1   2   3   4   5   6   7   8   9   10   >