default write_xml to write to stdout()

Aperta
#319 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
r
Ambito
data

Direzione di ricerca

Start at the write_xml entry point and compare it with the other writing functions whose terminal-default behavior is referenced in the issue. Confirm that write_xml(x) produces the same output as writeLines(as.character(x)) when no destination is supplied, then add or update coverage for that call.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

feature

It would be nice i write_xml was consistent with some other writing functions in defaulting to write to the the terminal. I find myself writing writeLines(as.character(x)) a lot when I'm working with XML objects, it would be simpler to be able to do write_xml(x) instead to get the same effect.

Happy to file a PR.

Lingua principale
R
Stelle
227
Fork
86
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di r-lib/xml2

Tutte le issue di r-lib/xml2

Issue simili

Altre issue su R

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.