package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... WARNING Warning in Sys.setlocale("LC_CTYPE", "en_US.UTF-8") : OS reports request to set locale to "en_US.UTF-8" cannot be honored * 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 ... WARNING Error: package or namespace load failed for 'lubridate' in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called 'generics' Execution halted It looks like this package has a loading problem when not on .libPaths: see the messages for details. * 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 ... 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in shell scripts ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... Running 'testthat.R' ERROR Running the tests in 'tests/testthat.R' failed. Last 13 lines of output: [ FAIL 1 | WARN 238 | SKIP 8 | PASS 2745 ] == Skipped tests =============================================================== * Fixm ymd_hms OSz parsing (2) * On CRAN (6) == Failed tests ================================================================ -- Failure (test-vctrs.R:265:3): can cast unspecified to Duration -------------- vec_cast(NA, duration()) not identical to duration()[NA_real_]. Objects equal but not identical [ FAIL 1 | WARN 238 | SKIP 8 | PASS 2745 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking running R code from vignettes ... 'lubridate.Rmd' using 'UTF-8'... OK NONE * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR, 2 WARNINGs, 1 NOTE See '/builddir/build/BUILD/lubridate/lubridate.Rcheck/00check.log' for details. error: Bad exit status from /var/tmp/rpm-tmp.z4NurJ (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.z4NurJ (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/R-lubridate.spec