* using log directory 'd:/Rcompile/CRANpkg/local/4.0/impactr.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 'impactr/DESCRIPTION' ... OK * this is package 'impactr' version '0.4.0' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... NOTE Package suggested but not available for checking: 'accdata' * 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 'impactr' 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 * loading checks for arch 'i386' ** 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 * loading checks for arch 'x64' ** 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 ... [9s] 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': 9: unexpected '>' 194: data <- import_dataset("daily_acc_3d") 195: data |> ^ * checking line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... ** running examples for arch 'i386' ... [4s] ERROR Running examples in 'impactr-Ex.R' failed The error most likely occurred in: > ### Name: summarise_loading > ### Title: Summarise mechanical loading variables > ### Aliases: summarise_loading > > ### ** Examples > > # Ensure that {accdata} package is available before running the example. > # If it is not, run install_accdata() to install the required package. > if (requireNamespace("accdata", quietly = TRUE)) { + data <- import_dataset("daily_acc_3d") + data |> Error: unexpected '>' in: " data <- import_dataset("daily_acc_3d") data |>" Execution halted ** running examples for arch 'x64' ... [5s] ERROR Running examples in 'impactr-Ex.R' failed The error most likely occurred in: > ### Name: summarise_loading > ### Title: Summarise mechanical loading variables > ### Aliases: summarise_loading > > ### ** Examples > > # Ensure that {accdata} package is available before running the example. > # If it is not, run install_accdata() to install the required package. > if (requireNamespace("accdata", quietly = TRUE)) { + data <- import_dataset("daily_acc_3d") + data |> Error: unexpected '>' in: " data <- import_dataset("daily_acc_3d") data |>" Execution halted * checking for unstated dependencies in 'tests' ... WARNING Warning: parse error in file 'testthat/test-utils.R': 22:11: unexpected '>' 21: expect_error( 22: data |> ^ * checking tests ... ** running tests for arch 'i386' ... [7s] ERROR Running 'testthat.R' [6s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(impactr) > > test_check("impactr") Error in parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") : test-utils.R:22:11: unexpected '>' 21: expect_error( 22: data |> ^ Calls: test_check ... doTryCatch -> lapply -> FUN -> source_file -> parse Execution halted ** running tests for arch 'x64' ... [7s] ERROR Running 'testthat.R' [7s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(impactr) > > test_check("impactr") Error in parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") : test-utils.R:22:11: unexpected '>' 21: expect_error( 22: data |> ^ Calls: test_check ... doTryCatch -> lapply -> FUN -> source_file -> parse Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [4s] OK * checking PDF version of manual ... OK * DONE Status: 4 ERRORs, 2 WARNINGs, 1 NOTE