[R-pkg-devel] pkg check: SyntaxError: break must be inside loop or switch

Charles Driver cdr|ver@@u@ @end|ng |rom gm@||@com
Thu Oct 12 15:32:28 CEST 2023


So apparently there is a corrupted file in the current Stanheaders, 
which is hopefully fixed soon...

On 11/10/2023 9:40 am, Ivan Krylov wrote:
> В Tue, 10 Oct 2023 16:36:31 +0200
> Charles Driver<cdriver.aus using gmail.com>  пишет:
>
>>    SyntaxError: break must be inside loop or switch
> This looks like an error coming from a JavaScript engine or from a
> JavaScript-derived language:
>
> https://github.com/blld/libecc/blob/88877a46ba9b0a47567aa999a4380b9e793783a8/src/main.c#L714
> https://github.com/ynezz/openwrt-ucode/blob/5163867269fc04fa01ec5e9f8df3384c933339f2/compiler.c#L2930https://github.com/Bobris/Njsast/blob/930f59a9694432580a7b1367680c56672cfe4cd2/Njsast/Compress/LoopControlFinderTreeWalker.cs#L34
>
> (Most modern implementations say "_unlabeled_ break must be inside loop
> or switch", but this may come from an older version.)
>
> This seems to have nothing to do with Stan either; at the very least I
> cannot find this exact error message inhttps://github.com/stan-dev.
> When R complains about a wrongly placed `break`, it also looks
> differently:
>
> break
> # Error: no loop for break/next, jumping to top level
>
> An infrastructure hiccup on Win-Builder?
>

	[[alternative HTML version deleted]]




More information about the R-package-devel mailing list