x3p_paste_comment: Append a comment to the current x3p file

View source: R/x3p_show_xml.R

x3p_paste_commentR Documentation

Append a comment to the current x3p file

Description

Append information to the current comment of the x3p object. If there is no comment, a comment will be included in Record2 (general info)

Usage

x3p_paste_comment(x3p, comment, sep = ", ")

Arguments

x3p

x3p object

comment

character value with the appendage

sep

character value to use for separating between existing and new comments

Value

x3p object with expanded comment

Examples

logo <- x3p_read(system.file("csafe-logo.x3p", package="x3ptools"))
logo %>% x3p_paste_comment("*** added to the current comment ***")

heike/x3ptools documentation built on Oct. 12, 2024, 2:33 p.m.