[R-pkg-devel] CITATION problem

Spencer Graves @pencer@gr@ve@ @end|ng |rom e||ect|vede|en@e@org
Tue Sep 9 02:37:44 CEST 2025


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



More information about the R-package-devel mailing list