Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [44s/93s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(devtools)
  Loading required package: usethis
  
  Attaching package: 'devtools'
  
  The following object is masked from 'package:testthat':
  
      test_file
  
  > 
  > test_check("devtools")
  xfun (0.22 -> 0.23) [CRAN]
  trying URL 'https://cloud.r-project.org/src/contrib/xfun_0.23.tar.gz'
  Content type 'application/x-gzip' length 111696 bytes (109 KB)
  ==================================================
  downloaded 109 KB
  
  * installing *source* package ‘xfun’ ...
  ** package ‘xfun’ successfully unpacked and MD5 sums checked
  ** using staged installation
  ** libs
  make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp8KsivD/R.INSTALL5aa238c807b3/xfun/src'
  gcc-10 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=2  -fpic  -g -O2 -Wall -pedantic -mtune=native  -c base64.c -o base64.o
  gcc-10 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=2  -fpic  -g -O2 -Wall -pedantic -mtune=native  -c init.c -o init.o
  g++-10 -std=gnu++11 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o xfun.so base64.o init.o -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
  make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp8KsivD/R.INSTALL5aa238c807b3/xfun/src'
  make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp8KsivD/R.INSTALL5aa238c807b3/xfun/src'
  make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp8KsivD/R.INSTALL5aa238c807b3/xfun/src'
  installing to /home/hornik/tmp/scratch/Rtmp4WgxmA/RLIBS_1ef7a987d4/00LOCK-xfun/00new/xfun/libs
  ** R
  ** inst
  ** byte-compile and prepare package for lazy loading
  ** help
  *** installing help indices
  ** building package indices
  ** installing vignettes
  ** testing if installed package can be loaded from temporary location
  ** checking absolute paths in shared objects and dynamic libraries
  ** testing if installed package can be loaded from final location
  ** testing if installed package keeps a record of temporary installation path
  * DONE (xfun)
  
  The downloaded source packages are in
  	'/home/hornik/tmp/scratch/RtmpNmszLA/downloaded_packages'
  
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (10)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-uninstall.R:12:3): uninstall() unloads and removes from library ──
  `expect_false(require(testHelp, quietly = TRUE))` did not produce any warnings.
  
  [ FAIL 1 | WARN 0 | SKIP 10 | PASS 61 ]
  Error: Test failures
  Execution halted