Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R CMD CHECK error #228

Closed
pawelru opened this issue Oct 21, 2024 · 2 comments
Closed

R CMD CHECK error #228

pawelru opened this issue Oct 21, 2024 · 2 comments
Assignees
Labels
bug Something isn't working sme

Comments

@pawelru
Copy link
Contributor

pawelru commented Oct 21, 2024

https://github.com/r-universe/pharmaverse/actions/runs/11285110100

* checking tests ...
  Running ‘testthat.R’ [10s/10s]
 [11s/10s] ERROR
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
   4.     └─formatters::`num_rep_cols<-`(`*tmp*`, value = rep_cols)
   5.       └─formatters:::mf_update_cinfo(obj, colwidths = NULL, rep_cols = value)
  ── Error ('test-export.R:113:3'): export_as_txt works with listings with all key cols ──
  Error in `rep(0, length(r_colwidths) - nrepcols - 1)`: invalid 'times' argument
  Backtrace:
      ▆
   1. └─formatters::export_as_txt(lsting) at test-export.R:113:3
   2.   └─formatters::paginate_to_mpfs(...)
   3.     ├─formatters::`num_rep_cols<-`(`*tmp*`, value = rep_cols)
   4.     └─formatters::`num_rep_cols<-`(`*tmp*`, value = rep_cols)
   5.       └─formatters:::mf_update_cinfo(obj, colwidths = NULL, rep_cols = value)
  
  [ FAIL 2 | WARN 0 | SKIP 13 | PASS 91 ]
  Error: Test failures
  Execution halted
@pawelru pawelru added the bug Something isn't working label Oct 21, 2024
@pawelru
Copy link
Contributor Author

pawelru commented Oct 31, 2024

our rhub and dependency tests also failed with that message:
https://github.com/insightsengineering/rlistings/actions/runs/11537358833

@shajoezhu
Copy link
Collaborator

@shajoezhu shajoezhu self-assigned this Nov 1, 2024
@shajoezhu shajoezhu added the sme label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working sme
Projects
None yet
Development

No branches or pull requests

2 participants