Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MansMeg committed Dec 13, 2023
1 parent ef85dfb commit 474ca9b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/extract_speeches.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#' @param record_path a file path to a record XML file
#' @param record_paths a vector of file paths to a record XML file
#' @param mc.cores the number of cores to use (Linux and Mac only) in \code{mclapply}.
#' Defaults to available cores - 1L.
#' Defaults to available cores - 1.
#' @param ... further arguments supplied to \code{mclapply}.
#'
#' @return
Expand Down
2 changes: 1 addition & 1 deletion man/extract_speeches_from_record.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/testthat/test-extract_speeches.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test_that("extracting speeches works", {
expect_silent(sp <- extract_speeches_from_record(tfp[1]))
expect_error(sp <- extract_speeches_from_record(tfp))
expect_silent(sp <- extract_speeches_from_records(tfp, mc.cores = 1L))
expect_message(sp <- extract_speeches_from_records(record_paths = tfp, mc.cores = 2L))
expect_silent(suppressMessages(sp <- extract_speeches_from_records(record_paths = tfp, mc.cores = 2L)))

if(FALSE){
# Test to read in the whole corpus year by year
Expand Down

0 comments on commit 474ca9b

Please sign in to comment.