Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf6d2054

Browse files
committed
Updates requested by CRAN
1 parent27a7ebb commitf6d2054

File tree

4 files changed

+33
-17
lines changed

4 files changed

+33
-17
lines changed

‎DESCRIPTION‎

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,30 @@
11
Package: yaml
22
Type: Package
33
Title: Methods to Convert R Data to YAML and Back
4-
Date:2024-07-22
5-
Version: 2.3.10
4+
Date:2025-11-06
5+
Version: 2.3.11
66
Suggests: RUnit
7-
Author: Shawn P Garbett [aut], Jeremy Stephens [aut, cre], Kirill Simonov [aut], Yihui Xie [ctb],
8-
Zhuoer Dong [ctb], Hadley Wickham [ctb], Jeffrey Horner [ctb], reikoch [ctb],
9-
Will Beasley [ctb], Brendan O'Connor [ctb], Gregory R. Warnes [ctb],
10-
Michael Quinn [ctb], Zhian N. Kamvar [ctb], Charlie Gao [ctb]
7+
Authors@R: c( person("Shawn", "Garbett", role = c("cre","ctb"),
8+
email = "shawn.garbett@vumc.org",
9+
comment = c(ORCID="0000-0003-4079-5621")
10+
),
11+
person("Jeremy", "Stephens", role = c("aut", "ctb")),
12+
person("Kirill", "Simonov", role = "aut"),
13+
person("Yihui", "Xie", role = "ctb",
14+
comment = c(ORCID="0000-0003-0645-5666")),
15+
person("Zhuoer", "Dong", role = "ctb"),
16+
person("Hadley", "Wickham", role = "ctb",
17+
comment = c(ORCID="0000-0003-4757-117X")),
18+
person("Jeffrey", "Horner", role = "ctb"),
19+
person("reikoch", role = "ctb"),
20+
person("Will", "Beasley", role = "ctb",
21+
comment = c(ORCID="0000-0002-5613-5006")),
22+
person("Brendan", "O'Connor", role = "ctb"),
23+
person("Michael", "Quinn", role = "ctb"),
24+
person("Charlie", "Gao", role = "ctb"),
25+
person(c("Gregory", "R."), "Warnes", role = "ctb"),
26+
person(c("Zhian", "N."), "Kamvar", role = "ctb")
27+
)
1128
Maintainer: Shawn Garbett <shawn.garbett@vumc.org>
1229
License: BSD_3_clause + file LICENSE
1330
Description: Implements the 'libyaml' 'YAML' 1.1 parser and emitter

‎VERSION‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.10
1+
2.3.11

‎src/emitter.c‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@
2525

2626
#definePUT_BREAK(emitter) \
2727
(FLUSH(emitter) \
28-
&& ((emitter->line_break == YAML_CR_BREAK ? \
28+
&& ((void)(emitter->line_break == YAML_CR_BREAK ? \
2929
(*(emitter->buffer.pointer++) = (yaml_char_t) '\r') : \
3030
emitter->line_break == YAML_LN_BREAK ? \
3131
(*(emitter->buffer.pointer++) = (yaml_char_t) '\n') : \
3232
emitter->line_break == YAML_CRLN_BREAK ? \
33-
(*(emitter->buffer.pointer++) = (yaml_char_t) '\r', \
33+
((void)(*(emitter->buffer.pointer++) = (yaml_char_t) '\r'), \
3434
*(emitter->buffer.pointer++) = (yaml_char_t) '\n') : 0), \
35-
emitter->column = 0, \
36-
emitter->line ++, \
35+
(void)(emitter->column = 0), \
36+
(void)(++emitter->line), \
3737
1))
3838

3939
/*
@@ -53,12 +53,12 @@
5353
#defineWRITE_BREAK(emitter,string) \
5454
(FLUSH(emitter) \
5555
&& (CHECK(string,'\n') ? \
56-
(PUT_BREAK(emitter), \
57-
string.pointer ++, \
56+
((void)PUT_BREAK(emitter), \
57+
(void)(++string.pointer), \
5858
1) : \
59-
(COPY(emitter->buffer,string), \
60-
emitter->column = 0, \
61-
emitter->line ++, \
59+
((void)COPY(emitter->buffer,string), \
60+
(void)(emitter->column = 0), \
61+
(void)(++emitter->line), \
6262
1)))
6363

6464
/*

‎src/r_emit.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ static SEXP Ryaml_deparse_function(SEXP s_obj)
3737
if (TYPEOF(s_obj)==CLOSXP) {
3838
PROTECT(s_obj);
3939
PROTECT(s_new_obj=R_mkClosure(R_ClosureFormals(s_obj),R_ClosureBody(s_obj),R_ClosureEnv(s_obj)));
40-
SET_OBJECT(s_new_obj,OBJECT(s_obj));
4140
UNPROTECT(2);
4241
s_obj=s_new_obj;
4342
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp