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-boun...@r-project.org> on behalf of Spencer Graves <spencer.gra...@effectivedefense.org>
*Sent:* Monday, September 8, 2025 7:42 PM
*To:* R-pkg devel <R-package-devel@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@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel <https:// stat.ethz.ch/mailman/listinfo/r-package-devel>

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to