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 access to Windows (with WSL2 btw). I also like
a strict compiler (and linker), there is usually a reason why they are
strict. So if it is not obvious from examining the code, I will set up
something (be it WSL, VM or Docker) for testing.
If you have NOT tried "GitHub Action" yet, I highly recommend it.
For my packages, every time I do "git push", it automatically runs "R
CMD build / check" on 5 different platforms -- with no further effort on
my part other than checking the results.
It should be easy to get something to work following the instructions
in Wickham and Bryan, R Packages[1] or copying the code from another
package.[2] If that fails, you might be able to get help from this list.
I got valuable suggestions from Dir Eddelbuettel and Duncan Murdoch.
I don't know if any version of Debian is available on GitHub Action.
However, if CRAN is rejecting your package on GitHub Action, a question
about that to this list might help make it available. If you have
special Ubuntu configuration issues that are not provided in the
standard GitHub Action configurations, asking here might help you with
that.
Hope this helps,
Spencer Graves
[1]
https://r-pkgs.org
[2] e.g.,
https://github.com/JamesRamsay5/fda
Thanks again,
Vasilis
Στις 2023-02-20 23:09, 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 installs and loads fine here.
| 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.)
I love working on Linux. And these days I hear from some friends that
having
WSL2 on a (recent enough) Windows computer is also good as it effectively
gives a second machine with Ubuntu on it. Docker can also be helpful,
as are
the online resources -- rhub has helped me with both macos and windows
builds.
Dirk
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel