Re: [R-pkg-devel] Package submission rejected as it fails checks on Debian

2023-02-23 Thread Duncan Murdoch
On 23/02/2023 1:11 p.m., Ben Bolker wrote: Not important (of course) but where does the 5000 kWh per tree number come from? Is that (dry weight) x (50% carbon per dry weight) / (carbon content of CO2 emissions per kWh) ?

Re: [R-pkg-devel] Package submission rejected as it fails checks on Debian

2023-02-23 Thread Duncan Murdoch
On 23/02/2023 1:11 p.m., Ben Bolker wrote: Not important (of course) but where does the 5000 kWh per tree number come from? Is that (dry weight) x (50% carbon per dry weight) / (carbon content of CO2 emissions per kWh) ? That's just made up, but it is close to the numbers here for dry

Re: [R-pkg-devel] Package submission rejected as it fails checks on Debian

2023-02-23 Thread Ben Bolker
Not important (of course) but where does the 5000 kWh per tree number come from? Is that (dry weight) x (50% carbon per dry weight) / (carbon content of CO2 emissions per kWh) ? https://www.epa.gov/energy/greenhouse-gas-equivalencies-calculator#results If we say 200 watts x 15 minutes

Re: [R-pkg-devel] Package submission rejected as it fails checks on Debian

2023-02-23 Thread Duncan Murdoch
Hi Martin. I think your calculations are way off. A one-tonne tree contains about 5000 kWh of energy. A typical computer server uses about 200 watts, and can process many jobs simultaneously on different cores, but let's say the whole server is dedicated to the Github action. Then it would

Re: [R-pkg-devel] Package submission rejected as it fails checks on Debian

2023-02-23 Thread Martin Maechler
> Spencer Graves > on Tue, 21 Feb 2023 05:25:39 -0600 writes: > On 2/21/23 2:34 AM, Vasileios Nikolaidis wrote: >> Yes, with all this I can think where I may have messed up. So thanks for >> the help, at least it verified it is indeed an issue with the code. As >>

Re: [R-pkg-devel] Package submission rejected as it fails checks on Debian

2023-02-21 Thread Vasileios Nikolaidis
I will try it the "Github Action" it seems very useful indeed. I already found the (extremely obvious and tiny) error that caused all this mess. I am surprised the compile/link system on my Windows machine passed on that without reporting anything. That really threw me off on what the cause

Re: [R-pkg-devel] Package submission rejected as it fails checks on Debian

2023-02-21 Thread Spencer Graves
On 2/21/23 2:34 AM, Vasileios Nikolaidis wrote: Yes, with all this I can think where I may have messed up. So thanks for the help, at least it verified it is indeed an issue with the code. As far as OSs, I use Ubuntu variants a lot and (on several machines) but these days I have easier

Re: [R-pkg-devel] Package submission rejected as it fails checks on Debian

2023-02-21 Thread Vasileios Nikolaidis
Yes, with all this I can think where I may have messed up. So thanks for the help, at least it verified it is indeed an issue with the code. As far as OSs, I use Ubuntu variants a lot and (on several machines) but these days I have easier access to Windows (with WSL2 btw). I also like a strict

Re: [R-pkg-devel] Package submission rejected as it fails checks on Debian

2023-02-20 Thread Dirk Eddelbuettel
On 20 February 2023 at 22:37, Vasileios Nikolaidis wrote: | Thanks for taking the time to check it. The hint about the virtual | 'layer' class is valuable. | I will look into it. Sounds good, glad to have been of assistance. On a lark, I also tried your most recent CRAN release, and it

Re: [R-pkg-devel] Package submission rejected as it fails checks on Debian

2023-02-20 Thread Vasileios Nikolaidis
Thanks for taking the time to check it. The hint about the virtual 'layer' class is valuable. I will look into it. Best Regards, V.Nikolaidis PS I am tempted to set up a Debian test platform to speed up fixing the package. (Or abandon submitting the package to CRAN alltogether.) Στις

Re: [R-pkg-devel] Package submission rejected as it fails checks on Debian

2023-02-20 Thread Dirk Eddelbuettel
On 20 February 2023 at 21:41, Vasileios Nikolaidis wrote: | Oh yes thank you. I just realized I did not mention the repo on my | previous reply. It is | https://github.com/VNNikolaidis/nnlib2Rcpp Thanks for that -- I can confirm the error. The packages compiles all source files without issue

Re: [R-pkg-devel] Package submission rejected as it fails checks on Debian

2023-02-20 Thread Vasileios Nikolaidis
Oh yes thank you. I just realized I did not mention the repo on my previous reply. It is https://github.com/VNNikolaidis/nnlib2Rcpp Στις 2023-02-20 21:23, Dirk Eddelbuettel έγραψε: Can you share the repo URL? It may be a a fairly simple and standard issue some of us can spot easily. Hth,

Re: [R-pkg-devel] Package submission rejected as it fails checks on Debian

2023-02-20 Thread Dirk Eddelbuettel
Can you share the repo URL? It may be a a fairly simple and standard issue some of us can spot easily. Hth, Dirk -- dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org __ R-package-devel@r-project.org mailing list

Re: [R-pkg-devel] Package submission rejected as it fails checks on Debian

2023-02-20 Thread Vasileios Nikolaidis
Hello Spencer and thank you for your reply. This is a good point as the package is indeed on GitHub, so I will investigate it. But, like you pointed out, it is doubtful if testing on these other systems (including Ubuntu) will catch a problem that is reported on Debian. And what causes it

Re: [R-pkg-devel] Package submission rejected as it fails checks on Debian

2023-02-20 Thread Spencer Graves
Hi, Vasileios: Do you have it on GitHub? If yes, do you use "GitHub Action" to test the package on multiple platforms? I'm a contributor to the "fda" package. It's version on GitHub is configured so every "git push" triggers auto tests on five different platforms, testing it

[R-pkg-devel] Package submission rejected as it fails checks on Debian

2023-02-20 Thread Vasileios Nikolaidis
Dear R-developers, I apologize for posting something that has probably been discussed before (but missed it while searching the archives). While trying to submit a newer version of my package to CRAN, it is rejected as it fails on Debian. I will call this package APACKAGE below (although it