Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

21 line
469B

  1. record_problems <- function(x, label, path = NULL) {
  2. probs <- problems(x)
  3. if (nrow(probs) == 0) {
  4. return(invisible())
  5. }
  6. cli::cli_inform(
  7. "{nrow(probs)} problem{?s} in parsing the {label} table."
  8. )
  9. problem_dir <- here::here("..", "problems")
  10. problem_path <- path(problem_dir, label, ext = "csv")
  11. dir_create(problem_dir)
  12. if (!is.null(path)) {
  13. probs$file <- path
  14. }
  15. write_csv(probs, problem_path, append = file_exists(problem_path))
  16. }