write_po: Write a PO file

Description Usage Arguments Value Examples

View source: R/write.R

Description

Writes and object of class po to a .po file.

Usage

1
write_po(po, po_file = NULL, ...)

Arguments

po

An object of class po.

po_file

A path to the po_file to be written, or NULL to automatically generate the path.

...

Passed between methods. Not currently used.

Value

The function is mostly invoked for the side-effect of writing a PO file. The po argument is also invisibly returned, for convenience when this function is used in a pipe chain.

Examples

1
2
3
pot_file <- system.file("extdata/R-summerof69.pot", package = "poio")
pot <- read_po(pot_file)
write_po(pot, stdout())

RL10N/poio documentation built on April 27, 2020, 3:50 a.m.