Re: [R-pkg-devel] CRAN submission struggle

2024-01-07 Thread Ivan Krylov
On Sun, 7 Jan 2024 10:52:44 +0200 Christiaan Pieterse wrote: > I have edited my package to have two examples. One uses a small > self-generated dataset and another uses a big dataset. For the big > dataset example, I put \donttest{} around it, should this be fine? The small example is definitely

Re: [R-pkg-devel] CRAN submission struggle

2024-01-07 Thread Christiaan Pieterse
Good day I have edited my package to have two examples. One uses a small self-generated dataset and another uses a big dataset. For the big dataset example, I put \donttest{} around it, should this be fine? I only get one note for the new package, available at https://github.com/WoutersResearchGr

Re: [R-pkg-devel] CRAN submission struggle

2024-01-06 Thread Ivan Krylov
On Sat, 6 Jan 2024 15:16:01 +0300 Ivan Krylov wrote: > Congratulations! I also get the single expected NOTE in my checks. Apologies for the double e-mail, but I've read the code now, and wrapping the example of your only function in \dontrun{} will most likely not be allowed. Is it really the c

Re: [R-pkg-devel] CRAN submission struggle

2024-01-06 Thread Ivan Krylov
On Sat, 6 Jan 2024 13:50:49 +0200 Christiaan Pieterse wrote: > Is there a way to confirm that this package is ready for submission? > I submitted it to https://win-builder.r-project.org/ and > https://mac.r-project.org/macbuilder/submit.html and > https://builder.r-hub.io/. All of these seem to o

Re: [R-pkg-devel] CRAN submission struggle

2024-01-06 Thread Christiaan Pieterse
Good day I think I finally have a final package that only yields the expected 'New submission' note. The package is available at: https://github.com/WoutersResearchGroup/R-IO-PS/tree/CRAN-prep. Is there a way to confirm that this package is ready for submission? I submitted it to https://win-buil

Re: [R-pkg-devel] CRAN submission struggle

2024-01-02 Thread Uwe Ligges
On 29.12.2023 09:13, Greg Hunt wrote: Christaan, The elapsed time note is because CRAN expects that examples will be configured to run single threaded and some package that you use, or a package used by a package that you use is multi-threading by default and using more CPU time than clock time

Re: [R-pkg-devel] CRAN submission struggle

2023-12-29 Thread Uwe Ligges
On 28.12.2023 17:00, Christiaan Pieterse wrote: Hi, Thank you for showing the difference in the ExampleTradeData. I've fixed this by adding a .Gitignore file and a "data-raw" folder to load the ExampleTradeData. I hope I did this correctly. When I check the package ( https://github.com/Wouters

Re: [R-pkg-devel] CRAN submission struggle

2023-12-29 Thread Ivan Krylov
On Thu, 28 Dec 2023 18:00:37 +0200 Christiaan Pieterse wrote: > I only get 3 notes (see below), and if I run it in PositCloud, it > crashes or yields the same 1 ERROR and 2 NOTES result as before. Why > might this be? Does the PositCloud check crash with "Killed" (most likely out of RAM) or wit

Re: [R-pkg-devel] CRAN submission struggle

2023-12-29 Thread Greg Hunt
Christaan, The elapsed time note is because CRAN expects that examples will be configured to run single threaded and some package that you use, or a package used by a package that you use is multi-threading by default and using more CPU time than clock time. If you cannot figure out how to reconfig

Re: [R-pkg-devel] CRAN submission struggle

2023-12-28 Thread Christiaan Pieterse
Hi, Thank you for showing the difference in the ExampleTradeData. I've fixed this by adding a .Gitignore file and a "data-raw" folder to load the ExampleTradeData. I hope I did this correctly. When I check the package ( https://github.com/WoutersResearchGroup/R-IO-PS/tree/CRAN-prep) in RStudio. I

Re: [R-pkg-devel] CRAN submission struggle

2023-12-18 Thread Ivan Krylov
On Sun, 17 Dec 2023 21:48:51 +0200 Christiaan Pieterse wrote: > Warning in complexity_measures(Mbin, method = "reflections", > iterations = iterCompl) : > 'iterations' was changed to 'iterations + 1' to work with an even > number of iterations > Killed If this is happening on Linux, this could

Re: [R-pkg-devel] CRAN submission struggle

2023-12-17 Thread Christiaan Pieterse
Hi Ivan I have decided to clean up the existing package using a branch, as you suggested. The branch I've created is available at: https://github.com/WoutersResearchGroup/R-IO-PS/tree/CRAN-prep. I've cleaned, built and checked this branch package but I get one error and 2 notes (one is the new su

Re: [R-pkg-devel] CRAN submission struggle

2023-12-17 Thread Ivan Krylov
On Sun, 17 Dec 2023 15:29:34 +0200 Christiaan Pieterse wrote: > But, I've uploaded the newly created package as discussed in my first > email, available at: > https://github.com/ChristiaanPieterse/iopspackage2.1.0 Are you sure it wouldn't be better to clean up the existing package instead of cre

Re: [R-pkg-devel] CRAN submission struggle

2023-12-17 Thread Christiaan Pieterse
Hi, thank you for all the responses. I have uploaded the previous package to GitHub, available at: https://github.com/WoutersResearchGroup/R-IO-PS . Note that this works when installed via GitHub using devtools, but is a bit messy. Hence I decided to start over for CRAN release. If you can help me

Re: [R-pkg-devel] CRAN submission struggle

2023-12-16 Thread Ivan Krylov
On Sat, 16 Dec 2023 19:41:16 +0200 Christiaan Pieterse wrote: > This .R file contained the Roxygen2 comments. (I was very unsure what > comments to include in this so it might be wrong, I'm unsure) If you like roxygen2 and would like to keep using it, you're welcome to keep the roxygen2 comments

Re: [R-pkg-devel] CRAN submission struggle

2023-12-16 Thread Roy Mendelssohn - NOAA Federal via R-package-devel
And a second good starting place would be: https://r-pkgs.org HTH, -Roy > On Dec 16, 2023, at 9:48 AM, Roy Mendelssohn - NOAA Federal > wrote: > > > >> On Dec 16, 2023, at 9:41 AM, Christiaan Pieterse >> wrote: >> >> I checked the tar file using *R CMD check --as-cran >> "iopspackage_2

Re: [R-pkg-devel] CRAN submission struggle

2023-12-16 Thread Dirk Eddelbuettel
Christiaan, You say "errors" but you don't say which. You say you have a package, but don't provide a source reference. This makes it awfully hard to say or do anything. In case you are on github or gitlab or ... it would simply be easiest to share a reference to the repository. Emailing 10mb

Re: [R-pkg-devel] CRAN submission struggle

2023-12-16 Thread Roy Mendelssohn - NOAA Federal via R-package-devel
> On Dec 16, 2023, at 9:41 AM, Christiaan Pieterse > wrote: > > I checked the tar file using *R CMD check --as-cran > "iopspackage_2.1.0.tar.gz". *This yielded errors, warnings and notes > which I don't know how to solve and suspect are due to me setting the file > up wrong. A good st