[R-pkg-devel] GitHub Action failed re-building 'sos.Rnw'

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Mon May 24 17:35:02 CEST 2021


On 24/05/2021 10:17 a.m., Spencer Graves wrote:
> Hi, Duncan:
> 
> 
> 	  Thanks again.
> 
> 
> 	  I found XQuartz-2.8.1.dmg and added the 5 lines you suggested
> (modified to 2.8.1) to "R-CMD-check.yaml".  However, the "GitHub Action"
> status symbols disappeared, so I deleted them.
> 
> 
> 	  I copied the "CRAN" function from fda to sos and deleted the
> reference to fda from sos.
> 
> 
> 	  Now I'm getting, 'could not find function "CRAN"' in "processing
> vignette 'sos.Rnw'", even though CRAN is in the NAMESPACE for sos.
> 
> 
> 	  Suggestions?

This one is easy.  You use CRAN() before library(sos).

> 
> 
> 	  Thanks,
> 	  Spencer
> 
> 
> p.s.  To use Sys.getenv("NOT_CRAN"), I'd have to set the environment
> variable "NOT_CRAN" on all the test platforms other than CRAN, and
> that's a level of complexity I'd rather not get into.
I wouldn't call it "complex", but it could be tedious.

Duncan Murdoch



More information about the R-package-devel mailing list