Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Making register() a generic

Abierto
#104 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
r
Área
tooling

Línea de trabajo

Start by reading BiocParallel::register() and its internal registry machinery, then compare the existing BiocSingular::bsparam() behavior. Done means the project has an agreed mechanism for managing package-specific default Param objects through the registry without relying on separate global options.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

BiocNeighbors and BiocSingular follow BiocParallel's paradigm of using *Param objects to specify the algorithm and parameters to use for NN searching and SVD, respectively.

I have recently added a BiocSingular::bsparam() function that returns a "default" Param object, in much the same way that BiocParallel::bpparam() works. The idea is that developers can specify bsparam() in their functions/scripts and it will use a global default value that can be changed by the user. This is more convenient than passing the new Param explicitly to each function.

Currently, I am using a global options() to handle this, but it would be nice to use the BiocParallel::register() interface (and its internal machinery) to manage the setting and getting of the global default. One could imagine making register() an S4 generic, or even better, adding a simple mechanism that allows my packages to save to a different slot of the existing registry.

Lenguaje dominante
R
Estrellas
69
Forks
32
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Bioconductor/BiocParallel

Todos los issues de Bioconductor/BiocParallel

Issues similares

Más issues de R

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.