Re: [R-pkg-devel] [External] Assistance Needed to Resolve CRAN Submission Note

2024-05-19 Thread Richard M. Heiberger
ersion") HTML Tidy for Apple macOS version 5.8.0 > On May 19, 2024, at 01:30, Ivan Krylov wrote: > > On Sat, 18 May 2024 21:10:18 + > "Richard M. Heiberger" wrote: > >> when checking a package and discovering these messages about html5, >> can you

Re: [R-pkg-devel] [External] Re: [External] Re: Assistance Needed to Resolve CRAN Submission Note

2024-05-18 Thread Richard M. Heiberger
n't think that will ever happen. It only happens when a user tries an > "--as-cran" check, but doesn't have a current version of tidy installed. > CRAN does have the up-to-date versions installed, so they won't see this. > > Duncan Murdoch > >> On 2024-05-

Re: [R-pkg-devel] [External] Re: Assistance Needed to Resolve CRAN Submission Note

2024-05-18 Thread Richard M. Heiberger
this is a suggestion to CRAN. when checking a package and discovering these messages about html5, can you generate an informational message about tidy with a link to updating tidy? thank you Rich Sent from my iPhone > On May 17, 2024, at 15:32, Marc Girondot via R-package-devel > wrote: > >

Re: [Rd] Petition to set warnPartialMatch* options to TRUE

2024-04-23 Thread Therneau, Terry M., Ph.D. via R-devel
-- Terry M Therneau, PhD Department of Quantitative Health Sciences Mayo Clinic thern...@mayo.edu "TERR-ree THUR-noh" [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [R-pkg-devel] [External] Removing import(methods) stops exporting S4 "meta name"

2024-03-14 Thread Richard M. Heiberger
this looks like a relative of the issue I tripped on that is discussed in the email threads https://stat.ethz.ch/pipermail/r-package-devel/2024q1/010531.html https://stat.ethz.ch/pipermail/r-devel/2024-March/083259.html At issue is the default export of exportPattern(".") System generated

[Rd] Vignettes with long compute time

2024-03-11 Thread Therneau, Terry M., Ph.D. via R-devel
is talking about compute time, and illustrates a cases where an O(n^2) case arises.   As sentence that warns the use "of you do this it will take hours to run" is a perfect case for a pdf that should not be recreated by R CMD check. -- Terry M Therneau, PhD Department of Quantitat

Re: [Bioc-devel] Possible https://code.bioconductor.org SSL certificate issue

2024-03-06 Thread Robert M. Flight
curl works for me now as well. Glad it's resolved! -Robert On Wed, Mar 6, 2024 at 11:13 AM Gábor Csárdi wrote: > Yes, it started failing about then, so I am pretty sure it is related. > > Thanks, Gabor > > On Wed, 6 Mar 2024 at 16:39, Mike Smith wrote: > > > Maintainer of the

Re: [R-pkg-devel] [External] [External] RcmdrPlugin.HH_1.1-48.tar.gz

2024-03-06 Thread Richard M. Heiberger
quot;) ? > On Mar 6, 2024, at 11:57, Joshua Ulrich wrote: > > On Wed, Mar 6, 2024 at 1:03 AM Richard M. Heiberger wrote: >> >> Thank you Duncan, Jeff, Ivan. >> >> I did all that Duncan and Jeff suggested, plus a bit more that appeared to >> be necessary. &g

Re: [Rd] [External] Never exporting .__global__ and .__suppressForeign__?

2024-03-06 Thread Richard M. Heiberger
Ivan, thank you for including me on this thread on R-devel. Please be sure to see the last email in my R-pkg-devel thread on RcmdrPlugin.HH_1.1-48.tar.gz, in which I discuss how I responded to this issue, specifically to my detailed discussion in the RcmdrPlugion.HH/NEWS. Rich > On Mar 6,

Re: [Bioc-devel] Possible https://code.bioconductor.org SSL certificate issue

2024-03-06 Thread Robert M. Flight
That does seem weird. curl does indeed complain, but both Edge and Firefox running on my Pop!OS 22.04 have no problems with the certificate. -Robert On Wed, Mar 6, 2024 at 3:41 AM Gábor Csárdi wrote: > I can't find any Linux distro that accepts that certificate. Even > Debian testing fails

Re: [R-pkg-devel] [External] RcmdrPlugin.HH_1.1-48.tar.gz

2024-03-05 Thread Richard M. Heiberger
in the NEWS file, perhaps augmented with Ivan's comments, might be added to utils/man/globalVariables.Rd and to the " section ‘Package structure’ in the ‘Writing R Extensions’ manual. " > On Mar 6, 2024, at 01:38, Ivan Krylov wrote: > > В Tue, 5 Mar 2024 22:41:32 + > "R

Re: [R-pkg-devel] [External] RcmdrPlugin.HH_1.1-48.tar.gz

2024-03-05 Thread Richard M. Heiberger
are explicitly included. What should I try next? > On Mar 5, 2024, at 18:21, Duncan Murdoch wrote: > > On 05/03/2024 5:41 p.m., Richard M. Heiberger wrote: >> My package is being rejected by auto-check >> Flavor: r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_6

[R-pkg-devel] RcmdrPlugin.HH_1.1-48.tar.gz

2024-03-05 Thread Richard M. Heiberger
My package is being rejected by auto-check Flavor: r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64 Check: for missing documentation entries, Result: WARNING Undocumented code objects: '.__global__' All user-level objects in a package should have documentation entries. See chapter

Re: [Rd] Difficult debug - follow-up

2024-02-19 Thread Therneau, Terry M., Ph.D. via R-devel
I want to thank Ivan and Bill for useful advice.   I eventually found my memory mistake, which was of the 'obvious once you see it' variety.  Ivan's note that it appeared to be in a small allocation was correct. >   I've hit a roadblock debugging a new update to the survival package. I do >

[Rd] Difficult debug

2024-02-07 Thread Therneau, Terry M., Ph.D. via R-devel
mid-followup make the code more complex.   This arises out of the "extended Kaplan-Meier"; I am not a fan of this statistically, but some will use it and expect my code to work. -- Terry M Therneau, PhD Department of Quantitative Health Sciences Mayo Clinic thern...@mayo.edu "TERR-r

Re: [R-pkg-devel] Possible malware(?) in a vignette

2024-01-25 Thread Robert M. Flight
I decided to grab a copy of that PDF from the RStudio CRAN mirror, and downloaded on Linux (where hopefully it won't be an issue) from the list of vignettes. Virus Total gives it the same hash as the above linked PDF, so it's definitely been propagated from CRAN, and *may* be malicious. That is

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

2023-12-14 Thread McGrath, Justin M
vs 160 characters for just a directory path. From: Steven Scott Sent: Thursday, December 14, 2023 12:11 PM To: Vladimir Dergachev Cc: McGrath, Justin M; r-package-devel@r-project.org Subject: Re: [R-pkg-devel] Wrong mailing list: Could the 100 byte path

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

2023-12-13 Thread McGrath, Justin M
lso leaves plenty of space regardless where they choose to extract the files. From: Dirk Eddelbuettel Sent: Wednesday, December 13, 2023 9:13 AM To: Tomas Kalibera Cc: Dirk Eddelbuettel; McGrath, Justin M; Ben Bolker; Martin Maechler; r-package-devel@r-p

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

2023-12-13 Thread McGrath, Justin M
. From: Dirk Eddelbuettel Sent: Wednesday, December 13, 2023 8:59 AM To: Tomas Kalibera Cc: McGrath, Justin M; Ben Bolker; Martin Maechler; r-package-devel@r-project.org Subject: Re: [R-pkg-devel] Wrong mailing list: Could the 100 byte path length limit be lifted? On 13 December 2023 at 15:32

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

2023-12-13 Thread McGrath, Justin M
. There is no reason today to reject packages with ustar compatible paths that are not v7 compatible. Best wishes, Justin From: Tomas Kalibera Sent: Wednesday, December 13, 2023 8:32 AM To: McGrath, Justin M; Ben Bolker; Martin Maechler; r-package-devel@r-project.org

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

2023-12-13 Thread McGrath, Justin M
check reports a NOTE? Best wishes, Justin From: Martin Maechler Sent: Wednesday, December 13, 2023 2:22 AM To: Ben Bolker; McGrath, Justin M Cc: Simon Urbanek; Duncan Murdoch Subject: Re: [R-pkg-devel] Wrong mailing list: Could the 100 byte path length limit be lifted? >&g

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

2023-12-12 Thread McGrath, Justin M
the appropriate list, but if you don't think so, I can instead ask on R-devel. Best wishes, Justin From: Martin Maechler Sent: Tuesday, December 12, 2023 10:13 AM To: McGrath, Justin M Cc: r-package-devel@r-project.org Subject: Wrong mailing list: [R-pkg

[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] [External] circular suggested packages

2023-11-07 Thread Richard M. Heiberger
Why are these functins in two different packages? On the surface it looks like qrcode is a transformation function and opencv is its inverse. > On Nov 7, 2023, at 14:55, Thierry Onkelinx wrote: > > Dear all, > > The qrcode package converts text into a qrcode image. The opencv package is > able

[R-pkg-devel] is this expected behavior

2023-09-13 Thread Richard M. Heiberger
I have a demo file that uses a function defined in the package. when I force the demo to be run with R CMD check --test-dir=demo findme_1.0.tar.gz then the function defined in the package is not recognized. Here is the demo/findme.r file: findme::findme() findme() Here is the result of: R CMD

[Bioc-devel] bioconductor support email account reset issue

2023-08-26 Thread David M
Hello, I’ve submitted a package* and am having an issue because I cannot log into my mcgaug...@gmail.com account at the support (https://support.bioconductor.org/) site and set up a “geyser” tag. When I try to reset my login password I never get an email to reset (yes I am also checking the

Re: [Bioc-devel] Urgent minor deployment of a release?

2023-06-19 Thread Robert M. Flight
on figshare, and none of the reviewers expressed any issues with it. Best of luck with the manuscript and package! -Robert -- Dr. Robert M Flight, PhD Bioinformatics Analyst Senior Puller of Rabbits from Hats Research Parasite Moseley Bioinformatics Lab Resource

Re: [Bioc-devel] Fwd: philr problems reported in the Multiple platform build/check report for BioC 3.17

2023-04-07 Thread Robert M. Flight
Hi Justin, I pulled the Bioconductor devel docker image ( https://www.bioconductor.org/help/docker/#intro), fired it up, and installed your github version of philr. And run the vignette. And I can reproduce the error: > Error in philr.data.frame(otu.table, tree = tree, ...) : > > Zero values

Re: [Rd] as.Date withoug "origin"

2022-11-03 Thread Therneau, Terry M., Ph.D. via R-devel
of selection processes for choosing among ending dates. Terry T. -- Terry M Therneau, PhD Department of Quantitative Health Sciences Mayo Clinic thern...@mayo.edu "TERR-ree THUR-noh" [[alternative HTML version deleted]] __ R-devel@r-p

[R-pkg-devel] escaped latex specials

2022-08-08 Thread Richard M. Heiberger
There is a new NOTE. This line with \& used to be acceptable. I am not seeing what the suggested replacement is. * checking Rd files ... [4s] NOTE checkRd: (-1) bivariateNormal.Rd:42: Escaped LaTeX specials: \& The full example is \note{ Based on the \code{galaxy} example on pages 204--205 in

Re: [R-pkg-devel] ASCII code for Degree symbol °

2022-01-24 Thread Rafael H. M. Pereira
gt; > This also works with non-ASCII characters embedded in longer sentences: > > > stringi::stri_escape_unicode("Åv — mærkelige tegn!") |> cat("\n") > \u00c5v \u2014 m\u00e6rkelige tegn! > > > stringi::stri_unescape_unicode("\u00c5v \u2014 m\u00e6rkelige te

Re: [R-pkg-devel] Detritus reported by r-hub builder check_for_cran

2022-01-16 Thread Rainer M Krug
Thanks Uwe, I’ll try submission to CRAN beginning of next week. Rainer On 15 Jan 2022 at 00:40:00, Uwe Ligges wrote: > > > On 14.01.2022 15:14, Rainer M Krug wrote: > > Hi > > > I want to re-submit an archived package to CRAN, and I get, when checking > > on h

[R-pkg-devel] Detritus reported by r-hub builder check_for_cran

2022-01-14 Thread Rainer M Krug
that is not relevant. — Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Orcid ID: -0002-7490-0066 Department of Evolutionary Biology and Environmental Studies University of Zürich Office Y34-J-74 Winterthurerstrasse 190 8075 Zürich

Re: [Bioc-devel] EXTERNAL: R: release of new version of package

2021-12-23 Thread Robert M. Flight
anuela > > > > > > > > ____ > > Da: Nitesh Turaga > > Inviato: luned� 20 dicembre 2021 15:36 > > A: Emanuela Iovino > > Cc:bioc-devel@r-project.org > > Oggetto: Re: [Bioc-devel] release of new version of package > &

[Rd] Question about the UCRT switch

2021-12-09 Thread Therneau, Terry M., Ph.D. via R-devel
ut I never use Windows.   My reading of "the following lines" is that  I don't have to do anything.   Is this correct? Terry T. -- Terry M Therneau, PhD Department of Quantitative Health Sciences Mayo Clinic thern...@mayo.edu "TERR-ree THUR-noh" [[al

Re: [R-pkg-devel] [External] Formula modeling

2021-10-07 Thread Richard M. Heiberger
I am responding to a subset of what you asked. There are packages which use multiple formulas in their argument sequence. What you have as a single formula with | as a separator q | p | subject | time | rho ~ p + x + y | p + w + y | z + y I think would be better as a comma-separated list of

Re: [R-pkg-devel] Pre-test check fails with "non-standard things in check directory" on one platform

2021-09-02 Thread Rainer M Krug
> On 2 Sep 2021, at 14:02, Duncan Murdoch wrote: > > On 02/09/2021 6:29 a.m., Rainer M Krug wrote: >> Hi >> I submitted an update of the dmdScheme package and got the response back >> from the pre-submission check that it failed on one platform with the Note: >

[R-pkg-devel] Pre-test check fails with "non-standard things in check directory" on one platform

2021-09-02 Thread Rainer M Krug
omebody give any guidance, how to fix this? Which one is the “check directory"? Thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Orcid ID: -0002-7490-0066 Department of Evolutionary Biology and Environmental S

[Rd] Issues with drop.terms

2021-08-23 Thread Therneau, Terry M., Ph.D. via R-devel
or 3 is not clear to me.  It currently leads to failure in a coxph call that includes a strata so I am directly interested in a solution; e.g.,  coxph(Surv(time, status) ~ age + (ph.ecog==2) + strata(inst), data=lung) Terry T -- Terry M Therneau, PhD Department of Quantitative Health Sciences M

[Rd] problems with [.terms

2021-08-21 Thread Therneau, Terry M., Ph.D. via R-devel
The survival package uses [.terms a fair bit, in particular it makes use of the index returned in the 'specials' attribute, but the base R code has at least two problems. First, it does not account for offset terms, if present, and also fails for a formula such as  y ~ age + (sex=='male').  

Re: [R-pkg-devel] [External] R package submission fails due to using LaTeX functions that have not been implemented for building pdfs (not due to mathjaxr)

2021-06-25 Thread Richard M. Heiberger
> One more question. If I use mjeqn at the beginning of a paragraph it > automatically sets a line break afterwards. > Any idea what I can do to prevent this? follow it with \vspace*{1ex} to back up one line. Rich > On Jun 25, 2021, at 07:51, Marc Scherstjanoi > wrote: > > Hi Wolfgang,

Re: [R-pkg-devel] Using ggplot2 within another package

2021-04-22 Thread Robert M. Flight
Kevin, This vignette from ggplot2 itself gives the "officially recommended" ways to avoid the warnings from R CMD check https://ggplot2.tidyverse.org/articles/ggplot2-in-packages.html Cheers, -Robert On Thu, Apr 22, 2021 at 4:39 PM Paul SAVARY wrote: > Hi Kevin, > > I was faced to the same

Re: [R-pkg-devel] Package Rejection Error Help

2021-04-06 Thread Robert M. Flight
Andrew, I think if you want to include a Bioconductor dependency, then I think you add the "biocViews:" line to your description file to enable bioconductor package installation. See this answer on Bioinformatics stackexchange: https://bioinformatics.stackexchange.com/a/3375/51 Hope that helps!

Re: [Rd] [EXTERNAL] Re: inheritance and attach

2021-03-15 Thread Therneau, Terry M., Ph.D. via R-devel
Simon > > > >> On Mar 16, 2021, at 7:19 AM, Therneau, Terry M., Ph.D. via R-devel >> wrote: >> >> This change in R-devel just bit me. Under the newest release, if I >> attach() another >> .RData directory, the methods are not detected. >>

[Rd] inheritance and attach

2021-03-15 Thread Therneau, Terry M., Ph.D. via R-devel
ble', 'numeric')" ---- The use case was my local test environment for the survival package.  I can work around it. -- Terry M Therneau, PhD Department of Health Science Research Mayo Clinic thern...@mayo.edu "TERR-ree THUR-noh" [[alter

Re: [Bioc-devel] Cytoscape installed on bioc builders?

2021-03-05 Thread Robert M. Flight
image instead. Your only bet for testing Cytoscape functionality I believe is what you can do locally, either on your direct machine or via a virtual machine. Hope that helps, -Robert Robert M Flight, PhD Bioinformatics Research Associate Puller of Rabbits from Hats Research Parasite Resource Center

Re: [Rd] Compression (really about LazyDate)

2021-02-19 Thread Therneau, Terry M., Ph.D. via R-devel
Thank you Brian.   I had not quite grasped how the process works, now the descriptions and usage make sense. Terry On 2/19/21 4:28 AM, Prof Brian Ripley wrote: > On 18/02/2021 18:30, Therneau, Terry M., Ph.D. via R-devel wrote: >> This is a CRAN question: >> >> I have t

[Rd] reverse dependency checks

2021-02-18 Thread Therneau, Terry M., Ph.D. via R-devel
fsetmatrix): Unrecognized format.. \AtBegShi@Output ...ipout \box \AtBeginShipoutBox   \fi \fi A check of kpsewhich shows I have all the packages, and I don't see a pattern in the .tex files at the point of failure. Terry T. -- Terry M Therneau, PhD

[Rd] Compression

2021-02-18 Thread Therneau, Terry M., Ph.D. via R-devel
This is a CRAN question: I have taken care to compress files in the data directory using "xz" (and checked that it is the best).  Is there then any impact or use for the LazyDataCompression option in the DESCRIPTION file? -- Terry M Therneau, PhD Department of Health Science Res

Re: [Bioc-devel] R-CMD-check fails on ubuntu-20.04 (release)

2021-02-16 Thread Robert M. Flight
Hi Catherine, It looks like igraph is not installed, which RCy3 depends on. This seems odd, because my own package categoryCompare depends on RCy3 and igraph, and it is building fine in the Bioconductor release and dev. I would see if you can recreate this issue locally on the Ubuntu docker

[Rd] issue with data()

2021-02-16 Thread Therneau, Terry M., Ph.D. via R-devel
ments for  !(x %in% recommended).   I am guessing that this would also break many dependent packages. Terry T. -- Terry M Therneau, PhD Department of Health Science Research Mayo Clinic thern...@mayo.edu "TERR-ree THUR-noh" [[alternative HTML version deleted]] __

Re: [Rd] .Fortran to .Call

2020-12-28 Thread Therneau, Terry M., Ph.D. via R-devel
to track down. -- Terry M Therneau, PhD Department of Health Science Research Mayo Clinic thern...@mayo.edu "TERR-ree THUR-noh" [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/

Re: [Rd] [R/S-PLUS] [EXTERNAL] Re: [External] anonymous functions

2020-12-07 Thread Therneau, Terry M., Ph.D. via R-devel
rs). And of course none work in sapply or lapply. Providing a > shorthand in base may help to improve this. You don't have to use it > if you don't want to, and you can establish coding standards that > disallow it if you like. > > Best, > > luke > > On Mon,

[Rd] anonymous functions

2020-12-07 Thread Therneau, Terry M., Ph.D. via R-devel
he survival package now adds more lines of comments or other documentation than lines of code. If I have to puzzle out what a line does, what about the poor sod who inherits the maintainance? -- Terry M Therneau, PhD Department of Health Science Research Mayo Clinic thern...@mayo.edu "TERR-ree TH

Re: [Rd] Issue with data() function

2020-10-25 Thread Therneau, Terry M., Ph.D. via R-devel
into a single .rda file does save space, but it causes some issues with data().   The overall tarball goes from 7480 to 6100 in size (ls -s).   Terry On 10/24/20 4:28 AM, Duncan Murdoch wrote: > On 23/10/2020 9:25 p.m., Therneau, Terry M., Ph.D. via R-devel wrote: >> I found an issue with

[Rd] Issue with data() function

2020-10-23 Thread Therneau, Terry M., Ph.D. via R-devel
aldata' is of course one route, and is suggested in the "Writing R Extensions" guide.  But this is not possible since survival is a recommended package: it can't load any non-recommended package for it's tests or vignettes.  Longer term, perhaps there is way around this constraint? Terry

Re: [R-pkg-devel] CRAN pending status , left up in the air

2020-10-19 Thread Rafael H. M. Pereira
of action to tackle this bottleneck. best Rafael H M Pereira On Mon, Oct 19, 2020 at 5:46 AM Hugo Gruson wrote: > Hi all, > > this is a bit tricky since the documentation on the dashboard comes from > an official, authoritative, source: the R journal [1]. > > "pending: i

[R-pkg-devel] CRAN pending status , left up in the air

2020-10-18 Thread Rafael H. M. Pereira
Hi all, The CRAN incoming Dashboard indicates that the status of my package (r5r) is "pending", which means 'the CRAN maintainers are waiting for an action on your side. You should check your emails!'. However, I haven't received any email with guidance on how to proceed. Is there any CRAN

Re: [R-pkg-devel] Solaris: Error with package imports

2020-09-25 Thread Rafael H. M. Pereira
8) > > hence not on Solaris. > > Best, > Uwe Ligges > > > On 25.09.2020 14:44, Rafael H. M. Pereira wrote: > > Hi all. > > > > I'm having a strange error with the CRAN checks on Solaris. The Solaris > > server throws the error: Package required but not avail

[R-pkg-devel] Solaris: Error with package imports

2020-09-25 Thread Rafael H. M. Pereira
Hi all. I'm having a strange error with the CRAN checks on Solaris. The Solaris server throws the error: Package required but not available: ‘jdx’ even though jdx is listed in 'Imports' in my DESCRIPTION file. This error only occurs on the solaris server. Any suggestions? More info on this

[Rd] Extra "Note" in CRAN submission

2020-09-25 Thread Therneau, Terry M., Ph.D. via R-devel
When I run R CMD check on the survival package I invariably get a note: ... * checking for file ‘survival/DESCRIPTION’ ... OK * this is package ‘survival’ version ‘3.2-6’ * checking CRAN incoming feasibility ... NOTE Maintainer: ‘Terry M Therneau ’ ... This is sufficient for the auto-check

Re: [R-pkg-devel] CRAN, API packages, Keys and tests

2020-09-07 Thread Rainer M Krug
r/tests/test_getSymbols.R#L4 >> >> Best, >> Josh >> >> On Fri, Sep 4, 2020 at 3:25 AM Rainer M Krug wrote: >>> >>> I know this has been asked a few times - but I can’t find anything which >>> might help me. >>> >>> I ha

[R-pkg-devel] CRAN, API packages, Keys and tests

2020-09-04 Thread Rainer M Krug
on remote machines. My question is: 1) I have disabled all tests and all examples if there is no environmental variable set with the API Key - is this OK for CRAN? 2) If not, how can I make this CRAN compliant? Thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc

[R-pkg-devel] install_git +submodules

2020-08-22 Thread Sameh M. Abdulah
I am using install_git to download my package from Github. The problem that I am using submodule on my repo and install_git always uses the master branch of this submodule. I defined mu submodules to uses a specific commit, not the master. I tried to used args="--recursive" but the same

[R-pkg-devel] R CMD INSTALL -l /path/lib

2020-08-19 Thread Sameh M. Abdulah
If a user is using this command to install my package, R CMD INSTALL -l /path/lib package_r.tar.gz How can I get the lib value within the configure file? --Sameh [[alternative HTML version deleted]] __ R-package-devel@r-project.org

Re: [Rd] Guidelines when to use LF vs CRLF ("\n" vs. "\r\n") on Windows for new lines (line endings)?

2020-07-25 Thread M. Edward (Ed) Borasky
I will also add that shell scripts that are in Docker containers will often crash with confusing error messages if they have Windows line endings. On Sat, Jul 25, 2020 at 2:39 PM Duncan Murdoch wrote: > > On 25/07/2020 4:48 p.m., nos...@altfeld-im.de wrote: > > Dear R developers, > > > > I am

Re: [R-pkg-devel] Interpret feedback: not write testthat-tests in examples

2020-07-16 Thread Robert M. Flight
Richel, I think that feedback is important. Examples are examples first, and tests second, as in if your examples no longer work, then maybe you need to check your underlying code. {testthat} tests belong in their own `tests` directory, and are used to directly test your code and provide

Re: [R-pkg-devel] Proper CRAN way - How to handle dependency of java jar file?

2020-07-13 Thread Rainer M Krug
s) > Phone number : +33.6.30.97.34.27 > Research topics: population genetics, landscape ecology, graph theory, > spatial statistics > > - Mail original - > De: "Rainer M Krug" > À: "Maëlle SALMON" > Cc: "r-package-devel" > Envoyé: Lu

Re: [R-pkg-devel] Proper CRAN way - How to handle dependency of java jar file?

2020-07-13 Thread Rainer M Krug
rs package, the hoardr > package) cf > https://blog.r-hub.io/2020/03/12/user-preferences/#not-so-temporary-files3 > > Maëlle. > > Den tisdag 23 juni 2020 14:56:30 CEST, Rainer M Krug skrev: > > > > > > Thanks Duncan. > >> On 23 Jun 2020, at 1

Re: [R-pkg-devel] How to refer to COPYRIGHTS and AUTHORS extra files in DESCRIPTION

2020-07-07 Thread Robert M. Flight
Yohann, Here is a description of the strategy I used a couple of years ago. https://rmflight.github.io/post/licensing-r-packages-that-include-others-code/ -Robert On Tue, Jul 7, 2020 at 1:52 PM Gábor Csárdi wrote: > HI, > > here is an example from a package that was accepted relatively

Re: [R-pkg-devel] Making possible the use of external java codes by downloading it

2020-07-03 Thread Rainer M Krug
with "rappdirs::user_data_dir()". > > Do you know how to check if java is installed on their machine? > > I thought about using something like that: > > jv <- system2("java", args = c("-version")) > if(jv != 0){ > stop("You hav

Re: [R-pkg-devel] Making possible the use of external java codes by downloading it

2020-07-03 Thread Rainer M Krug
> R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Orcid ID: -0002-7490-0066 Department of Evolutionary Biology

Re: [R-pkg-devel] [EXTERNAL] Proper CRAN way - How to handle dependency of java jar file?

2020-06-23 Thread Rainer M Krug
Perfect. You also mention the “backports” package - how can I use that one to be able to also support old versions of R? Thanks, Rainer > On 23 Jun 2020, at 16:34, Hong Ooi wrote: > > Yes, that’s the one. > > From: Rainer M Krug > Sent: Tuesday, 23 June 2020 11:12

Re: [R-pkg-devel] [EXTERNAL] Proper CRAN way - How to handle dependency of java jar file?

2020-06-23 Thread Rainer M Krug
config/user dir. This is > available via R_user_dir() in R 4.0 (and earlier versions via the backports > package). An older alternative that still works is to use the rappdirs > package. > > > -Original Message- > From: R-package-devel On Behalf Of > Rainer

Re: [R-pkg-devel] Proper CRAN way - How to handle dependency of java jar file?

2020-06-23 Thread Rainer M Krug
the jar file into that directory or, when no permission is granted, into the tmpdir() Thanks, no major changes necessary for that, Rainer > > Duncan Murdoch > > On 23/06/2020 8:18 a.m., Rainer M Krug wrote: >> Hi >> I have a package called `plantuml` (https://github.com/rkrug/

[R-pkg-devel] Proper CRAN way - How to handle dependency of java jar file?

2020-06-23 Thread Rainer M Krug
is doing stuff. Any suggestions on how I could make this “CRAN conform”? Thanks a lot, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Orcid ID: -0002-7490-0066 Department of Evolutionary Biology and Environmental Studies Unive

Re: [Bioc-devel] Problem installing sesameData on locked down server

2020-06-19 Thread Schneper, Lisa M.
Dear Lori, Thank you. I'll forward your e-mail to our IT team and see if they can help. If and when you do implement the export function in the Hubs, please let me know. Best, Lisa From: Shepherd, Lori Sent: Friday, June 19, 2020 7:48 AM To: Schneper, Lisa M

Re: [Bioc-devel] Problem installing sesameData on locked down server

2020-06-17 Thread Schneper, Lisa M.
From: Shepherd, Lori Sent: Wednesday, June 17, 2020 8:23 AM To: Schneper, Lisa M. ; bioc-devel@r-project.org Subject: Re: Problem installing sesameData on locked down server If the institution is behind a proxy there is a different ExperimentHub (and AnnotationHub) option for setting

[Bioc-devel] Problem installing sesameData on locked down server

2020-06-17 Thread Schneper, Lisa M.
Hi, I would like to use the SeSAMe package to analyze methylation data that we've generated. Unfortunately, I'm having difficulty installing the sesameData package on our server. The server does not access the internet due to security. I think I've installed all the dependencies. I was able

[Rd] CRAN checks and ASAN

2020-06-11 Thread Therneau, Terry M., Ph.D. via R-devel
I have a version of R-devel on my development box that has the address sanitizer turned on.   This was instrumental in finding a pair of subtle memory issues.  (I had read, but never written, one element past the end of an array, which caused issues on some architectures.) 1. I now get a

[R-pkg-devel] exit and 'stderr' warning

2020-04-29 Thread Sameh M. Abdulah
I am getting this warning which I need to get rid of. Found 'exit', possibly from 'exit' (C) Found 'stderr', possibly from 'stderr' (C) I am depending on several C-based software that has many calls for 'exit' and 'stderr'. In this case, how can I avoid this warning?

Re: [R-pkg-devel] /usr/bin/ld: cannot find -ludev

2020-04-26 Thread Sameh M. Abdulah
> listed in your SystemRequirements entry in your DESCRIPTION file? > >> On April 26, 2020 6:41:27 AM PDT, "Sameh M. Abdulah" >> wrote: >> I am getting this error when trying to install my package on CRAN. Do I >> need to contact >> CRAN to incl

[R-pkg-devel] /usr/bin/ld: cannot find -ludev

2020-04-26 Thread Sameh M. Abdulah
I am getting this error when trying to install my package on CRAN. Do I need to contact CRAN to include it on the CRAN system? or there is another solution. /usr/bin/ld: cannot find -ludev collect2: error: ld returned 1 exit status --Sameh [[alternative HTML version deleted]]

Re: [Bioc-devel] INSPEcT vignette building issue

2020-04-08 Thread Assaf M
How do I remove myself from this list? On Wed, Apr 8, 2020 at 3:58 AM Stefano de Pretis wrote: > Dear Bioc community, > > As the previous email described, we're facing issues in reproducing the > TIMEOUT during the build of the INSPEcT package in the Windows environment. > Does anyone have

[Rd] ASAN

2020-04-07 Thread Therneau, Terry M., Ph.D. via R-devel
I'm trying to chase down a possible issue with the survival package, and so was trying to resurrect my ASAN version of r-devel.   I added the lines to config.site for CC, CFLAGS and MAIN_LDFLAGS per section 4.3.3 of the  'packages' documentation, and lines to ~/.R/Makevars. I followed that

Re: [R-pkg-devel] Strange leftovers after check by CRAN

2020-03-20 Thread Rainer M Krug
gt; >> >> >> ____ >> From: R-package-devel >> <mailto:r-package-devel-boun...@r-project.org> on behalf of Rainer M Krug >> <mailto:rai...@krugs.de> >> Sent: March 19, 2020 11:21:08 AM >&

Re: [R-pkg-devel] Strange leftovers after check by CRAN

2020-03-19 Thread Rainer M Krug
r > > Best, > Kevin > > On Thu, Mar 19, 2020 at 9:21 AM Rainer M Krug wrote: >> >> Hi >> >> My package dmdScheme gets always one note after submission to CRAN: >> >> >> ... >> * checking for detritus in

[R-pkg-devel] Strange leftovers after check by CRAN

2020-03-19 Thread Rainer M Krug
... OK * DONE Any suggestions how I can track down the where these are coming from? Each time my package has to go through a manual check at CRAN… Thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Orcid ID: -0002-7490

Re: [R-pkg-devel] An invalid URLs

2020-03-12 Thread Richard M. Heiberger
Is it perhaps an https:// address? You browser will make the adjustment. CRAN will give this message. On Thu, Mar 12, 2020 at 10:08 PM jared_wood wrote: > > I write an URL of MalaCards (a database) in my description, because I need > the data in this database. However, there is an error here

Re: [R-pkg-devel] First R package, want to release to CRAN, have some questions about R CMD check and README.md

2020-03-07 Thread Robert M. Flight
Umm, but README.md becomes README.html on CRAN, and it is very nice to have. I'm not sure what the error you are seeing is, but having README on CRAN is nice. Have you .Rbuildignore 'd README.Rmd?? That should be ignored if I remember correctly. -Robert On Sat, Mar 7, 2020, 5:55 PM Jeff

Re: [Rd] survival bug? - solved

2020-03-05 Thread Therneau, Terry M., Ph.D. via R-devel
 I ended up finding the issue by a focused code review. Once in the past, I had a version that would fail under one architecture but not another, in that case some help from Brian Ripley pointed me to the offending line of C code.   That line read, but did not write, at an invalid memory

[Rd] rounding change

2020-03-05 Thread Therneau, Terry M., Ph.D. via R-devel
This is a small heads up for package maintainers.   Under the more recent R-devel, R CMD check turned up some changes in the *.out files.   The simple demonstration is to type  "round(51/80, 3)", which gives .638 under the old and .637 under the new.   (One of my coxph test cases has a

[Rd] survival bug?

2020-03-03 Thread Therneau, Terry M., Ph.D. via R-devel
My latest submission of survival3.1-10 to CRAN fails  a check, but only on windows, which I don't use. How do I track this down? The test in question works fine on my Linux box. Terry [[alternative HTML version deleted]] __

Re: [Rd] specials issue, a heads up

2020-02-24 Thread Therneau, Terry M., Ph.D. via R-devel
so that it does not try to call cluster? Another approach I tried was not exporting cluster(), but that fails when model.frame tries to call it. Terry On 2/24/20 12:21 PM, Duncan Murdoch wrote: > On 24/02/2020 8:55 a.m., Therneau, Terry M., Ph.D. via R-devel wrote: >> I recently had

[Rd] specials issue, a heads up

2020-02-24 Thread Therneau, Terry M., Ph.D. via R-devel
I recently had a long argument wrt the survival package, namely that the following code didn't do what they expected, and so they reported it as a bug   survival::coxph( survival::Surv(time, status) ~ age + sex + survival::strata(inst), data=lung) a. The Google R style guide  recommends

Re: [R-pkg-devel] no visible binding for '<<-' assignment note

2020-02-21 Thread Richard M. Heiberger
I would guess that your NAMESPACE file doesn't export dnormfun. On Fri, Feb 21, 2020 at 1:38 PM Weimin Zhang wrote: > > Thank you Max. > > The reason I used the super assignment "<<-" is because the "dnormfun" > function later called by function kronecker(X, Y, FUN = "*",...) through > FUN="

Re: [R-pkg-devel] Private S3 Method not Found

2020-02-17 Thread Richard M. Heiberger
or a table: > > > > \begin{table}[!tbp] > > \begin{center} > > \begin{tabular}{l} > > \hline\hline > > \multicolumn{1}{c}{}\tabularnewline > > \hline > > ~\tabularnewline > > a\tabularnewline > > b\tabularnewline > > \hline > > \end{tabu

Re: [R-pkg-devel] Private S3 Method not Found

2020-02-17 Thread Richard M. Heiberger
Please be consistent with the latex() function in the Hmisc package. For example, for an array x, latex (x) produces a complete latex table environment. See the ?latex helpfile for details. Rich On Mon, Feb 17, 2020 at 10:07 wrote: > Hello, > > > > I'm working on a function in a package that

Re: [R-pkg-devel] R CMD build hanging for some but not all packages

2020-02-12 Thread Rainer M Krug
ng like file.copy( setdiff(list.files(recursive=TRUE)), >> scan(".Rbuildignore", what=character())), to = destdir) ? >> >> On 2020-02-11 8:50 a.m., Rainer Krug wrote: >>> Thinking about it - what would be the easiest way, to copy the package, >>> excluding

Re: [R-pkg-devel] [EXTERNAL] R CMD build hanging for some but not all packages

2020-02-11 Thread Rainer M Krug
probably because R CMD build does something like cp * to > copy everything to a temp folder first up, before processing it. An argument > could be made that it should manually loop through all files and dirs, > checking each against .Rbuildignore before copying. > > > From: Rain

  1   2   3   4   5   >