Re: [R-pkg-devel] HTML validation error in roxygen2 generated documentation

2024-10-31 Thread Nikos Bosse
Hi Ivan, Thanks SO much for your quick help. Removing the did not work. However, I now did ``` #' \if{html}{ #'   \out{} #'   \figure{metrics-binary-point.png}{options: style="width:750px;max-width:100\%;"} #'   \out{} #'   Overview of required input format for binary and point forecasts #' }

Re: [R-pkg-devel] Warnings related to functions from the survival package

2024-10-31 Thread Ivan Krylov via R-package-devel
On Thu, 31 Oct 2024 17:59:01 +0100 Tomas Kalibera wrote: > for now, if you know an elegant, minimal way how to suppress > this, and have the time and energy, a patch would be welcome A fresh R-4.4.2 build compiled with clang-19 -fsanitize=function gives the error: $ bin/R -q -s -e 'library(surv

Re: [R-pkg-devel] HTML validation error in roxygen2 generated documentation

2024-10-31 Thread Ivan Krylov via R-package-devel
В Thu, 31 Oct 2024 18:04:47 +0100 Nikos Bosse пишет: >  Found the following HTML validation problems: >  ae_median_quantile.html:79:1 (ae_median_quantile.Rd:41): Warning: > inserting implicit > ae_median_quantile.html:79:1 (ae_median_quantile.Rd:41): Warning: > trimming empty Thank you for pro

[R-pkg-devel] HTML validation error in roxygen2 generated documentation

2024-10-31 Thread Nikos Bosse
Dear list, I'm trying to submit an updated version of R package scoringutils to CRAN (https://github.com/epiforecasts/scoringutils). I built the package using `R CMD build` with Roxygen2 7.3.2 both on Mac and on Ubuntu. I'm seeing a NOTE related to several HTML validation problems (see below).

Re: [R-pkg-devel] Warnings related to functions from the survival package

2024-10-31 Thread Tomas Kalibera
On 10/31/24 17:39, Ivan Krylov via R-package-devel wrote: В Thu, 31 Oct 2024 12:06:25 -0400 Kaifeng Lu пишет: /home/hornik/src/R/src/main/dotcode.c:1978:2: runtime error: call to function coxph_wtest through pointer to incorrect function type 'void (*)(void *, void *, void *, void *, void

Re: [R-pkg-devel] Warnings related to functions from the survival package

2024-10-31 Thread Ivan Krylov via R-package-devel
В Thu, 31 Oct 2024 12:06:25 -0400 Kaifeng Lu пишет: > /home/hornik/src/R/src/main/dotcode.c:1978:2: runtime error: call to > function coxph_wtest through pointer to incorrect function type 'void > (*)(void *, void *, void *, void *, void *, void *)' > /home/hornik/src/R/src/main/dotcode.c:199

[R-pkg-devel] Warnings related to functions from the survival package

2024-10-31 Thread Kaifeng Lu
Dear friends, I received the following warning messages related to functions from the survival package. I didn't directly use the functions mentioned below: coxph_wtest, agsurv5, survdiff2, and coxmart. I believe they are used by higher-level functions from the survival package, such as survdiff a