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

2023-12-12 Thread Duncan Murdoch
On 12/12/2023 2:24 a.m., Sigbert Klinke wrote: Hi, is it possible to get a button or link to run an example in a vignette like we see for the examples in the R help? Others have explained why this is hard. An alternative might be to run the examples when you produce your vignette, but hide

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

2023-12-12 Thread Ben Bolker
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. The limit applies only to some system functions, and hence it is possible to create a long path using one application yet inaccessible to another. It is

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

2023-12-12 Thread Ben Bolker
Thanks. Pursuing this a bit further, from ?tar "Known problems": The handling of file paths of more than 100 bytes. These were unsupported in early versions of ‘tar’, and supported in one way by POSIX ‘tar’ and in another by GNU ‘tar’ and yet another by the POSIX ‘pax’ command which recent

[R-pkg-devel] Could the 100 byte path length limit be lifted?

2023-12-12 Thread McGrath, Justin M
We include other software in our source code. It has some long paths so a few of the files end up with paths longer than 100 bytes, and we need to manually rename them whenever we pull in updates. The 100 byte path limit is from tar v7, and since POSIX1.1988, there has not been a path length

Re: [R-pkg-devel] Fortran compilation issues (errors/warnings) on Fedora clang/llvm

2023-12-12 Thread Koen Hufkens
Dear Ivan, Thanks for these pointers! I think with your script, reading through the docs and some other packages structures I sort of made sense of things (the dynamic configure options are new to me). I hope this will now resolve the system specific dependencies. Appreciate the help! Cheers, K

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. The

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

2023-12-12 Thread Simon Urbanek
Justin, now that you clarified what you are actually talking about, this is a question about the CRAN policies, so you should really direct it to the CRAN team as it is their decision (R-devel would be appropriate if this was a limitation in R itself, and R-package-devel would be appropriate

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

2023-12-12 Thread Martin Maechler
> McGrath, Justin M > on Tue, 12 Dec 2023 15:03:28 + writes: > We include other software in our source code. It has some long paths so a few of the files end up with paths longer than 100 bytes, and we need to manually rename them whenever we pull in updates. > The 100

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

2023-12-12 Thread McGrath, Justin M
When submitting a package to CRAN, it is required that path names be shorter than 100 bytes, with the reason that paths longer than that cannot be made into portable tar files. This error is reported by `R CMD check --as-cran`. Since this pertains only to developing packages, this seemed like

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

2023-12-12 Thread Ivan Krylov
On Tue, 12 Dec 2023 08:24:11 +0100 Sigbert Klinke wrote: > is it possible to get a button or link to run an example in a vignette Technically, yes, but very hard to implement in practice. Vignettes are a form of literate programming, expressed in terms of files: there's a source file