Re: [R-pkg-devel] Error while checking if Pandoc is available

2019-12-10 Thread Maëlle SALMON via R-package-devel
ibre_4.2.0_tmp_D8BXMj’ > > >      ‘calibre_4.2.0_tmp_M8RU75’ ‘calibre_4.2.0_tmp_TipWj0’ > > >      ‘calibre_4.2.0_tmp_f0mVQS’ ‘calibre_4.2.0_tmp_fHEPce’ > > >      ‘runtime-hornik’ > > > > > > The 'brinton' package stores files in the temporary

[R-pkg-devel] Significant warnings during package checks

2020-01-08 Thread MONSUUR OLAWALE via R-package-devel
Hi R-package-devel team, I submitted my package on CRAN and below errors and warnings seemed to have appeared in the during the automatic check but that did not actually appear when I compile. Any suggestions on how this problem could be resolved? * checking whether package BASiNET can be

[R-pkg-devel] Checkpoint package failing CRAN checks

2020-01-08 Thread Hong Ooi via R-package-devel
can be found at https://win-builder.r-project.org/incoming_pretest/checkpoint_0.4.8_20200108_065428/Debian/00check.log Error(s) in re-building vignettes: ... --- re-building 'checkpoint.Rmd' using rmarkdown * installing *source* package 'darts' ... ** using staged installation **

Re: [R-pkg-devel] [EXTERNAL] Re: Checkpoint package failing CRAN checks

2020-01-13 Thread Hong Ooi via R-package-devel
Good catch, Ivan! Fixing that seems to have done the trick. Thanks! The question now is why checkpoint hasn't crashed and burned prior to this, but I'll leave that for another day -Original Message- From: Ivan Krylov Sent: Friday, 10 January 2020 8:18 PM To: Hong

Re: [R-pkg-devel] [EXTERNAL] Re: finding "logo.jpg" [was: "try" malfunctions on Ubuntu Linux 16.04 LTS, R-release, GCC]

2020-02-03 Thread Hong Ooi via R-package-devel
I echo this. Relying on something undocumented and platform-specific, like the location of a random installation file, is just asking for problems. Instead, make a small image of your own and distribute it with your package. -Original Message- From: R-package-devel On Behalf Of Ben

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

2020-02-10 Thread Hong Ooi via R-package-devel
This is with R 3.6.2 on Windows 10 Pro 1909. In the last couple of weeks, devtools::build() and devtools::check() have started hanging on some, but not all, of my packages. After some poking around, I discovered that it's actually R CMD build that is having problems, right after the &quo

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

2020-02-10 Thread Hong Ooi via R-package-devel
Actually, cancel that: it finished successfully, but took 3 minutes to prepare the package: r$> devtools::build() v checking for file 'C:\Users\hongo\Documents\GitHub\AzureStor/DESCRIPTION' - preparing 'AzureStor': (3m 4s) v checking DESCRIPTION meta-informatio

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

2020-02-10 Thread Hong Ooi via R-package-devel
That was it; I had a big subdirectory full of stuff I was using to test the package. Removing it caused the build time to drop back to 15 seconds. Thanks! -Original Message- From: Gábor Csárdi Sent: Tuesday, 11 February 2020 3:58 AM To: Hong Ooi Cc: r-package-devel@r-project.org

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

2020-02-11 Thread Hong Ooi via R-package-devel
They are scanned 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: Rainer M Krug

[R-pkg-devel] Possible gcc-10.0.1 Bug in gcc-10 Test Server

2020-02-29 Thread brodie gaslam via R-package-devel
to rocker/r-base that builds on the testing debian repo I was able to reproduce the error, and figure just enough to post a semi-cogent question on SO: https://stackoverflow.com/q/60406042/2725969 And some folks that know more than me about compilers rendered judgment that it likely is a

Re: [R-pkg-devel] Winbuilder queues jammed again?

2020-03-05 Thread brodie gaslam via R-package-devel
as to check them all. They're independent. Yeah.  Sorry.  It's the R-release queue. > 2. You can look at the different win-builder queues yourself via ftp, > see https://stat.ethz.ch/pipermail/r-package-devel/2020q1/005098.html That could be useful information, but when I tried jus

Re: [R-pkg-devel] [EXTERNAL] Re: slightly polemic question re R CMD check

2020-03-09 Thread Hong Ooi via R-package-devel
ould really be the other way round: the specific case should inherit from the general, so that an lm is a glm, not a glm is an lm. It's way too late to change this now, of course. -Original Message- From: R-package-devel On Behalf Of David Hugh-Jones Sent: Sunday, 8 March 2020 6:

[R-pkg-devel] Package fails on OSX on CRAN but not on rhub

2020-04-23 Thread Stuart Lacy via R-package-devel
Wolfson Atmospheric Chemistry Lab & Information Services *C/G/116* University of York Heslington York YO10 5DD +44 (0)1904 324756 [image: https://www.york.ac.uk/media/abouttheuniversity/supportservices/informationdirectorate/images/cse/CSEUK%20Primary%20(r)%20RGB-80x95.jpg] Disclaimer: https://ww

Re: [R-pkg-devel] Documentation for non-user-level objects

2020-05-11 Thread Maëlle SALMON via R-package-devel
roblem when I uploaded the package to CRAN. There is a warning told me “All user-level objects in a package should have documentation entries.” Actually, those functions are not user-level functions. How could I claim non-user-level functions in an R package. Is there any idea to remove this w

Re: [R-pkg-devel] CensSpatial package error.

2020-05-12 Thread Maëlle SALMON via R-package-devel
t, it does not pass the automatic incoming checks,* even when I tested it using the function check available in R studio without errors.* Apparently is a problem with the OS Linux and Debian but I couldn't identify it yet. I also tested it using the package rhub and ran CensSpatial with different

Re: [R-pkg-devel] Documenting raw data

2020-05-12 Thread Maëlle SALMON via R-package-devel
Hello, I don't think you have to (and shouldn't?) document raw data. However, you can use it in examples/tests/etc. using the system.file() command you mention. But maybe you want to export the data? In that case it should be under data/. This chapter of the R packages book might

Re: [R-pkg-devel] Including fonts in an rmarkdown vignette

2020-06-03 Thread Maëlle SALMON via R-package-devel
Hi, I've recently seen an example of a package that provides its own fonts for a vignette. See links in https://blog.r-hub.io/2020/06/03/vignettes/#pretty-vignettes In that same post I link to a workaround I saw on this list https://www.mail-archive.com/r-package-devel@r-projec

[R-pkg-devel] SAR package: check errors with dataset documentation

2020-06-16 Thread Hong Ooi via R-package-devel
Hello all, I'm refreshing the docs for my SAR package ( https://github.com/hongooi73/SAR ), and I'm running into a weird problem. The package contains 2 example data frames, 'ms_catalog' and 'ms_usage'. Here is the relevant documentation for them, in the file

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

2020-06-23 Thread Hong Ooi via R-package-devel
Another possibility, if you want the jar to be dynamic and also have a standard location for it, is to write it to the R 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

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

2020-06-23 Thread Hong Ooi via R-package-devel
Yes, that’s the one. From: Rainer M Krug Sent: Tuesday, 23 June 2020 11:12 PM To: Hong Ooi Cc: R Package Devel Subject: Re: [EXTERNAL] [R-pkg-devel] Proper CRAN way - How to handle dependency of java jar file? Thanks Hong - I like that. I found that package in the tools::R_user_dir

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

2020-07-12 Thread Maëlle SALMON via R-package-devel
Regarding where to save the jar file, you might be interested in "app dirs" (via tools::R_user_dir() in R from 4.0, the rappdirs 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

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

2020-07-17 Thread Maëlle SALMON via R-package-devel
hen I agree it should not be in the example code because it adds clutter.  Such validation should be in a package test. So, if the former, I suggest you reply to the CRAN Team and explain this. /Henrik On Thu, Jul 16, 2020 at 6:28 AM Richel Bilderbeek wrote: > > Dear R package developers, &

Re: [R-pkg-devel] (no subject)

2020-10-19 Thread Maëlle SALMON via R-package-devel
ternative HTML version deleted]] ______ 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

Re: [R-pkg-devel] [EXTERNAL] Usage of internet resources in examples

2020-10-20 Thread Hong Ooi via R-package-devel
, mentioning that it was approved previously. -Original Message- From: R-package-devel On Behalf Of Andy Teucher Sent: Wednesday, 21 October 2020 7:29 AM To: r-package-devel@r-project.org Subject: [EXTERNAL] [R-pkg-devel] Usage of internet resources in examples Our packa

Re: [R-pkg-devel] [EXTERNAL] Re: Pre-test failure

2020-10-23 Thread Hong Ooi via R-package-devel
My personal opinion is that as long as a package doesn't actually make it on to CRAN, you don't need to bump the version. It's worked so far -Original Message- From: R-package-devel On Behalf Of Ben Bolker Sent: Saturday, 24 October 2020 2:23 AM To: r-package-deve

Re: [R-pkg-devel] URLencode at DESCRIPTION file and citation()

2020-11-03 Thread Maëlle SALMON via R-package-devel
going from Rd to HTML, the parts after "%" are ignored indeed. I'm not sure at what level this should be fixed. I opened an issue in roxygen2 https://github.com/r-lib/roxygen2/issues/1164 I hope others will have more useful answers. :-) 2) For that aspect I looked into a CITATION

Re: [R-pkg-devel] Assigning a variable to global environment

2020-12-11 Thread Avi Gross via R-package-devel
n make the change temporary and will unwind them. Some may keep the change permanent till the end of the session. I find that although it is tempting in base R to shorten use of names like $df$var_name to just var_name, use of a tidyverse package gets around it in a more limited way that does n

Re: [R-pkg-devel] Accessing features in R4.0.

2020-12-16 Thread brodie gaslam via R-package-devel
I don't know if this will work in your case (or even if it is a good or bad thing to do), but backports conditionally exports the function in question, e.g.: https://github.com/r-lib/backports/blob/master/R/lengths.R So in that example their implementation of a function not available

[R-pkg-devel] cannot xtfrm data frames WARNING with R-devel

2021-02-06 Thread J. Aravind via R-package-devel
Dear R developers, I am facing an issue while submitting update to my package PGRdup (https://github.com/aravind-j/PGRdup). With R-devel Debian (2021-02-05 r7994) on submission a WARNING was reported as follows. . . . .Quitting from lines 536-542 (Introduction.Rmd) Error: processing vignette

Re: [R-pkg-devel] Help with 2 NOTES

2024-10-10 Thread Ivan Krylov via R-package-devel
ges they compile. I'm not seeing a license covering the downloads at https://redatam.org/es/aplicaciones or https://redatam.org/en/software. Good luck! For best results next time you have a question, please provide a link to the latest version of the package source code. -- Best regards, Ivan __

Re: [R-pkg-devel] Installation error when submitting package to CRAN

2024-10-17 Thread Ivan Krylov via R-package-devel
t; Please only ship the CRAN template for the MIT license. Michael: for more information, see RShowDoc("MIT") and <https://contributor.r-project.org/cran-cookbook/description_issues.html#license-files>. -- Best regards, Ivan ______ R-packa

Re: [R-pkg-devel] Installation error when submitting package to CRAN

2024-10-16 Thread Jeff Newmiller via R-package-devel
produced. > >``` >* installing *source* package 'hhmR' ... >** using staged installation >** R >** data >*** moving datasets to lazyload DB >** inst >** byte-compile and prepare package for lazy loading >Error in loadNamespace(j <- i[[1L]], c(lib.lo

Re: [R-pkg-devel] Installation took CPU time elapsed time for rust-based package

2024-10-16 Thread Ivan Krylov via R-package-devel
В Wed, 16 Oct 2024 17:38:27 + D Z пишет: > if [ -n "$_R_CHECK_LIMIT_CORES" ]; then \ >   export BUILDFLAGS="-j 2 --offline"; \ This environment variable is spelled with an extra underscore: https://cran.r-project.org/doc/manuals

Re: [R-pkg-devel] Help with 2 NOTES

2024-10-10 Thread Ivan Krylov via R-package-devel
Dear Jaime Salvador, Welcome to R-package-devel! В Wed, 9 Oct 2024 20:42:24 + Jaime Salvador пишет: > New submission This one is expected for new packages. > Possibly misspelled words in DESCRIPTION: > DICX (12:67) > RXDB (12:59) > Redatam (2:34, 12:40) Wrap the ab

Re: [R-pkg-devel] clang-san issue with R vignettes using ggplot2

2024-10-30 Thread Ivan Krylov via R-package-devel
В Tue, 29 Oct 2024 22:21:16 -0400 Kaifeng Lu пишет: > ==1429888==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 7680 byte(s) in 12 object(s) allocated from: > #0 0x55b3e7ff95d0 in realloc > (/home/hornik/tmp/R-d-clang-xtra/bin/exec/R+0x

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

2024-10-31 Thread Ivan Krylov via R-package-devel
Thank you for providing the links to the source code! This can be diagnosed using R CMD Rdconv: R CMD Rdconv -o ae_median_quantile.html -t html ae_median_quantile.Rd tidy ae_median_quantile.html >/dev/null Here are the lines around the problematic part of the HTML document: --

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

2024-11-01 Thread Ivan Krylov via R-package-devel
rors just for mismatched function pointer types inside do_dotCode(), because "function" is the name of this check [1]. Here's do_dotCode with a different error added: bin/R -q -s -e 'library(survival); survdiff(Surv(futime, fustat) ~ rx,data=ovarian)' dotcode.c:1958

Re: [R-pkg-devel] *** caught segfault *** address (nil), cause 'unknown'

2024-10-28 Thread Ivan Krylov via R-package-devel
(module = "spatial_index_cpp", what = TRUE, env = ns, > loadNow = TRUE) > > > It is rather strange because I have not edited this module since the > last version and the package is installing correctly on other > platforms Perplexing. The method that usually works - sta

Re: [R-pkg-devel] Alternative to ifeq for Makevars

2024-11-08 Thread Ivan Krylov via R-package-devel
В Fri, 8 Nov 2024 11:44:15 -0800 Josiah Parry пишет: > Do you know of any good documentation on the use of Makevars.in with > configure? A configure script for an R package could be any POSIX-compatible shell script, including a hand-written one that substitutes strings using sed [*], o

Re: [R-pkg-devel] Alternative to ifeq for Makevars

2024-11-08 Thread Ivan Krylov via R-package-devel
LAGS_$(NOT_CRAN)) (This one is untested, sorry.) -- Best regards, Ivan __________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Possible false negative for compiled C++ code in CRAN checks

2024-11-11 Thread Ivan Krylov via R-package-devel
Dear Mauricio Vargas Sepulveda, Welcome to R-package-devel! В Sat, 9 Nov 2024 17:34:07 + Mauricio Vargas Sepulveda пишет: > CRAN reported memory leaks for: > > CLAN/ASAN: > https://www.stats.ox.ac.uk/pub/bdr/memtests/clang-ASAN/redatam/00check.log > CLANG

Re: [R-pkg-devel] Found the following HTML validation problems: in R CMD check --as-cran

2024-11-12 Thread Ivan Krylov via R-package-devel
В Tue, 12 Nov 2024 01:53:08 -0600 Spencer Graves пишет: > In running "R CMD check --as-cran Ecfun_0.3-5.tar.gz" on my > local macOS 15.0.1 system, 00check.log contains "Found the following > HTML validation problems:" followed by 501 lines like the following

Re: [R-pkg-devel] New package with C++ code causes R abort in RStudio, not in R console.

2024-11-12 Thread Ivan Krylov via R-package-devel
В Tue, 12 Nov 2024 21:09:54 + Luc De Wilde пишет: > I have attached a debugger (from Visual Studio) to the R process, > which gives me the message "A breakpoint instruction (__debugbreak() > statement or similar call) was executed in rsession-utf8.exe. > > When I go to t

Re: [R-pkg-devel] New package with C++ code causes R abort in RStudio, not in R console.

2024-11-12 Thread Ivan Krylov via R-package-devel
В Tue, 12 Nov 2024 14:06:53 + Luc De Wilde пишет: > The package with C++ code is in https://github.com/lucdw/lavaanC.  > > When testing with a bunch of models, there is one model that causes > an abort of the R session in RStudio (on Windows), but in the R > console or in

Re: [R-pkg-devel] Possible false negative for compiled C++ code in CRAN checks

2024-11-12 Thread Ivan Krylov via R-package-devel
ardware_concurrency says that std::thread::hardware_concurrency() could plausibly return 0. Or is this due to empty entities vector? > I am also using "-Wall -O0 -pedantic" and "-UDEBUG -g" to check > locally, and I am also using all the available R-Hub images (27 > differe

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/sr

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 &#

Re: [R-pkg-devel] Possible false negative for compiled C++ code in CRAN checks

2024-11-12 Thread Ivan Krylov via R-package-devel
examples [3]. >SUMMARY: AddressSanitizer: alloc-dealloc-mismatch > (/opt/R/devel-asan/lib/R/bin/exec/R+0xc6306) (BuildId: > 178e357df79b1589a38c1949da5e5f022d4bb535) in free This is an error you're getting when testing with an R-hub image. R-hub is not CRAN. You've performed good

Re: [R-pkg-devel] help with CRAN failures (broom.mixed, rstan-related)

2024-09-25 Thread Ivan Krylov via R-package-devel
В Wed, 25 Sep 2024 12:28:25 -0400 Ben Bolker пишет: >What is your current estimate of the probability that this is > something that I've done wrong vs. exposing something wonky elsewhere > (i.e. at the level of testthat, brms, rstan, Rcpp, R-devel, ...) ? I didn't have

Re: [R-pkg-devel] help with CRAN failures (broom.mixed, rstan-related)

2024-09-26 Thread Ivan Krylov via R-package-devel
В Wed, 25 Sep 2024 16:57:55 -0400 Ben Bolker пишет: > Next question, is this (in your opinion) worth escalating to > r-devel ? I think so, yes. Hopefully there will be a way to temporarily re-enable the S4 dispatch for primitive operators in methods:::.requirePackage (that live

Re: [R-pkg-devel] help with CRAN failures (broom.mixed, rstan-related)

2024-09-24 Thread Ivan Krylov via R-package-devel
gests: rstan and it being seemingly unable to load, you don't get a NOTE for the missing dependency: >> checking package dependencies ... NOTE >> Packages suggested but not available for checking: 'dotwhisker', >> 'glmmADMB' At that stage, R CMD check

Re: [R-pkg-devel] Rolling Back an Archived Package

2024-09-24 Thread Ivan Krylov via R-package-devel
mmend making sure that you can reproduce the problem with the latest version of the package and then verifying that the previous version of the package doesn't exhibit that problem. Unfortunately, starting with `podman run fedora:36` and following [2] to compile clang-18 and R was not enough

[R-pkg-devel] Deprecating apparent S3 method, changing name

2024-09-24 Thread Murray Efford via R-package-devel
ds for exported generics not registered: etc." This is understandable, but how can I avoid it while properly deprecating the old functions? I seem to remember a recent question like this, but I'm sorry I cannot find it. Murray [[alternative HTML version deleted]] ___

Re: [R-pkg-devel] Deprecating apparent S3 method, changing name

2024-09-26 Thread Ivan Krylov via R-package-devel
В Wed, 25 Sep 2024 05:13:31 + Murray Efford via R-package-devel пишет: > When I deprecate the old functions (by exporting a shell function > that calls .Deprecated and the new function), I get a package check > note for e.g. esa.plot "* checking S3 generic/method consiste

Re: [R-pkg-devel] Deprecating apparent S3 method, changing name

2024-09-26 Thread Murray Efford via R-package-devel
September 2024 08:48 To: Murray Efford via R-package-devel Cc: Murray Efford Subject: Re: [R-pkg-devel] Deprecating apparent S3 method, changing name � Wed, 25 Sep 2024 05:13:31 + Murray Efford via R-package-devel �: > When I deprecate the old functions (by exporting a shell funct

Re: [R-pkg-devel] R-extension requirement about third-party random number generators (RNG)

2024-09-27 Thread Jeff Newmiller via R-package-devel
You mention that you did not like putting the rstream in the user API but there is nothing forcing you to have the user call your cpp function directly... there are lots of packages that use R glue functions as the API. I have not dug into Dirk's code, but having the native R seed manageme

Re: [R-pkg-devel] Deprecating apparent S3 method, changing name

2024-09-29 Thread Murray Efford via R-package-devel
Check results vary. With win-builder both R-release (R 4.4.1) and R-devel I get * checking S3 generic/method consistency ... NOTE Apparent methods for exported generics not registered: esa.plot See section 'Registering S3 methods' in the 'Writing R Extensions' manual. But

Re: [R-pkg-devel] flang-new-18 complains: incompatiple object shapes

2024-09-20 Thread Ivan Krylov via R-package-devel
licit interface for DAXPY. Do you need help testing your code with this compiler? -- Best regards, Ivan ______ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Deprecating apparent S3 method, changing name

2024-10-01 Thread Ivan Krylov via R-package-devel
as the note doesn't happen on my > system) doesn't resolve the issue with the NOTE. Excellent idea, thank you! It does work for R CMD check as well: Sys.setenv("_R_CHECK_S3_METHODS_SHOW_POSSIBLE_ISSUES_" = 'TRUE') tools::checkS3methods(dir = '.')

Re: [R-pkg-devel] help with CRAN failures (broom.mixed, rstan-related)

2024-09-25 Thread Ivan Krylov via R-package-devel
Hmm, so it's *not* a machine-specific problem after all [1,2] and can now be reproduced on a regular R-devel build on Debian Sid. I'm sorry for jumping to conclusions. Why would Rcpp::loadModule() (called from rstan's .onLoad) end up trying to apply a non-function, but only when be

Re: [R-pkg-devel] Deprecating apparent S3 method, changing name

2024-10-01 Thread Murray Efford via R-package-devel
: Wednesday, 2 October 2024 00:45 To: Jan van der Laan Cc: Murray Efford ; Murray Efford via R-package-devel Subject: Re: [R-pkg-devel] Deprecating apparent S3 method, changing name � Tue, 1 Oct 2024 09:00:24 +0200 Jan van der Laan �: > S3method(esa, plot, esaplotmethod) > > To

Re: [R-pkg-devel] libarrow

2024-11-27 Thread Pham, T.V. via R-package-devel
It is clear. Thank you very much. Thang -Original Message- From: R-package-devel On Behalf Of r-package-devel-requ...@r-project.org Sent: Wednesday, November 27, 2024 12:00 PM To: r-package-devel@r-project.org Subject: R-package-devel Digest, Vol 115, Issue 19 Send R-package-devel

Re: [R-pkg-devel] update.packages Error in if (any(diff)) { : missing value where TRUE/FALSE needed

2024-11-17 Thread Ivan Krylov via R-package-devel
gs, hence the need for the sessionInfo() output. -- Best regards, Ivan ______ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Fwd: [CRAN-pretest-archived] CRAN Submission sidra 0.1.3

2024-11-18 Thread Ivan Krylov via R-package-devel
seems this could be ignored. Is it so? Yes. It's for the CRAN maintainers to perform a manual review of the new package. Good luck! -- Best regards, Ivan ______ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] update.packages Error in if (any(diff)) { : missing value where TRUE/FALSE needed

2024-11-18 Thread Ivan Krylov via R-package-devel
, 'xx', 'nmxx'? What is your sessionInfo()? -- Best regards, Ivan __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Is this an issue with the package submission?

2024-11-14 Thread Ivan Krylov via R-package-devel
ment types: https://github.com/cran/purrr/blob/de947f6ca0cefdb95f7f0442b08c12c1ef3368ae/src/map.c#L14-L18 This shouldn't break anything on most modern CPU architectures in practice (R itself is doing similar tricks in order to implement .C() and .Fortran()), but it is a formal violation of th

Re: [R-pkg-devel] New package with C++ code causes R abort in RStudio, not in R console.

2024-11-14 Thread Ivan Krylov via R-package-devel
oblem yourself! It took me too long to figure out that the syntax errors I was getting from lavaanC::lav_parse_model_string_c() were due to the invisible U+00A0 (non-breakable space) characters from the e-mail. Once I ran lav_parse_model_string_c(gsub('\ua0', ' ', model)) in a san

Re: [R-pkg-devel] Possible false negative for compiled C++ code in CRAN checks

2024-11-14 Thread Ivan Krylov via R-package-devel
В Thu, 14 Nov 2024 16:24:16 + Mauricio Vargas Sepulveda пишет: > After enabling the SAN flags, I cannot reproduce the gcc-san error > [2]. Can you use the rocker/r-devel-san container? It reproduces the problem for me. When reading galapagos/cg15.dic, FuzzyEntityParser::ParseEn

Re: [R-pkg-devel] update.packages Error in if (any(diff)) { : missing value where TRUE/FALSE needed

2024-11-17 Thread Ivan Krylov via R-package-devel
s new enough to use the UTF-8 locale and very long file paths, so the problem must be elsewhere. What are the files for which tools::md5sum() returns NA, causing tools::checkMD5sums() to fail? Can you open them from outside R? If you re-run tools::md5sum() from the debugger, does it return NA a

Re: [R-pkg-devel] libarrow

2024-11-26 Thread Pham, T.V. via R-package-devel
e libarrow look like? Thank you & best regards, Thang __ AmsterdamUMC disclaimer : www.amsterdamumc.org/nl/disclaimers.htm __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mail

Re: [R-pkg-devel] Failed: Future File Timestamp Check

2025-02-04 Thread Jeff Newmiller via R-package-devel
code from generated files, then maybe you should use textConnection to run from internal RAM. On February 4, 2025 1:11:10 PM PST, Josiah Parry wrote: >I'm running R CMD check for my package {calcite} (source: >https://github.com/r-arcGIS/calcite) which is failing due to what *looks* l

Re: [R-pkg-devel] Failed: Future File Timestamp Check

2025-02-04 Thread Jeff Newmiller via R-package-devel
That was clear to me, and changes nothing about my comments. On February 4, 2025 3:27:34 PM PST, Josiah Parry wrote: >The file was written using writeLines() but it is just a normal R script >with normal function definitions and is included in the R/ directory. The >source cod

Re: [R-pkg-devel] Additional issue clang-ASAN, gcc-ASAN

2025-02-04 Thread Ivan Krylov via R-package-devel
lements [1]. Every byte must be unpacked into 8 bits, and 199 is less than 26*8 = 208. Where did the values come from? The C function GLsumFreq() stores them unchanged from its arguments [2], and those come from the SNPbin objects passed by R code [3] from nLoc(x) and length(x$gen[[1]]@snp[[1]]).

Re: [R-pkg-devel] S3 generic/method consistency NOTE

2025-02-06 Thread Ivan Krylov via R-package-devel
to be called by their full names. Removing these lines and re-generating NAMESPACE should help: https://github.com/thibautjombart/adegenet/blob/e4874e73f0d39ebdddeca05b7eb1359fab771aaf/R/basicMethods.R#L546 https://github.com/thibautjombart/adegenet/blob/e4874e73f0d39ebdddeca05b7eb1359fab77

Re: [R-pkg-devel] Registering methods conditionally

2025-02-08 Thread Ivan Krylov via R-package-devel
Browse[1]> BaseSet::tidy function (object) { UseMethod("tidy") } ...and the method is registered for the BaseSet::tidy generic, not the generics::tidy generic: Browse[1]> 'tidy.GeneSet' %in% ls(BaseSet:::.__S3MethodsTable__.) [1] TRUE Browse[1]> 'ti

Re: [R-pkg-devel] How to solve this error while running python script in R environment?

2025-02-07 Thread Ivan Krylov via R-package-devel
В Fri, 7 Feb 2025 06:51:27 + KABILAN S пишет: > > result <- TRANSFORMER(df = S_P_500_Close_data, study_variable = > > "Price") > Error: Valid installation of TensorFlow not found. > > Python environments searched for 'tensorflow' packag

[R-pkg-devel] Rcpp in vignette

2025-01-31 Thread Wolfgang Rolke via R-package-devel
not being able to find this function. For details see https://github.com/r-hub2/productive-joking-manatee-Rgof/actions [https://opengraph.githubassets.com/b40e189207ca774a60d2c41f7b3410850dddf9a6816238d771e042279edbac03/r-hub2/productive-joking-manatee-Rgof]<https://github.com/r-hub2/product

Re: [R-pkg-devel] truncating strings on purpose

2024-12-11 Thread Ivan Krylov via R-package-devel
ing the string: https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wstringop-truncation strncpy(trunc_s1, s1, sizeof trunc_s1 - 1); trunc_s1[sizeof trunc_s1 - 1] = '\0'; -- Best regards, Ivan ______ R-package-devel@r

Re: [R-pkg-devel] duplicating gcc-UBSAN warning

2024-12-12 Thread Ivan Krylov via R-package-devel
and GCC stops being able to prove that truncation occurs. It looks like you will either need to find a container with R pre-built with sanitizers enabled (are there Rocker containers for aarch64?) or build R yourself [*]. -- Best regards, Ivan [*] https://cran.r-project.org/doc/manuals/R-e

Re: [R-pkg-devel] truncating strings on purpose

2024-12-16 Thread Ivan Krylov via R-package-devel
ring incoming checks with ASan? -- Best regards, Ivan [1] https://developers.redhat.com/blog/2019/03/13/understanding-gcc-warnings-part-2 [2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117881 [3] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108939 _______

Re: [R-pkg-devel] [CRAN-pretest-archived] CRAN Submission NMRphasing 1.0.6

2024-12-17 Thread Ivan Krylov via R-package-devel
Dear Aixiang, Welcome to R-package-devel! В Tue, 17 Dec 2024 09:47:26 + Aixiang Jiang пишет: > I am really confused by the error, which did not happen in the > previous versions. > > Since I have not changed my code at all, the possible reason is that > the external func

Re: [R-pkg-devel] Non-reproducible ASAN flagged issue

2024-12-18 Thread Ivan Krylov via R-package-devel
В Tue, 17 Dec 2024 20:26:01 +0100 David Cortes пишет: > I am seeing a curious error in an ASAN package check which is not > reproducible in the r-debug containers > (https://github.com/wch/r-debug), and which I'm suspecting might be a > compiler bug. r-debug differs from the

Re: [R-pkg-devel] long user + system time with CRAN special checks clang 19

2024-12-20 Thread Ivan Krylov via R-package-devel
В Fri, 20 Dec 2024 11:30:04 +0300 Ivan Krylov via R-package-devel пишет: > Unfortunately, it's still a puzzle why the function > tesseract::TessBaseAPI::GetVariableAsString(char const*, std::string*) > const fails to load from libtesseract. That's because libtesserac

Re: [R-pkg-devel] long user + system time with CRAN special checks clang 19

2024-12-20 Thread Ivan Krylov via R-package-devel
String(char const*, std::string*) const fails to load from libtesseract. -- Best regards, Ivan __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] SystemRequirements & configure check for FFTW with single precision support

2025-01-11 Thread Ivan Krylov via R-package-devel
lready in place (see the AC_SEARCH_LIBS paragraph > above). But my explanation gets ignored. I'm sorry for asking this admittedly thick question, but are you sure it's not just R CMD check --as-cran repeating the X-CRAN-Comment: field (which includes the phrase about not testing for single

Re: [R-pkg-devel] Package builds on all systems except on Fedora with clang

2025-01-19 Thread Ivan Krylov via R-package-devel
В Sun, 19 Jan 2025 17:07:51 + Pepijn de Vries пишет: > He also mentioned that I "need to check in your configure script that > the external library you need is available *and* usable with the > compilers used to compile R and packages." The Fedora-clang test fails with a

Re: [R-pkg-devel] Package builds on all systems except on Fedora with clang

2025-01-19 Thread Ivan Krylov via R-package-devel
, but got swamped. If the compiler flags are right, $CXX -c conftest.cpp will succeed the same way that the individual object files currently successfully compile on Fedora-clang [1]: >> /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 >> -I"/data/gannet/ripley/R/R-clang/includ

Re: [R-pkg-devel] Best practices for built version checking in packages LinkingTo others?

2025-01-22 Thread Pavel Krivitsky via R-package-devel
es this API for saving and checking ABI versions be useful to anyone? Best, Pavel On Sun, 2025-01-19 at 05:31 +, Pavel Krivitsky via R-package-devel wrote: > Thanks, Ivan! Replies below. > > On Fri, 2025-01-17 at 16:50

[R-pkg-devel] Pre-test failure with RcppParallel on Windows R-devel

2025-01-23 Thread Murray Efford via R-package-devel
alled ... ERROR Installation failed. See 'd:/RCompile/CRANincoming/R-devel/secr.Rcheck/00install.out' for details. which includes undefined reference to `RcppParallel::tbbParallelFor(unsigned long long, unsigned long long, RcppParallel::Worker&, unsigned long long, int)' Winbuild

Re: [R-pkg-devel] Pre-test failure with RcppParallel on Windows R-devel

2025-01-24 Thread Murray Efford via R-package-devel
Yes, that fixed it. My package was quickly re-tested and is now on CRAN. Thanks to all. Murray From: Kevin Ushey Sent: Friday, 24 January 2025 15:10 To: Murray Efford Cc: R-package-devel@r-project.org Subject: Re: [R-pkg-devel] Pre-test failure with

Re: [R-pkg-devel] Best practices for built version checking in packages LinkingTo others?

2025-01-18 Thread Pavel Krivitsky via R-package-devel
Thanks, Ivan! Replies below. On Fri, 2025-01-17 at 16:50 +0300, Ivan Krylov wrote: > В Fri, 17 Jan 2025 10:21:27 + > Pavel Krivitsky via R-package-devel > пишет: > > >    1. What is the best way to save this information? I have a > >   rudimentary implementatio

Re: [R-pkg-devel] CRAN Debian error installation time

2025-01-27 Thread Ivan Krylov via R-package-devel
Dear Guillermo, Welcome to R-package-devel! В Mon, 27 Jan 2025 19:26:10 +0100 Guillermo Vinue пишет: > I am writing to you because I am getting this NOTE from the CRAN > Debian machine that is not allowing CRAN acceptance: "Installation > took CPU time 2.9 times elapsed time&quo

Re: [R-pkg-devel] Is it possible to install a pre-compiled R package from Github?

2025-01-28 Thread Ivan Krylov via R-package-devel
В Tue, 28 Jan 2025 14:25:23 +0100 John Clarke пишет: > I'm wondering if there is a way to point an R package installer to a > pre-compiled release on Github rather than rely on CRAN. >From the point of view of install.packages(), a repository is a collection of package files plus

Re: [R-pkg-devel] Issue with non-standard file 'vert.txt' in R CMD check

2025-01-28 Thread Ivan Krylov via R-package-devel
Dear Zahra Heidari Ghahfarrokhi, Welcome to R-package-devel! В Tue, 28 Jan 2025 18:17:06 +0330 zahra heidari gh пишет: >- Additional details: > - The package FD is used during package building. > - In a previous post on the r-h...@r-project.org mailing list, > I

Re: [R-pkg-devel] Assistance with 'Surv' and 'is.Surv' Error in check_win_devel

2025-01-28 Thread Ivan Krylov via R-package-devel
kages uploaded later (and then regularly deleted). Perhaps last time 'survival' was uploaded on Win-Builder, something went wrong with the package. If the problem doesn't go away by itself, it may be worth asking Dr. Uwe Ligges for advice. -- Best regards, Ivan

Re: [R-pkg-devel] [SPAM Warning!]Re: CRAN Debian error installation time

2025-01-28 Thread Ivan Krylov via R-package-devel
tions(numThreads = 1) > } This is not a good idea. First of all, the OpenMP standard requires the changes done by Sys.setenv(OMP_NUM_THREADS=...) calls after the R process is started to be ignored; they will only take effect for newly created child processes (e.g. system() calls). Secondly, if a u

Re: [R-pkg-devel] Rcpp: how best to include source from another Github repository

2025-01-21 Thread Ivan Krylov via R-package-devel
further updates to the tracked commit pointer must be applied with git submodule update. If the referenced repository becomes unavailable, it will be impossible to build the package. -- Best regards, Ivan ______ R-package-devel@r-project.org mailing lis

Re: [R-pkg-devel] Reliably detecting FLIBS on source build of R (w.r.t Rust packages)

2025-01-26 Thread Ivan Krylov via R-package-devel
В Sat, 25 Jan 2025 08:54:45 -0800 Balasubramanian Narasimhan пишет: > (https://github.com/blas-lapack-rs/r-src/blob/966266425b1a21a1e979f767c6023e6bf00616fc/build.rs#L160). > Thank you for providing the link to the code! > The only thing I can think of is that FLIBS is being se

Re: [R-pkg-devel] [SPAM Warning!] addressing a CRAN submission pre-test clang-san warning

2025-01-10 Thread Ivan Krylov via R-package-devel
В Fri, 10 Jan 2025 07:45:00 -0700 Kent Riemondy пишет: > cleancall.c:110:46: runtime error: call to function cb_progress_done > through pointer to incorrect function type 'void (*)(void *)' This is a (mostly harmless) error in the purrr package: https://stat.ethz.ch/pipermail

Re: [R-pkg-devel] Best practices for built version checking in packages LinkingTo others?

2025-01-17 Thread Ivan Krylov via R-package-devel
В Fri, 17 Jan 2025 10:21:27 + Pavel Krivitsky via R-package-devel пишет: >1. What is the best way to save this information? I have a > rudimentary implementation [1] For now, this is the best way we have. Export the ABI version as an include-time constant and as a regi

<    1   2   3   4   5   6   >