Re: [Rd] Function I mean not to export keeps being documented in a manual?

2018-12-17 Thread Thierry Onkelinx via R-devel
Dear Marta, Add the @noRd tag to the Roxygen documentation of the function. 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

Re: [Rd] problematic dev.off() after running examples without plots

2018-11-21 Thread Thierry Onkelinx via R-devel
2018 om 10:47 schreef Martin Maechler < maech...@stat.math.ethz.ch>: > >>>>> Thierry Onkelinx via R-devel > >>>>> on Tue, 20 Nov 2018 14:16:20 +0100 writes: > > > Dear all, When running R CMD check on our package, we get >

[Rd] problematic dev.off() after running examples without plots

2018-11-20 Thread Thierry Onkelinx via R-devel
Dear all, When running R CMD check on our package, we get an error on the examples. Error in grDevices::dev.off() : cannot shut down device 1 (the null device) None of the examples in our package generates plots. grDevices::dev.off() is code added by R CMD check. A workaround is to have at

Re: [Rd] Fwd: Bug Reporting

2019-08-21 Thread Thierry Onkelinx via R-devel
Dear Tommaso, This is not a bug. You asked for a difference of 1 day = 24 hours = 1440 minutes = 86400 seconds. And that is the difference you get. > start <- as.POSIXct(strptime("20151025",format='%Y%m%d')) > end <- start + as.difftime(1, unit="days") > end - start Time difference of 1 days >

Re: [Rd] Cryptic error message from namespaceExport

2019-09-06 Thread Thierry Onkelinx via R-devel
defined? Or is it exporting a class that is defined by a dependency > and then masked by setOldClass()? A simple reproducible example would > help. > > On Fri, Sep 6, 2019 at 7:48 AM Thierry Onkelinx via R-devel > wrote: > > > > Dear all, > > > > Today

[Rd] Cryptic error message from namespaceExport

2019-09-06 Thread Thierry Onkelinx via R-devel
Dear all, Today I got this error message (R 3.6.1) when installing my package: Error: package or namespace load failed for ‘inlatools’ in namespaceExport(ns, exports): undefined exports: .__C__inla My package was using setOldClass("inla") and exported the "inla" class via the NAMESPACE. It

Re: [Rd] Hard memory limit of 16GB under Windows?

2020-04-07 Thread Thierry Onkelinx via R-devel
Dear Samuel, The most important information from your mail was the actual error message: "cannot allocate vector of size 12.6 Gb". You'll need to know what code generated this error message. And then figure out if the code does something sensible. Often that is not the case when you get a

Re: [Rd] sorting bug in R-devel?

2021-01-19 Thread Thierry Onkelinx via R-devel
schreef Peter Dalgaard : > Not sure what happened between 4.0.2 and -devel, but you are using C > collation, which assumes 7-bit single-byte characters, to sort multi-byte > 8-bit encoded characters, which looks a bit risky. > > -pd > > > On 19 Jan 2021, at 10:10 , Thie

[Rd] change in sorting?

2021-01-14 Thread Thierry Onkelinx via R-devel
Dear all, One of the unit tests for my package breaks only on r-devel under Windows ( https://cran.r-project.org/web/checks/check_results_git2rdata.html). The unit test sorts a set of UTF-8 characters and writes them to disk. I've noticed that the Euro symbol (€) gets a different place in r-devel

[Rd] sorting bug in R-devel?

2021-01-19 Thread Thierry Onkelinx via R-devel
Dear all, My git2rdata package relies on a stable sorting. I've noticed that some characters get a different position under R-devel under Windows 10. This is why the unit test of my package only fail in this combination (https://cran.r-project.org/web/checks/check_results_git2rdata.html) Below

Re: [Rd] order of operations

2021-08-27 Thread Thierry Onkelinx via R-devel
IMHO this is just bad practice. Whether the result is guaranteed or not, doesn't matter. ir. Thierry Onkelinx Statisticus / Statistician Vlaamse Overheid / Government of Flanders INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND FOREST Team Biometrie & Kwaliteitszorg /

[Rd] install.packages() and Additional_repositories

2021-12-06 Thread Thierry Onkelinx via R-devel
Dear R core team, Writing R extensions mentions an optional 'Additional_repositories' field in the DESCRIPTION. ( https://cran.r-project.org/doc/manuals/R-exts.html#Package-Dependencies). Currently, install.packages() does not use that information when installing a package. Would you accept a

[Rd] bug in utils:::format.person

2023-06-02 Thread Thierry Onkelinx via R-devel
Dear all, I think I found a bug in utils::format.person when using style = "R" with a vector of comments. The comment section is not parsed properly. Please find below the mwe and the session info. Best regards, Thierry maintainer <- person( given = "Thierry", family = "Onkelinx", role =

Re: [Rd] [R-sig-ME] lmer error: number of observations <= number of random effects

2024-05-06 Thread Thierry Onkelinx via R-devel
Dear Srinidhi, You are trying to fit 1 random intercept and 2 random slopes per individual, while you have at most 3 observations per individual. You simply don't have enough data to fit the random slopes. Reduce the random part to (1|ID). Best regards, Thierry ir. Thierry Onkelinx Statisticus