Running ‘testthat.R’ [80s/131s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(metalite)
  > library(metalite.ae)
  > library(r2rtf)
  > test_check("metalite.ae")
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  
  Attaching package: 'tidyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  [1] "any"
  [1] "rel"
  [1] "nonser"
  [1] "ser"
  [1] "ser0rel"
  [1] "dth"
  [1] "dtc0rel"
  [1] "disc"
  [1] "disc0drel"
  [1] "disc0ser"
  [1] "disc0ser0rel"
  The outdata is saved in/home/hornik/tmp/scratch/RtmpMUylGn/file3869ed25c83578.Rdata
  The output is saved in/home/hornik/tmp/scratch/RtmpMUylGn/ednp_ae0listing.rtf
  The outdata is saved in/home/hornik/tmp/scratch/RtmpMUylGn/file3869ed5a28bb7e.Rdata
  The output is saved in/home/hornik/tmp/scratch/RtmpMUylGn/ednp_ae0specific1.rtf
  The outdata is saved in/home/hornik/tmp/scratch/RtmpMUylGn/file3869ed7a512559.Rdata
  The output is saved in/home/hornik/tmp/scratch/RtmpMUylGn/ednpt_ae0specific1.rtf
  The outdata is saved in/home/hornik/tmp/scratch/RtmpMUylGn/file3869ed2f082341.Rdata
  The output is saved in/home/hornik/tmp/scratch/RtmpMUylGn/diednp_ae0specific1.rtf
  The outdata is saved in/home/hornik/tmp/scratch/RtmpMUylGn/file3869ed4dda8068.Rdata
  The output is saved in/home/hornik/tmp/scratch/RtmpMUylGn/diednpt_ae0specific1.rtf
  The output is saved in/home/hornik/tmp/scratch/RtmpMUylGn/dinp_ae0specific1.rtf
  [1] "any"
  [1] "rel"
  [1] "ser"
  The outdata is saved in/home/hornik/tmp/scratch/RtmpMUylGn/file3869ed4499c90a.Rdata
  The output is saved in/home/hornik/tmp/scratch/RtmpMUylGn/tlf_ae_summary.rtf
  [ FAIL 8 | WARN 0 | SKIP 8 | PASS 166 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (8)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-independent-testing-prepare_ae_summary.R:496:3'): serious adverse event count ──
  Error in `vectbl_assign(x[[j]], cells[[j]], value)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─base::`[<-`(`*tmp*`, is.na(res_ae), value = `<dbl>`) at test-independent-testing-prepare_ae_summary.R:496:2
   2. └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(res_ae), value = `<dbl>`) at test-independent-testing-prepare_ae_summary.R:496:2
   3.   └─tibble:::tbl_subassign_matrix(x, j, value, j_arg, substitute(value))
   4.     ├─base::withCallingHandlers(...)
   5.     └─tibble:::vectbl_assign(x[[j]], cells[[j]], value)
  ── Error ('test-independent-testing-prepare_ae_summary.R:575:3'): serious drug-related adverse event count ──
  Error in `vectbl_assign(x[[j]], cells[[j]], value)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─base::`[<-`(`*tmp*`, is.na(res_ae), value = `<dbl>`) at test-independent-testing-prepare_ae_summary.R:575:2
   2. └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(res_ae), value = `<dbl>`) at test-independent-testing-prepare_ae_summary.R:575:2
   3.   └─tibble:::tbl_subassign_matrix(x, j, value, j_arg, substitute(value))
   4.     ├─base::withCallingHandlers(...)
   5.     └─tibble:::vectbl_assign(x[[j]], cells[[j]], value)
  ── Error ('test-independent-testing-prepare_ae_summary.R:654:3'): death count ──
  Error in `vectbl_assign(x[[j]], cells[[j]], value)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─base::`[<-`(`*tmp*`, is.na(res_ae), value = `<dbl>`) at test-independent-testing-prepare_ae_summary.R:654:2
   2. └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(res_ae), value = `<dbl>`) at test-independent-testing-prepare_ae_summary.R:654:2
   3.   └─tibble:::tbl_subassign_matrix(x, j, value, j_arg, substitute(value))
   4.     ├─base::withCallingHandlers(...)
   5.     └─tibble:::vectbl_assign(x[[j]], cells[[j]], value)
  ── Error ('test-independent-testing-prepare_ae_summary.R:733:3'): died due to drug-related adverse event count ──
  Error in `vectbl_assign(x[[j]], cells[[j]], value)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─base::`[<-`(`*tmp*`, is.na(res_ae), value = `<dbl>`) at test-independent-testing-prepare_ae_summary.R:733:2
   2. └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(res_ae), value = `<dbl>`) at test-independent-testing-prepare_ae_summary.R:733:2
   3.   └─tibble:::tbl_subassign_matrix(x, j, value, j_arg, substitute(value))
   4.     ├─base::withCallingHandlers(...)
   5.     └─tibble:::vectbl_assign(x[[j]], cells[[j]], value)
  ── Error ('test-independent-testing-prepare_ae_summary.R:811:3'): discontinued due to an adverse event count ──
  Error in `vectbl_assign(x[[j]], cells[[j]], value)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─base::`[<-`(`*tmp*`, is.na(res_ae), value = `<dbl>`) at test-independent-testing-prepare_ae_summary.R:811:2
   2. └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(res_ae), value = `<dbl>`) at test-independent-testing-prepare_ae_summary.R:811:2
   3.   └─tibble:::tbl_subassign_matrix(x, j, value, j_arg, substitute(value))
   4.     ├─base::withCallingHandlers(...)
   5.     └─tibble:::vectbl_assign(x[[j]], cells[[j]], value)
  ── Error ('test-independent-testing-prepare_ae_summary.R:890:3'): discontinued due to drug-related adverse event count ──
  Error in `vectbl_assign(x[[j]], cells[[j]], value)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─base::`[<-`(`*tmp*`, is.na(res_ae), value = `<dbl>`) at test-independent-testing-prepare_ae_summary.R:890:2
   2. └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(res_ae), value = `<dbl>`) at test-independent-testing-prepare_ae_summary.R:890:2
   3.   └─tibble:::tbl_subassign_matrix(x, j, value, j_arg, substitute(value))
   4.     ├─base::withCallingHandlers(...)
   5.     └─tibble:::vectbl_assign(x[[j]], cells[[j]], value)
  ── Error ('test-independent-testing-prepare_ae_summary.R:969:3'): discontinued due to serious adverse event count ──
  Error in `vectbl_assign(x[[j]], cells[[j]], value)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─base::`[<-`(`*tmp*`, is.na(res_ae), value = `<dbl>`) at test-independent-testing-prepare_ae_summary.R:969:2
   2. └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(res_ae), value = `<dbl>`) at test-independent-testing-prepare_ae_summary.R:969:2
   3.   └─tibble:::tbl_subassign_matrix(x, j, value, j_arg, substitute(value))
   4.     ├─base::withCallingHandlers(...)
   5.     └─tibble:::vectbl_assign(x[[j]], cells[[j]], value)
  ── Error ('test-independent-testing-prepare_ae_summary.R:1046:3'): discontinued due to serious drug-related adverse event count ──
  Error in `vectbl_assign(x[[j]], cells[[j]], value)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─base::`[<-`(`*tmp*`, is.na(res_ae), value = `<dbl>`) at test-independent-testing-prepare_ae_summary.R:1046:2
   2. └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(res_ae), value = `<dbl>`) at test-independent-testing-prepare_ae_summary.R:1046:2
   3.   └─tibble:::tbl_subassign_matrix(x, j, value, j_arg, substitute(value))
   4.     ├─base::withCallingHandlers(...)
   5.     └─tibble:::vectbl_assign(x[[j]], cells[[j]], value)
  
  [ FAIL 8 | WARN 0 | SKIP 8 | PASS 166 ]
  Error: Test failures
  Execution halted