f this is a source package ... NOTE Found the following apparent object files/libraries: src/yajl/libstatyajl.a src/yajl/yajl.o src/yajl/yajl_alloc.o src/yajl/yajl_buf.o src/yajl/yajl_encode.o src/yajl/yajl_gen.o src/yajl/yajl_lex.o src/yajl/yajl_parser.o src/yajl/yajl_tree.o Object files/libraries should not be included in a source package. * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package 'jsonlite' can be installed ... OK * checking installed package size ... OK * checking package 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 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 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 compiled code ... OK * checking sizes of PDF files under 'inst/doc' ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... SKIPPED * checking examples ... SKIPPED * checking for unstated dependencies in 'tests' ... OK * checking tests ... ERROR Running the tests in 'tests/testthat.R' failed. Last 13 lines of output: -- 4. Failure: Encoding Complex as list (@test-toJSON-complex.R#19) ----------- `x` not equal to `expected`. 1/1 mismatches x[1]: "[\"1+3i\",\"2+2i\",\" NA\"]" y[1]: "[\"1+3i\",\"2+2i\",\"NA\"]" == testthat results =========================================================== OK: 1474 SKIPPED: 0 FAILED: 4 1. Failure: Encoding Complex (@test-toJSON-complex.R#5) 2. Failure: Encoding Complex (@test-toJSON-complex.R#6) 3. Failure: Encoding Complex in Data Frame (@test-toJSON-complex.R#13) 4. Failure: Encoding Complex as list (@test-toJSON-complex.R#19) Error: testthat unit tests failed Execution halted * checking PDF version of manual ... OK * DONE Status: 1 ERROR, 2 NOTEs RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.IiG4KO (%check) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.IiG4KO (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do 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-jsonlite.spec