Since you're looking for suggestions and that's all I have:

Could it be the space between the tick mark and the r? For example, does 
replacing ` round` with `round` (and all other instances) fix the issue?


Max Turgeon
Assistant Professor
Department of Statistics
Department of Computer Science
University of Manitoba
maxturgeon.ca<http://maxturgeon.ca>


________________________________
From: R-package-devel <r-package-devel-boun...@r-project.org> on behalf of 
Matthew Young <m...@sanger.ac.uk>
Sent: May 1, 2020 2:24:40 PM
To: r-package-devel@r-project.org
Subject: [R-pkg-devel] Rmarkdown vignette yields r inline warning on windows 
build

********************************************************
Caution: This message was sent from outside the University of Manitoba.
********************************************************

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]]

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

        [[alternative HTML version deleted]]

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

Reply via email to