Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Authors@R:
Description: The goal of 'automatedRecLin' is to perform record linkage (also known as entity resolution) in unsupervised or supervised settings. It compares pairs of records from two datasets using selected comparison functions to estimate the probability or density ratio between matched and non-matched records. Based on these estimates, it predicts a set of matches that maximizes entropy. For details see: Lee et al. (2022) <https://www150.statcan.gc.ca/n1/pub/12-001-x/2022001/article/00007-eng.htm>, Vo et al. (2023) <https://ideas.repec.org/a/eee/csdana/v179y2023ics0167947322002365.html>, Sugiyama et al. (2008) <doi:10.1007/s10463-008-0197-x>.
License: GPL-3
Encoding: UTF-8
URL: https://github.com/ncn-foreigners/automatedRecLin, https://ncn-foreigners.ue.poznan.pl/automatedRecLin/
URL: https://github.com/ncn-foreigners/automatedRecLin
BugReports: https://github.com/ncn-foreigners/automatedRecLin/issues
Roxygen: list(markdown = TRUE)
Imports:
Expand Down
16 changes: 16 additions & 0 deletions tests/tinytest.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
if ( requireNamespace("tinytest", quietly=TRUE) ){
old_omp_thread_limit <- Sys.getenv("OMP_THREAD_LIMIT", unset = NA_character_)
Sys.setenv("OMP_THREAD_LIMIT" = "1")
on.exit({
if (is.na(old_omp_thread_limit)) {
Sys.unsetenv("OMP_THREAD_LIMIT")
} else {
Sys.setenv("OMP_THREAD_LIMIT" = old_omp_thread_limit)
}
}, add = TRUE)

if ( requireNamespace("data.table", quietly=TRUE) ){
old_dt_threads <- data.table::getDTthreads()
data.table::setDTthreads(1L)
on.exit(data.table::setDTthreads(old_dt_threads), add = TRUE)
}

tinytest::test_package("automatedRecLin", ncpu = NULL)
}
Loading