Re: [R-pkg-devel] [External] Re: Replacement for SETLENGTH

2025-01-15 Thread Merlise Clyde, Ph.D.
 luke-tier...@uiowa.edu Sent: Wednesday, January 15, 2025 12:34 PM To: Iris Simmons Cc: Merlise Clyde, Ph.D. ; List r-package-devel Subject: Re: [External] Re: [R-pkg-devel] Replacement for SETLENGTH   On Wed, 15 Jan 2025, Iris Simmons wrote: > I don't think memcpy works well for VECSXP.

Re: [R-pkg-devel] Replacement for SETLENGTH

2025-01-15 Thread Merlise Clyde, Ph.D.
cal Science and Director of Graduate Studies Duke University From: Iris Simmons Sent: Wednesday, January 15, 2025 1:00 AM To: Merlise Clyde, Ph.D. Cc: r-package-devel@r-project.org Subject: Re: [R-pkg-devel] Replacement for SETLENGTH   Hi Merlise! Referring

[R-pkg-devel] Replacement for SETLENGTH

2025-01-14 Thread Merlise Clyde, Ph.D.
I am trying to determine the best way to eliminate the use of SETLENGTH to truncate over allocated vectors in my package BAS to eliminate the NOTES about non-API calls in anticipation of R 4.5.0. >From WRE: "At times it can be useful to allocate a larger initial result >vector and resize it to

Re: [R-pkg-devel] Altrep header, MSVC, and STRUCT_SUBTYPES macro

2024-05-15 Thread Merlise Clyde, Ph.D.
Sent as mistake - my apologies! Get Outlook for iOS<https://aka.ms/o0ukef> From: R-package-devel on behalf of Merlise Clyde, Ph.D. Sent: Wednesday, May 15, 2024 7:45:46 PM To: David Cortes ; r-package-devel@r-project.org Subject: Re: [R-pkg-devel]

Re: [R-pkg-devel] Altrep header, MSVC, and STRUCT_SUBTYPES macro

2024-05-15 Thread Merlise Clyde, Ph.D.
Are R ALTREP objects memory mapped Get Outlook for iOS From: R-package-devel on behalf of David Cortes Sent: Wednesday, May 15, 2024 12:54:37 PM To: r-package-devel@r-project.org Subject: [R-pkg-devel] Altrep header, MSVC, and STRUCT_SUB

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

2023-04-17 Thread Merlise Clyde, Ph.D.
Make sure you have a period after the < > tag if that is the end of the paragraph/sentences - its is not clear it is there from the snippet that you sent. (let us know if the package is on github as then we can see the entire file) best, Merlise From: R-package-d

[R-pkg-devel] Missing quadmath library in r-release-macosx-arm64

2023-04-07 Thread Merlise Clyde, Ph.D.
I was checking the CRAN check page for my package BAS https://cran.r-project.org/web/checks/check_results_BAS.html and saw that there has been an ERROR in the check status for r-release-macosx-arm64 for (at least) the last 2 days. Looking at the check results linked there the package fails in

Re: [R-pkg-devel] How to build *-package description from *-package.R files ... and a luser/newbie question about pkgdown

2021-02-12 Thread Merlise Clyde, Ph.D.
Chris, I have migrated from Travis CI to using GitHub actions with pkgdown to build websites for packages - see https://ropenscilabs.github.io/actions_sandbox/websites-using-pkgdown-bookdown-and-blogdown.html to set up. The GitHub action doesn’t use Rstudio’s check but does automatically up

[R-pkg-devel] need help addressing future timestamp error

2020-01-23 Thread Merlise Clyde, Ph.D.
I am checking my package for Solaris via rhub and this week have encountered the following error: "This system is set to the wrong time: please fix". The output suggests that the time is off by 1 hour. This occurs only on Solaris, but I am not sure if that is because that is the only platform

Re: [R-pkg-devel] Alternatives to R-devel on a Mac for package checking?

2020-01-15 Thread Merlise Clyde, Ph.D.
Just in case it helps anyone else who struggles to reproduce CRAN valgind checks, I decided to document my steps with R-devel & valgrind at https://github.com/merliseclyde/docker-valgrind has the Dockerfiles to build a container starting with rocker/r-devel and adding supporting files to build

Re: [R-pkg-devel] Alternatives to R-devel on a Mac for package checking?

2020-01-15 Thread Merlise Clyde, Ph.D.
Hi Jonathan, rocker/r-devel was updated yesterday afternoon (I was able to pull it using docker on my mac - tested and it works with gcc 9/gfortran 9) and valgrind (many thanks to the rockerstars!) best, Merlise Merlise A Clyde Professor Department of Statistical Science Duke University http:/

Re: [R-pkg-devel] Package valgrind problem I can't solve: Direction?

2017-11-05 Thread Merlise Clyde, Ph.D.
Peter, I ran into similar problems with using valgrind to check my package BAS From my understanding using valgrind with rhub does not run the same checks as R -d "valgrind --tool=memcheck --leak-check=full" --vanilla < mypkg-Ex.R see https://github.com/r-hub/rhub/issues/23 which might expla

Re: [R-pkg-devel] could not find function of a package

2017-05-25 Thread Merlise Clyde, Ph.D.
istics Texas A&M University 3143 TAMU, Room 401A College Station, TX 77843 aku...@stat.tamu.edu<mailto:aku...@stat.tamu.edu><mailto:arnabkrma...@stat.tamu.edu> arnabkrma...@tamu.edu<mailto:arnabkrma...@tamu.edu> +1 779 777 3428 ________ From: Merlise Clyde, Ph

Re: [R-pkg-devel] could not find function of a package

2017-05-25 Thread Merlise Clyde, Ph.D.
If you are using roxygen2 for documentation and want to export a function add a line with #' @export to the .R file as part of the function documentation. Running devtools::document() should then update the NAMESPACE See http://r-pkgs.had.co.nz/namespace.html On May 25, 2017, at 8:55 AM,

Re: [R-pkg-devel] Help package checks using valgrind

2017-05-24 Thread Merlise Clyde, Ph.D.
ise From: peter dalgaard Sent: Tuesday, May 23, 2017 6:40 PM To: Merlise Clyde, Ph.D. Cc: r-package-devel@r-project.org Subject: Re: [R-pkg-devel] Help package checks using valgrind > On 23 May 2017, at 23:40 , Merlise Clyde, Ph.D. wrote: > > I am trying to resolve th

[R-pkg-devel] Help package checks using valgrind

2017-05-23 Thread Merlise Clyde, Ph.D.
I am trying to resolve the Additional Issues reported by CRAN @ https://www.stats.ox.ac.uk/pub/bdr/memtests/valgrind/BAS-Ex.Rout for my package BAS which calls C and Fortran. The output from the above URL is not particularly informative (at least to me) for identifying where the problems are in