Vignette: Develop an R package with btw

Abierto
#233 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
r

Línea de trabajo

Review the current implementation and existing documentation, including the configuration, agents, tasks, CLI, and MCP material referenced in the issue. Choose a small reproducible fixture and one primary interface, then verify that the vignette demonstrates the test-to-review workflow with executable examples, relevant checks, and explicit human approval.

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

Descripción

documentation

Priority

Lower priority than the focused context, tasks, CLI, and skills vignettes. This is a synthesis article that brings several package capabilities together.

Goal and audience

Show R package developers how btw supports a test → diagnose → edit → verify → review workflow. Use a small package with a reproducible failing test rather than an open-ended request to fix an arbitrary package.

The destination is a verified, reviewable change, not merely generated code.

Proposed coverage — reassess before drafting

This is a starting proposal, not a fixed outline or required section order. Before writing, reassess the scope, example, and teaching sequence against the current implementation, existing documentation, and reader needs. Adjust, combine, or drop items as appropriate.

  • Configure a project chat with documentation, file, and package-development tools.
  • Run a focused test and interpret the results.
  • Inspect relevant source and documentation before making a change.
  • Apply a focused edit and rerun the test.
  • Regenerate documentation where appropriate and run a package check.
  • Inspect the diff and distinguish verified results from the assistant's claims.
  • Optionally delegate an independent review to a custom agent.
  • Keep human approval of the result explicit.

Suggested boundaries

Avoid a general package-development course or an elaborate multi-agent team. Link to configuration, agents, tasks, CLI, and MCP material where appropriate rather than reteaching them. Choose one primary interface for the workflow before writing instead of attempting parallel walkthroughs of every entry point.

Writing guidance

Use a small, reproducible fixture and verify the failure/correction loop. Explain the responsibilities and side effects of the selected tools. Render executable examples in a fresh session, mark provider-dependent interactions appropriately, and do not invent model output or claim that a generated change was verified without running the relevant checks.

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

Preparar el entorno

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 posit-dev/btw

Todos los issues de posit-dev/btw

Issues similares

Más issues de R

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.