[Rd] problem adding gdb to RTOOLS40 on Windows

2021-04-14 Thread Bravington, Mark (Data61, Hobart)
I've not been able to install gdb for RTOOLS40 on Windows 10. The rtools installer (rtools40-x64_86.exe) doesn't seem to include gdb by default, and when I follow the instructions for adding gdb (which I tracked down at https://github.com/r-windows/docs/blob/master/faq.md) this is what

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

2021-04-14 Thread Duncan Murdoch
On 14/04/2021 12:11 p.m., Federico Zanghi wrote: Hi :) I'm here because i have a problem with my package...i have the function "SARMAX.refinement", clearly the problem is that i can't assign a variable on global environment from a function. So when i CHECK the package it gives me 1 Note that

[Bioc-devel] How to proper write documentation (Rd) file for setReplaceMethod

2021-04-14 Thread Jianhong Ou, Ph.D.
Hi All, I got warning message in windows building like: Rd warning: cannot open file 'D:/biocbuild/bbs-3.13-bioc/meat/trackViewer.buildbin-libdir/00LOCK-trackViewer/00new/trackViewer/help/$<-,track-method.html': Invalid argument I used RoxygenNote to create the Rd file and the note I wrote

Re: [R-pkg-devel] Another newbie question: vignettes not appearing in GitHub hosted package

2021-04-14 Thread Gábor Csárdi
remotes::install_github() is a function aimed at developers that need the unreleased version of a package for testing or other dev purposes. In these cases you don't usually need the vignettes. hence the default. Gabor On Wed, Apr 14, 2021 at 8:17 PM Chris Evans wrote: > > Oh no, how

Re: [R-pkg-devel] Another newbie question: vignettes not appearing in GitHub hosted package

2021-04-14 Thread Chris Evans
Oh no, how embarrassing! But in my defence, am I the only one who thinks having build_vignettes = FALSE as default is a bit anti-vignettes?! Many thanks both, Chris - Original Message - > From: "Zhian N. Kamvar" > To: "r-package-devel" > Sent: Wednesday, 14 April, 2021 17:57:11 >

Re: [R-pkg-devel] Another newbie question: vignettes not appearing in GitHub hosted package

2021-04-14 Thread Gábor Csárdi
remotes::install_github() does not build the vignettes by default, you can use the build_opts argument to change this. Gabor On Wed, Apr 14, 2021 at 6:53 PM Chris Evans wrote: > > As ever, my package is https://github.com/cpsyctc/CECPfuns and I am building > withing Rstudio 1.4.1103 > > I am

Re: [R-pkg-devel] Another newbie question: vignettes not appearing in GitHub hosted package

2021-04-14 Thread Zhian N. Kamvar
Hi Chris, You need to add the `build_vignettes = TRUE` argument to `install_github()`. On 4/14/21 9:53 AM, Chris Evans wrote: As ever, my package is https://github.com/cpsyctc/CECPfuns and I am building withing Rstudio 1.4.1103 I am aiming for the package to have fairly comprehensive

[R-pkg-devel] Another newbie question: vignettes not appearing in GitHub hosted package

2021-04-14 Thread Chris Evans
As ever, my package is https://github.com/cpsyctc/CECPfuns and I am building withing Rstudio 1.4.1103 I am aiming for the package to have fairly comprehensive vignettes and there are four now, but two are very incomplete. The problem I have may relate to

[Bioc-devel] R CMD CHECK time out on Windows machine

2021-04-14 Thread Murphy, Alan E
Hi all, I am submitting [EWCE](https://github.com/NathanSkene/EWCE) to bioconductor and have been working to reduce the runtime of the R CMD Check which was causing issues. I have improved the run time and locally, on my mac, it is now running in 11m 56.5s. However, I still get a timeout error

[R-pkg-devel] Question "no visible binding for '<<-' assignment"

2021-04-14 Thread Federico Zanghi
Hi :) I'm here because i have a problem with my package...i have the function "SARMAX.refinement", clearly the problem is that i can't assign a variable on global environment from a function. So when i CHECK the package it gives me 1 Note that doesn't make me publish the package :( The Note is

Re: [R-pkg-devel] Problem with S4 method for plotting a raster file

2021-04-14 Thread Duncan Murdoch
On 14/04/2021 9:26 a.m., Jacob Nabe-Nielsen wrote: Hi Duncan Thanks a lot for the help. This works, but unfortunately it does not result in a landscape which is cropped to the extent of the bathymetry raster file... it would be nice to be able to do that as well (as you can if you use the

Re: [R-pkg-devel] Problem with S4 method for plotting a raster file

2021-04-14 Thread Jacob Nabe-Nielsen
Dear Georgi Thanks a lot for the suggestion. I have now imported rgdal and moved it from Suggests of Imports. However, this did not solve my problem. I also tried importing 'plot' directly from rgdal, but then I got the error: object ‘plot’ is not exported by 'namespace:rgdal' Best, Jacob >

[Bioc-devel] Bioconductor Release 3.12 and Bioconductor Devel 3.13 Code Freeze Deadlines!

2021-04-14 Thread Kern, Lori
Release 3.12 Code Freeze: The release 3.12 branch will be frozen May 4th. All code changes should be committed by May 3rd. After this date there will be no updates to Bioconductor 3.12 packages in Bioconductor. Devel 3.13 Deadline: The deadline for packages to pass R CMD build/check without

Re: [R-pkg-devel] Problem with S4 method for plotting a raster file

2021-04-14 Thread Jacob Nabe-Nielsen
Hi Duncan Thanks a lot for the help. This works, but unfortunately it does not result in a landscape which is cropped to the extent of the bathymetry raster file... it would be nice to be able to do that as well (as you can if you use the 'raster' and 'sp' packages). Best wishes, Jacob On

Re: [R-pkg-devel] Problem with S4 method for plotting a raster file

2021-04-14 Thread Georgi Boshnakov
> library(DEPONS2R) > > data("bathymetry") > plot(bathymetry) > data("coastline") > library(rgdal) > # Change projection of coastline to match that of bathymetry data > coastline2 <- spTransform(coastline, crs(bathymetry)) plot(coastline2, > add=TRUE, col="lightyellow2") The inclusion of

Re: [Rd] Sys.timezone() fails on Linux under Microsoft WSL

2021-04-14 Thread Brenton Wiernik
That would work. Sys.info()['release'] # release # "5.4.72-microsoft-standard-WSL2" Brenton From: Martin Maechler Sent: Wednesday, April 14, 2021 03:28 To: Brenton Wiernik Cc: r-devel@r-project.org Subject: Re: [Rd] Sys.timezone() fails on Linux under Microsoft WSL

Re: [R-pkg-devel] Problem with S4 method for plotting a raster file

2021-04-14 Thread Duncan Murdoch
On 14/04/2021 5:41 a.m., Jacob Nabe-Nielsen wrote: Dear all, I have just discovered an error in a package that I have already uploaded to CRAN, and cannot figure out how to fix it. All help will be greatly appreciated. The package is called DEPONS2R, and is available from:

[R-pkg-devel] Problem with S4 method for plotting a raster file

2021-04-14 Thread Jacob Nabe-Nielsen
Dear all, I have just discovered an error in a package that I have already uploaded to CRAN, and cannot figure out how to fix it. All help will be greatly appreciated. The package is called DEPONS2R, and is available from: https://cran.r-project.org/web/packages/DEPONS2R/index.html The problem

Re: [R-pkg-devel] checking LazyData ... WARNING

2021-04-14 Thread Sebastian Meyer
Am 14.04.21 um 13:11 schrieb Rafael CM: > Dear all, > I am having the following warning when loading my rpackage: > > * checking LazyData ... WARNING > LazyData DB of 62.1 MB without LazyDataCompression set > > > I can't get to fix this problem. I have tried the tools option to optimize >

Re: [R-pkg-devel] checking LazyData ... WARNING

2021-04-14 Thread Rafael CM
checking LazyData ... WARNING LazyData DB of 62.1 MB without LazyDataCompression set See �1.1.6 of 'Writing R Extensions' On Wed, Apr 14, 2021 at 1:38 PM Uwe Ligges wrote: > > > On 14.04.2021 00:43, Rafael CM wrote: > > Dear all, > > I am submitting the RTIGER package and I have the

Re: [R-pkg-devel] checking LazyData ... WARNING

2021-04-14 Thread Uwe Ligges
On 14.04.2021 00:43, Rafael CM wrote: Dear all, I am submitting the RTIGER package and I have the following warning: checking LazyData ... WARNING A full message would be needed Best, Uwe Ligges I have saved the data with the optimal compression format. Could someone help me?

[R-pkg-devel] checking LazyData ... WARNING

2021-04-14 Thread Rafael CM
Dear all, I am having the following warning when loading my rpackage: * checking LazyData ... WARNING LazyData DB of 62.1 MB without LazyDataCompression set I can't get to fix this problem. I have tried the tools option to optimize saving. I used different types of compressions. I also have

Re: [R-pkg-devel] error messages

2021-04-14 Thread Uwe Ligges
Or simply navigate to the install log which is avaiable from the links you got. Best, Uwe Ligges On 14.04.2021 03:47, Dirk Eddelbuettel wrote: On 14 April 2021 at 01:03, csmatyi wrote: | Debian | | * using log directory ‘/srv/hornik/tmp/CRAN/hybridogram.Rcheck’ | * using R Under development

Re: [Rd] [Solved] Possible x11 window manager window aggregation under one icon?

2021-04-14 Thread Ivan Krylov
On Fri, 26 Mar 2021 14:49:56 +0100 Martin Maechler wrote: > I concluded I liked the first [patch] because it would achieve > what's considered "uniformly better" in the sense that it makes > R graphics behave like "all other" desktop applications *and* it > would do so for all possible window

Re: [Rd] custom allocators, Valgrind and uninitialized memory

2021-04-14 Thread Simon Urbanek
Andreas, What does any of this to do with CRAN? This not a the CRAN list - we're discussing the proper approach of using valgrind and R can only assume that the memory is uninitialised (since it cannot safely assume anything else) so it is up to you to declare the memory as initialised if

Re: [Rd] custom allocators, Valgrind and uninitialized memory

2021-04-14 Thread Simon Urbanek
Andres, correct me if I'm wrong, but the issue here is not initialisation but rather valgrind flagging. You simply have to call VALGRIND_MAKE_MEM_DEFINED() in your code after allocVector3() to declare that you have initialised the memory - or am I missing something? Cheers, Simon > On

Re: [Rd] Sys.timezone() fails on Linux under Microsoft WSL

2021-04-14 Thread Martin Maechler
> Brenton Wiernik > on Tue, 13 Apr 2021 09:15:50 -0400 writes: > In Microsoft’s Windows Subsystem for Linux (WSL or WSL2), > there is not system framework, so utilities that depend on > it fail. This includes timedatectl which R uses in > Sys.timezone(). The

Re: [Rd] R CMD check fails with: During startup - Warning message: Setting LC_CTYPE=en_US.UTF-8 failed

2021-04-14 Thread Tomas Kalibera
On 4/13/21 4:36 PM, Witold E Wolski wrote: Hello, I am trying to run a package check on windows 10. But it fails with the following errors: ``` $ R CMD check prolfqua_0.1.5.3.tar.gz During startup - Warning message: Setting LC_CTYPE=en_US.UTF-8 failed * using log directory