Re: [Bioc-devel] [EXTERN] Re: R package on Github uses Bioconductor depenencies and cant be installed.

2024-02-28 Thread Shian Su via Bioc-devel
I believe that devtools just uses remotes under the hood, so it should work. Shian On 29 Feb 2024, at 11:42, Ruff, Sergej wrote: Does it apply only to the remotes package or also to devtools::install_git function? Sergej Von: Shian Su Gesendet: Donnerstag,

Re: [Bioc-devel] [EXTERN] Re: R package on Github uses Bioconductor depenencies and cant be installed.

2024-02-28 Thread Ruff, Sergej
Does it apply only to the remotes package or also to devtools::install_git function? Sergej Von: Shian Su Gesendet: Donnerstag, 29. Februar 2024 01:39:18 An: Ruff, Sergej Cc: bioc-devel@r-project.org Betreff: [EXTERN] Re: [Bioc-devel] [EXTERN] Re: R package on

Re: [Bioc-devel] [EXTERN] Re: R package on Github uses Bioconductor depenencies and cant be installed.

2024-02-28 Thread Shian Su via Bioc-devel
Sorry if this is spam, I think my last message got bounced because my mail client converted the GitHub link into a nice jpg. As you mentioned, you can just add biocViews: Software to your DESCRIPTION: https://github.com/r-lib/remotes/issues/477. If you need further explanation then the code is

Re: [Bioc-devel] [EXTERN] Re: R package on Github uses Bioconductor depenencies and cant be installed.

2024-02-28 Thread Ruff, Sergej
Thank you, I am still wondering why everyone on the internet mentions adding "biocView" to the DESCRIPTIOn-File. I couldn´t find a source for that but everyone on Biostart, Stackoverflow or any other forum keeps mentioning adding biocView. What does adding biocView do if anything? When

Re: [Bioc-devel] TADCompare, permissions denied

2024-02-28 Thread Mikhail Dozmorov
Thank you, solved. Another reminder that Docker containers don't have access to the ~/.ssh folder. Pushing from the local terminal after debugging in a container helps. Thanks, Mikhail On Wed, Feb 28, 2024 at 8:42 AM Kern, Lori wrote: > Everything looks correct on our configuration. You might

Re: [Bioc-devel] [EXTERN] Re: R package on Github uses Bioconductor depenencies and cant be installed.

2024-02-28 Thread Gábor Csárdi
While the remotes package still works, https://github.com/r-lib/pak is now a better alternative. It also comes with built-in Bioconductor support: pak::pkg_install("klausjung-hannover/bootGSEA") Gabor On Wed, Feb 28, 2024 at 4:52 PM Martin Morgan wrote: > > Actually BiocManager delegates to

Re: [R-pkg-devel] Unexpected multi-core CPU usage in package tests

2024-02-28 Thread Jon Clayden
On Wed, 28 Feb 2024 at 17:36, Ivan Krylov wrote: > > В Tue, 27 Feb 2024 11:14:19 + > Jon Clayden пишет: > > > My testing route is to install the packages within the > > 'rocker/r-devel' Docker container, which is Debian-based, then use > > 'time' to evaluate CPU usage. Note that, even though

Re: [R-pkg-devel] Unexpected multi-core CPU usage in package tests

2024-02-28 Thread Ivan Krylov via R-package-devel
В Tue, 27 Feb 2024 11:14:19 + Jon Clayden пишет: > My testing route is to install the packages within the > 'rocker/r-devel' Docker container, which is Debian-based, then use > 'time' to evaluate CPU usage. Note that, even though 'RNifti' does not > use OpenMP, setting OMP_NUM_THREADS

Re: [R-pkg-devel] Unable to access log operator in C

2024-02-28 Thread Avraham Adler
Thank you, Dirk. However, I am an absolute clod.I just realized; I was passing in the SEXP indicating whether or not to log the function as "log", so I "overwrote" the symbol. Excuse me while I go bang my head into the wall a few dozen times. My apologies, Avi On Wed, Feb 28, 2024 at 7:14 PM

Re: [R-pkg-devel] Unable to access log operator in C

2024-02-28 Thread Dirk Eddelbuettel
On 28 February 2024 at 19:05, Avraham Adler wrote: | I am hoping the solution to this question is simple, but I have not | been able to find one. I am building a routine in C to be called from | R. I am including Rmath.h. However, when I have a call to "log", I get | the error "called object

[R-pkg-devel] Unable to access log operator in C

2024-02-28 Thread Avraham Adler
I am hoping the solution to this question is simple, but I have not been able to find one. I am building a routine in C to be called from R. I am including Rmath.h. However, when I have a call to "log", I get the error "called object 'log' is not a function or a function pointer. When I "trick" it

Re: [Bioc-devel] [EXTERN] Re: R package on Github uses Bioconductor depenencies and cant be installed.

2024-02-28 Thread Martin Morgan
Actually BiocManager delegates to remotes, and remotes is only a 'Suggests', so the user needs to have both remotes and BiocManager pkgs <- c("remotes", "BiocManager") pkgs <- setdiff(pkgs, rownames(installed.packages()) install.packages(pkgs) and then BiocManager::install("/") or

Re: [Bioc-devel] [EXTERN] Re: R package on Github uses Bioconductor depenencies and cant be installed.

2024-02-28 Thread Steve Lianoglou
As was already mentioned, your easiest path forward is to first ask your users to install the {BiocManager} package from CRAN, then use that to install your package. As it is, you are already asking your end users to install {devtools} (really {remotes}) first in order to install your package

[R-pkg-devel] Unexpected multi-core CPU usage in package tests

2024-02-28 Thread Jon Clayden
Dear all, I'm slightly going out of my mind trying to resolve a CRAN rejection based on the note Flavor: r-devel-linux-x86_64-debian-gcc Check: tests, Result: NOTE Running 'tinytest.R' [20s/5s] Running R code in 'tinytest.R' had CPU time 4.4 times elapsed time This applies

[Rd] R Dev Day @ PLUS, Salzburg, Austria on Fri 12 July

2024-02-28 Thread Heather Turner
Dear All, Information is now up for the R Dev Day that will take place as a satellite event to useR! 2024 on Friday 12 July: https://contributor.r-project.org/r-dev-day-plus-2024 This will be an opportunity for contributors to work alongside members of the R Core Team on contributions to base

Re: [Bioc-devel] [EXTERN] Re: R package on Github uses Bioconductor depenencies and cant be installed.

2024-02-28 Thread Ruff, Sergej
library(devtools) install_github("klausjung-hannover/bootGSEA") This command was used. Does it mean, I just need to provide instructions to use Biocmanager:install() for teh End-users? I want to make the installation process as smooth as possible. Meaning there should be no need to install

Re: [Bioc-devel] R package on Github uses Bioconductor depenencies and cant be installed.

2024-02-28 Thread Vincent Carey
What command was used? BiocManager::install should resolve the dependencies whereas straight use of install.packages would not. On Wed, Feb 28, 2024 at 9:07 AM Ruff, Sergej wrote: > Hello, > > > I have an R package on Github that uses Bioconductor dependencies: > > >

Re: [Bioc-devel] R package on Github uses Bioconductor depenencies and cant be installed.

2024-02-28 Thread Kern, Lori via Bioc-devel
Bioconductor packages need to be installed with BiocManager. If you do BiocManager::install("klausjung-hannover/bootGSEA") That should also find Bioconductor package dependencies. Lori Shepherd - Kern Bioconductor Core Team Roswell Park Comprehensive Cancer Center Department of

[Bioc-devel] R package on Github uses Bioconductor depenencies and cant be installed.

2024-02-28 Thread Ruff, Sergej
Hello, I have an R package on Github that uses Bioconductor dependencies: https://github.com/klausjung-hannover/bootGSEA/blob/main/DESCRIPTION One reviewer recently sent me a message that he can�t install the package. Itried installing the package on a new device and got the following

Re: [Bioc-devel] TADCompare, permissions denied

2024-02-28 Thread Kern, Lori via Bioc-devel
Everything looks correct on our configuration. You might need to add a new ssh key to your BiocCredentials account. Or since there are multiple keys on your account already, explicitly state the correct ssh key you would like to use . Lori Shepherd - Kern Bioconductor Core Team Roswell

[Bioc-devel] TADCompare, permissions denied

2024-02-28 Thread Mikhail Dozmorov
I'm trying to push fixes for https://master.bioconductor.org/checkResults/3.19/bioc-LATEST/TADCompare/nebbiolo1-buildsrc.html. git remote -v biocg...@git.bioconductor.org:packages/TADCompare.git (fetch) biocg...@git.bioconductor.org:packages/TADCompare.git (push) E.g., for git fetch