poio (version 0.0-4)

write_po: Write a PO file

Description

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

Usage

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

Run this code
# NOT RUN {
pot_file <- system.file("extdata/R-summerof69.pot", package = "poio")
pot <- read_po(pot_file)
write_po(pot, stdout())
# }

Run the code above in your browser using DataCamp Workspace