* using log directory 'd:/Rcompile/CRANpkg/local/4.0/preregr.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 'preregr/DESCRIPTION' ... OK * this is package 'preregr' version '0.2.0' * package encoding: UTF-8 * 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 'preregr' 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 ... [8s] 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 ... WARNING Warning: parse error in file 'lines': 6: unexpected '>' 194: version = "0.1.0" 195: ) |> ^ * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [6s] ERROR Running examples in 'preregr-Ex.R' failed The error most likely occurred in: > ### Name: form_add_instruction > ### Title: Add an instruction, section, or item to a (pre)registration form > ### Aliases: form_add_instruction form_add_section form_add_item > > ### ** Examples > > ### Create an empty example form > exampleForm <- + preregr::form_create( + title = "Example form", + version = "0.1.0" + ) |> Error: unexpected '>' in: " version = "0.1.0" ) |>" Execution halted * checking for unstated dependencies in 'tests' ... WARNING Warning: parse error in file 'testthat/test-preregr.R': 117:8: unexpected '>' 116: 'inclSysRev_v0_92' 117: ) |> ^ * checking tests ... [1s] ERROR Running 'testthat.R' [1s] Running the tests in 'tests/testthat.R' failed. Complete output: > > testthat::test_check("preregr"); Loading required package: preregr Attaching package: 'preregr' The following object is masked from 'package:base': source Error in parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") : test-preregr.R:117:8: unexpected '>' 116: 'inclSysRev_v0_92' 117: ) |> ^ Calls: ... 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/preregr/doc/creating_prereg_form.R': /RCompile/CRANpkg/lib/4.0/preregr/doc/creating_prereg_form.R:15:6: unexpected '>' 14: author = "Stibbons, P." 15: ) |> ^ Warning: parse error in file 'd:/RCompile/CRANpkg/lib/4.0/preregr/doc/specifying_prereg_content.R': /RCompile/CRANpkg/lib/4.0/preregr/doc/specifying_prereg_content.R:27:18: unexpected '>' 26: preregExample <- 27: preregExample |> ^ * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [33s] WARNING Error(s) in re-building vignettes: --- re-building 'creating_form_from_spreadsheet.Rmd' using rmarkdown --- finished re-building 'creating_form_from_spreadsheet.Rmd' --- re-building 'creating_prereg_form.Rmd' using rmarkdown Quitting from lines 22-29 (creating_prereg_form.Rmd) Error: processing vignette 'creating_prereg_form.Rmd' failed with diagnostics: :6:6: unexpected '>' 5: author = "Stibbons, P." 6: ) |> ^ --- failed re-building 'creating_prereg_form.Rmd' --- re-building 'form_OSFprereg_v1.Rmd' using rmarkdown --- finished re-building 'form_OSFprereg_v1.Rmd' --- re-building 'form_generalPurpose_v1.Rmd' using rmarkdown --- finished re-building 'form_generalPurpose_v1.Rmd' --- re-building 'form_generalPurpose_v1_1.Rmd' using rmarkdown --- finished re-building 'form_generalPurpose_v1_1.Rmd' --- re-building 'form_inclSysRev_v0_92.Rmd' using rmarkdown --- finished re-building 'form_inclSysRev_v0_92.Rmd' --- re-building 'form_prereg2D_v1.Rmd' using rmarkdown --- finished re-building 'form_prereg2D_v1.Rmd' --- re-building 'form_preregQE_v0_93.Rmd' using rmarkdown --- finished re-building 'form_preregQE_v0_93.Rmd' --- re-building 'form_preregQE_v0_94.Rmd' using rmarkdown --- finished re-building 'form_preregQE_v0_94.Rmd' --- re-building 'form_prpQuant_v1.Rmd' using rmarkdown --- finished re-building 'form_prpQuant_v1.Rmd' --- re-building 'importing_form_from_url.Rmd' using rmarkdown --- finished re-building 'importing_form_from_url.Rmd' --- re-building 'importing_pregistration_from_url.Rmd' using rmarkdown --- finished re-building 'importing_pregistration_from_url.Rmd' --- re-building 'rmd_template_from_form.Rmd' using rmarkdown --- finished re-building 'rmd_template_from_form.Rmd' --- re-building 'specifying_prereg_content.Rmd' using rmarkdown Quitting from lines 57-65 (specifying_prereg_content.Rmd) Error: processing vignette 'specifying_prereg_content.Rmd' failed with diagnostics: :3:18: unexpected '>' 2: preregExample <- 3: preregExample |> ^ --- failed re-building 'specifying_prereg_content.Rmd' SUMMARY: processing the following files failed: 'creating_prereg_form.Rmd' 'specifying_prereg_content.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... OK * DONE Status: 2 ERRORs, 3 WARNINGs, 1 NOTE