Re: [R-pkg-devel] CRAN Submission xgboost 1.7.11.1

2025-05-08 Thread jiaming yuan
Hi CRAN, May I ask if someone has tried to reproduce the openblas test environment from CRAN? We are trying to resolve the test failures of XGBoost but so far no one has managed to reproduce them locally. https://github.com/dmlc/xgboost/issues/11431 Would be great if you can share some guidanc

Re: [R-pkg-devel] Secondary Issues getting a package on cran

2025-05-08 Thread Ivan Krylov via R-package-devel
В Thu, 8 May 2025 12:01:47 -0400 Tracy Morrison Sweet пишет: > New submission > Package was archived on CRAN > > I’m not sure how to do anything to remove this note. This note is to be expected. > In process.txt and summary.txt, it says "File: HLSM-Ex.Rout > vendor/cigraph/src/constructors/ad

Re: [R-pkg-devel] Functions requiring packages listed on Suggests

2025-05-08 Thread Juan Antonio García Martín
Thank you for answering so soon, Michael and Uwe. I think I will follow Uwe's approach, it is simple and will work on all cases. Best regards, Juan Antonio On May 8, 2025 6:24:34 PM GMT+02:00, Uwe Ligges wrote: >Simply only run the function conditionally in test, examples, vignettes: > >

[R-pkg-devel] Secondary Issues getting a package on cran

2025-05-08 Thread Tracy Morrison Sweet
Hi all, I’m not sure how to fix the following issues with a package. When I run checks on my own computer, I only see a note that the package was previously removed from cran. So both of the checks have the same note: New submission Package was archived on CRAN I’m not sure how to do anythi

Re: [R-pkg-devel] Functions requiring packages listed on Suggests

2025-05-08 Thread Uwe Ligges
Simply only run the function conditionally in test, examples, vignettes: if(requireNamespace(packageName)){ example / vignette / test code } On 08.05.2025 15:37, Juan Antonio Garcia Martin wrote: Dear mantainers, I have a question, since one of my packages currently does not pass the onS

[R-pkg-devel] Functions requiring packages listed on Suggests

2025-05-08 Thread Juan Antonio Garcia Martin
Dear mantainers, I have a question, since one of my packages currently does not pass the onSuggest special check. Two functions of my package require some of the suggested packages either in CRAN (DiagrammeR, DiagrammeRsvg and rsvg) or Bioconductor ( rtracklayer and GenomicRanges), also listed

Re: [R-pkg-devel] Functions requiring packages listed on Suggests

2025-05-08 Thread Michael Chirico
Just don't run those examples on machines lacking the Suggests packages. With roxygen2 it's as easy as @examplesIf requireNamespace(p, quietly=TRUE). On Thu, May 8, 2025, 8:19 AM Juan Antonio Garcia Martin < ja.gar...@cnb.csic.es> wrote: > Dear mantainers, > > I have a question, since one of my

Re: [R-pkg-devel] Run Examples Not Found

2025-05-08 Thread Ivan Krylov via R-package-devel
В Wed, 7 May 2025 20:10:50 + (UTC) Mat Fok via R-package-devel пишет: > I want to be able to click "Run Examples" in my Help documentation > but I get the error /Example/olr not found. > I have searched online for this but the most relevant thing I have > found was > stackoverflow.com/quest