* using log directory 'd:/Rcompile/CRANpkg/local/4.0/stokes.Rcheck' * using R version 4.0.5 (2021-03-31) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'stokes/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'stokes' version '1.1-1' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'stokes' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [6s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [17s] OK * checking for unstated dependencies in 'tests' ... WARNING Warning: parse error in file 'testthat/test_hodge.R': 10:27: unexpected '>' 9: n <- max(index(x)) 10: discrepancy <- x |> ^ Warning: parse error in file 'testthat/test_transform.R': 9:27: unexpected '>' 8: xt <- transform(transform(x,M),solve(M)) 9: discrepancy <- x |> ^ * checking tests ... [133s] ERROR Running 'testthat.R' [133s] Running the tests in 'tests/testthat.R' failed. Complete output: > library("testthat") > > test_check("stokes") Loading required package: stokes Loading required package: spray Attaching package: 'spray' The following objects are masked from 'package:base': pmax, pmin Attaching package: 'stokes' The following object is masked from 'package:spray': zap The following object is masked from 'package:base': transform Error in parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") : test_hodge.R:10:27: unexpected '>' 9: n <- max(index(x)) 10: discrepancy <- x |> ^ Calls: test_check ... doTryCatch -> lapply -> FUN -> source_file -> parse Execution halted * checking for unstated dependencies in vignettes ... NOTE Warning: parse error in file 'd:/RCompile/CRANpkg/lib/4.0/stokes/doc/stokes.R': /RCompile/CRANpkg/lib/4.0/stokes/doc/stokes.R:170:8: unexpected '>' 169: ## ----------------------------------------------------------------------------- 170: zap(o |> ^ * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [133s] WARNING Error(s) in re-building vignettes: --- re-building 'Alt.Rmd' using rmarkdown --- finished re-building 'Alt.Rmd' --- re-building 'contract.Rmd' using rmarkdown --- finished re-building 'contract.Rmd' --- re-building 'inner.Rmd' using rmarkdown --- finished re-building 'inner.Rmd' --- re-building 'stokes.Rmd' using rmarkdown Loading required package: spray Attaching package: 'spray' The following objects are masked from 'package:base': pmax, pmin Attaching package: 'stokes' The following object is masked from 'package:spray': zap The following object is masked from 'package:base': transform Quitting from lines 693-694 (stokes.Rmd) Error: processing vignette 'stokes.Rmd' failed with diagnostics: :1:8: unexpected '>' 1: zap(o |> ^ --- failed re-building 'stokes.Rmd' --- re-building 'wedge.Rmd' using rmarkdown --- finished re-building 'wedge.Rmd' SUMMARY: processing the following file failed: 'stokes.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... OK * DONE Status: 1 ERROR, 2 WARNINGs, 1 NOTE