Hello, All:
I'm getting "Warning: Invalid citation information in ?inst/CITATION?:
Error in parse(con): 4:30: unexpected INCOMPLETE_STRING
11: )
12:
^"[1]
with my new package " sbgraves237/SS4Maddison" on GitHub.[2]
I may be foolish to bother with this, but a CITATION file is suggested
in Section 8.2 of Wickham and Bryan, R Packages, and I'm dutifully
trying to do what they suggest.
What am I doing wrong?
Thanks, Spencer Graves
[1] This Warning appears in GitHub actions for this package, e.g.:
https://github.com/sbgraves237/SS4Maddison/actions/runs/17565658799/job/49891987005
[2] GitHub sbgraves237/SSMaddison:
https://github.com/sbgraves237/SS4Maddison
[R-pkg-devel] CITATION problem
4 messages · Michael Chirico, Kenny, Christopher, Spencer Graves
Hi Spencer, you have a doubled " here: https://github.com/sbgraves237/SS4Maddison/blob/f4daa00d20af5172fb183e8cea7d57ed0a09dc4d/inst/CITATION#L4 You can try to run parse("inst/CITATION") on the file locally Mike C On Mon, Sep 8, 2025 at 4:42?PM Spencer Graves <
spencer.graves at effectivedefense.org> wrote:
Hello, All:
I'm getting "Warning: Invalid citation information in ?inst/CITATION?:
Error in parse(con): 4:30: unexpected INCOMPLETE_STRING
11: )
12:
^"[1]
with my new package " sbgraves237/SS4Maddison" on GitHub.[2]
I may be foolish to bother with this, but a CITATION file is suggested
in Section 8.2 of Wickham and Bryan, R Packages, and I'm dutifully
trying to do what they suggest.
What am I doing wrong?
Thanks, Spencer Graves
[1] This Warning appears in GitHub actions for this package, e.g.:
https://github.com/sbgraves237/SS4Maddison/actions/runs/17565658799/job/49891987005
[2] GitHub sbgraves237/SSMaddison:
https://github.com/sbgraves237/SS4Maddison
______________________________________________ R-package-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
The error is pointing you to 4:30, which is line 4 character 30. If you look at that, you have typed "" instead of ". As such, you have a new string opened which is never closed. Chris
From: R-package-devel <r-package-devel-bounces at r-project.org> on behalf of Spencer Graves <spencer.graves at effectivedefense.org>
Sent: Monday, September 8, 2025 7:42 PM
To: R-pkg devel <R-package-devel at r-project.org>
Subject: [R-pkg-devel] CITATION problem
Sent: Monday, September 8, 2025 7:42 PM
To: R-pkg devel <R-package-devel at r-project.org>
Subject: [R-pkg-devel] CITATION problem
Hello, All:
I'm getting "Warning: Invalid citation information in ?inst/CITATION?:
Error in parse(con): 4:30: unexpected INCOMPLETE_STRING
11: )
12:
^"[1]
with my new package " sbgraves237/SS4Maddison" on GitHub.[2]
I may be foolish to bother with this, but a CITATION file is suggested
in Section 8.2 of Wickham and Bryan, R Packages, and I'm dutifully
trying to do what they suggest.
What am I doing wrong?
Thanks, Spencer Graves
[1] This Warning appears in GitHub actions for this package, e.g.:
https://github.com/sbgraves237/SS4Maddison/actions/runs/17565658799/job/49891987005
[2] GitHub sbgraves237/SSMaddison:
https://github.com/sbgraves237/SS4Maddison
______________________________________________
R-package-devel at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
Thanks to Christopher Kenny and Michael Chirico for helping me get past
this problem ... AND for helping me understand how to read error
messages like this and check with 'parse("inst/CITATION")'.
Spencer Graves
On 9/8/25 18:53, Kenny, Christopher wrote:
The error is pointing you to 4:30, which is line 4 character 30. If you look at that, you have typed |""|?instead of |"||. As such, you have a new string |opened which |is never closed.| |Chris| ------------------------------------------------------------------------ *From:* R-package-devel <r-package-devel-bounces at r-project.org> on behalf of Spencer Graves <spencer.graves at effectivedefense.org> *Sent:* Monday, September 8, 2025 7:42 PM *To:* R-pkg devel <R-package-devel at r-project.org> *Subject:* [R-pkg-devel] CITATION problem Hello, All: I'm getting "Warning: Invalid citation information in ?inst/CITATION?: Error in parse(con): 4:30: unexpected INCOMPLETE_STRING ?? 11: ) ?? 12: ??????????????????????????????????? ^"[1] with my new package " sbgraves237/SS4Maddison" on GitHub.[2] I may be foolish to bother with this, but a CITATION file is suggested in Section 8.2 of Wickham and Bryan, R Packages, and I'm dutifully trying to do what they suggest. What am I doing wrong? Thanks, Spencer Graves [1] This Warning appears in GitHub actions for this package, e.g.: https://github.com/sbgraves237/SS4Maddison/actions/runs/17565658799/ job/49891987005 <https://github.com/sbgraves237/SS4Maddison/actions/ runs/17565658799/job/49891987005> [2] GitHub sbgraves237/SSMaddison: https://github.com/sbgraves237/SS4Maddison <https://github.com/ sbgraves237/SS4Maddison>
______________________________________________ R-package-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel <https:// stat.ethz.ch/mailman/listinfo/r-package-devel>