Running ‘testthat.R’ [12s/24s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > library(testthat)
  > library(dparser)
  > 
  > test_check("dparser")
  make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/dparser.Rcheck/tests/testthat'
  gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I"/data/gannet/ripley/R/packages/tests-devel/dparser.Rcheck/dparser/include"  -I/usr/local/include   -fpic  -g -O2 -Wall -pedantic -mtune=native -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration  -c sample_parser.c -o sample_parser.o
  gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I"/data/gannet/ripley/R/packages/tests-devel/dparser.Rcheck/dparser/include"  -I/usr/local/include   -fpic  -g -O2 -Wall -pedantic -mtune=native -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration  -c ansic.test.g.d_parser.c -o ansic.test.g.d_parser.o
  gcc -shared -g -O2 -Wall -pedantic -mtune=native -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -fpic -L/usr/local/lib64 -o sample_parser.so sample_parser.o ansic.test.g.d_parser.o
  make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/dparser.Rcheck/tests/testthat'
  make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/dparser.Rcheck/tests/testthat'
  make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/dparser.Rcheck/tests/testthat'
  make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/dparser.Rcheck/tests/testthat'
  gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I"/data/gannet/ripley/R/packages/tests-devel/dparser.Rcheck/dparser/include"  -I/usr/local/include   -fpic  -g -O2 -Wall -pedantic -mtune=native -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration  -c sample_parser.c -o sample_parser.o
  gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I"/data/gannet/ripley/R/packages/tests-devel/dparser.Rcheck/dparser/include"  -I/usr/local/include   -fpic  -g -O2 -Wall -pedantic -mtune=native -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration  -c g1.test.g.d_parser.c -o g1.test.g.d_parser.o
  /data/gannet/ripley/R/packages/tests-devel/dparser.Rcheck/tests/testthat/g1.test.g: In function ‘d_speculative_reduction_code_2_3_gram’:
  /data/gannet/ripley/R/packages/tests-devel/dparser.Rcheck/tests/testthat/g1.test.g:5:124: error: implicit declaration of function ‘Rprintf’; did you mean ‘dprintf’? [-Werror=implicit-function-declaration]
      5 | A: [ Rprintf("speculative e-reduce A\n"); ]
        |                                                                                                                            ^      
        |                                                                                                                            dprintf
  cc1: some warnings being treated as errors
  make[1]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:168: g1.test.g.d_parser.o] Error 1
  make[1]: Target 'all' not remade because of errors.
  make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/dparser.Rcheck/tests/testthat'
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-dparser.R:44:5): (code run outside of `test_that()`) ────────────
  Error: unable to load shared object '/data/gannet/ripley/R/packages/tests-devel/dparser.Rcheck/tests/testthat/sample_parser.so':
    /data/gannet/ripley/R/packages/tests-devel/dparser.Rcheck/tests/testthat/sample_parser.so: cannot open shared object file: No such file or directory
  Backtrace:
      █
   1. └─base::dyn.load(parser) test-dparser.R:44:4
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 589 ]
  Error: Test failures
  Execution halted