[R-pkg-devel] Rmarkdown vignette yields r inline warning on windows build

Matthew Young my4 @end|ng |rom @@nger@@c@uk
Fri May 1 21:24:40 CEST 2020


I am trying to submit a package to CRAN that includes a vignette built using rmarkdown.  It passes fine on the machines I have access to (ubuntu and osx).  When I submit to CRAN using the form, it passes the Debian checks, but fails on windows with the following WARNING:

! Missing $ inserted.
<inserted text>
                $
l.1030

You may need to add $ $ around a certain inline R expression `r `


I’m really not sure what is causing this error or how to debug it.  I do not have any inline r expressions in my vignette (code here https://github.com/constantAmateur/SoupX/blob/devel/vignettes/pbmcTutorial.Rmd).  I do have back-ticked expression such as `round`, but they are not executed code.  Can anyone suggest what might be causing this issue?

Many thanks,

Matthew



-- 
 The Wellcome Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE.
	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list