Last updated on 2020-09-17 02:08:21 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 2.1.1 | 299.89 | 376.01 | 675.90 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 2.1.1 | 241.45 | 277.44 | 518.89 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 2.1.1 | 880.71 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 2.1.1 | 869.66 | ERROR | |||
r-devel-windows-ix86+x86_64 | 2.1.1 | 704.00 | 762.00 | 1466.00 | ERROR | |
r-patched-linux-x86_64 | 2.1.1 | 255.76 | 355.84 | 611.60 | ERROR | |
r-patched-solaris-x86 | 2.1.1 | 898.00 | ERROR | |||
r-release-linux-x86_64 | 2.1.1 | 260.40 | 360.41 | 620.81 | ERROR | |
r-release-macos-x86_64 | 2.1.1 | NOTE | ||||
r-release-windows-ix86+x86_64 | 2.1.1 | 682.00 | 744.00 | 1426.00 | ERROR | |
r-oldrel-macos-x86_64 | 2.1.1 | NOTE | ||||
r-oldrel-windows-ix86+x86_64 | 2.1.1 | 532.00 | 766.00 | 1298.00 | NOTE |
Version: 2.1.1
Check: examples
Result: ERROR
Running examples in 'quanteda-Ex.R' failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: read_dict_functions
> ### Title: Internal functions to import dictionary files
> ### Aliases: read_dict_functions read_dict_lexicoder read_dict_wordstat
> ### read_dict_liwc read_dict_yoshikoder
> ### Keywords: dictionary internal
>
> ### ** Examples
>
> dict <- quanteda:::read_dict_lexicoder(
+ system.file("extdata", "LSD2015.lc3", package = "quanteda")
+ )
>
>
> ## Not run:
> ##D dict <- quanteda:::read_dict_wordstat(system.file("extdata", "RID.cat", package = "quanteda"))
> ##D # dict <- read_dict_wordstat("/home/kohei/Documents/Dictionary/LaverGarry.txt", "utf-8")
> ##D # dict <- read_dict_wordstat("/home/kohei/Documents/Dictionary/Wordstat/ROGET.cat", "utf-8")
> ##D # dict <- read_dict_wordstat("/home/kohei/Documents/Dictionary/Wordstat/WordStat Sentiments.cat",
> ##D # encoding = "iso-8859-1")
> ## End(Not run)
>
> dict <- quanteda:::read_dict_liwc(
+ system.file("extdata", "moral_foundations_dictionary.dic", package = "quanteda")
+ )
Warning in stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252") :
`fallback_encoding` is no longer used and has been scheduled for removal
Error in stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252") :
encoding `auto` is no longer supported
Calls: <Anonymous> -> stri_read_lines
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 2.1.1
Check: tests
Result: ERROR
Running 'spelling.R' [0s/0s]
Running 'testthat.R' [155s/166s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> Sys.setenv("R_TESTS" = "")
>
> library(testthat)
> library(quanteda)
Package version: 2.1.1
Parallel computing: 2 of 32 threads used.
See https://quanteda.io for tutorials and examples.
Attaching package: 'quanteda'
The following object is masked from 'package:utils':
View
>
> Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE)
>
> ops <- quanteda_options()
> quanteda_options(reset = TRUE)
>
> test_check("quanteda")
-- 1. Error: dictionary constructor works with wordstat format (@test-dictionari
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary.cat")
6. quanteda:::read_dict_wordstat(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 2. Error: dictionary constructor works with LIWC format (@test-dictionaries.R
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 3. Error: read a dictionary with NA as a key (@test-dictionaries.R#61) -----
encoding `auto` is no longer supported
Backtrace:
1. quanteda::dictionary(file = "../data/dictionaries/issue-459.cat")
2. quanteda:::dictionary.default(file = "../data/dictionaries/issue-459.cat")
3. quanteda:::read_dict_wordstat(file, encoding)
4. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 4. Error: dictionary works with different encoding (@test-dictionaries.R#72)
encoding `auto` is no longer supported
Backtrace:
1. base::suppressWarnings(...)
7. quanteda:::dictionary.default(...)
8. quanteda:::read_dict_wordstat(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 5. Error: indexing for dictionary objects works (@test-dictionaries.R#113) -
encoding `auto` is no longer supported
Backtrace:
1. quanteda::dictionary(file = "../data/dictionaries/laver-garry.cat")
2. quanteda:::dictionary.default(file = "../data/dictionaries/laver-garry.cat")
3. quanteda:::read_dict_wordstat(file, encoding)
4. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 6. Error: dictionary constructor works with LIWC format w/doubled terms (@tes
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_doubleterm.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 7. Error: dictionary constructor works with LIWC format zero padding (@test-d
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_zeropadding.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 8. Error: dictionary constructor reports mssing cateogries in LIWC format (@t
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/mary_missingcat.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 9. Error: dictionary constructor works with LIWC format w/multiple tabs, spac
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_multipletabs.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 10. Error: dictionary constructor works with LIWC format w/extra codes (@test
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/liwc_extracodes.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 11. Error: dictionary constructor works with LIWC format w/extra codes and ne
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/liwc_hierarchical.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
== testthat results ===========================================================
[ OK: 3027 | SKIPPED: 23 | WARNINGS: 17 | FAILED: 11 ]
1. Error: dictionary constructor works with wordstat format (@test-dictionaries.R#35)
2. Error: dictionary constructor works with LIWC format (@test-dictionaries.R#50)
3. Error: read a dictionary with NA as a key (@test-dictionaries.R#61)
4. Error: dictionary works with different encoding (@test-dictionaries.R#72)
5. Error: indexing for dictionary objects works (@test-dictionaries.R#113)
6. Error: dictionary constructor works with LIWC format w/doubled terms (@test-dictionaries.R#285)
7. Error: dictionary constructor works with LIWC format zero padding (@test-dictionaries.R#293)
8. Error: dictionary constructor reports mssing cateogries in LIWC format (@test-dictionaries.R#301)
9. Error: dictionary constructor works with LIWC format w/multiple tabs, spaces, etc (@test-dictionaries.R#308)
1. ...
Error: testthat unit tests failed
In addition: Warning messages:
1: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+5B57>' to native encoding
2: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+98DB><U+6A5F>' to native encoding
3: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+6587><U+66F8><U+FF11>' to native encoding
4: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+6587><U+66F8><U+FF12>' to native encoding
5: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+6587><U+66F8><U+FF11>' to native encoding
6: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+6587><U+66F8><U+FF12>' to native encoding
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 2.1.1
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/1s]
Running ‘testthat.R’ [114s/162s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> Sys.setenv("R_TESTS" = "")
>
> library(testthat)
> library(quanteda)
Package version: 2.1.1
Parallel computing: 2 of 32 threads used.
See https://quanteda.io for tutorials and examples.
Attaching package: 'quanteda'
The following object is masked from 'package:utils':
View
>
> Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE)
>
> ops <- quanteda_options()
> quanteda_options(reset = TRUE)
>
> test_check("quanteda")
── 1. Error: dictionary constructor works with wordstat format (@test-dictionari
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary.cat")
6. quanteda:::read_dict_wordstat(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 2. Error: dictionary constructor works with LIWC format (@test-dictionaries.R
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 3. Error: read a dictionary with NA as a key (@test-dictionaries.R#61) ─────
encoding `auto` is no longer supported
Backtrace:
1. quanteda::dictionary(file = "../data/dictionaries/issue-459.cat")
2. quanteda:::dictionary.default(file = "../data/dictionaries/issue-459.cat")
3. quanteda:::read_dict_wordstat(file, encoding)
4. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 4. Error: dictionary works with different encoding (@test-dictionaries.R#72)
encoding `auto` is no longer supported
Backtrace:
1. base::suppressWarnings(...)
7. quanteda:::dictionary.default(...)
8. quanteda:::read_dict_wordstat(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 5. Error: indexing for dictionary objects works (@test-dictionaries.R#113) ─
encoding `auto` is no longer supported
Backtrace:
1. quanteda::dictionary(file = "../data/dictionaries/laver-garry.cat")
2. quanteda:::dictionary.default(file = "../data/dictionaries/laver-garry.cat")
3. quanteda:::read_dict_wordstat(file, encoding)
4. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 6. Error: dictionary constructor works with LIWC format w/doubled terms (@tes
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_doubleterm.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 7. Error: dictionary constructor works with LIWC format zero padding (@test-d
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_zeropadding.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 8. Error: dictionary constructor reports mssing cateogries in LIWC format (@t
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/mary_missingcat.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 9. Error: dictionary constructor works with LIWC format w/multiple tabs, spac
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_multipletabs.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 10. Error: dictionary constructor works with LIWC format w/extra codes (@test
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/liwc_extracodes.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 11. Error: dictionary constructor works with LIWC format w/extra codes and ne
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/liwc_hierarchical.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 3027 | SKIPPED: 23 | WARNINGS: 17 | FAILED: 11 ]
1. Error: dictionary constructor works with wordstat format (@test-dictionaries.R#35)
2. Error: dictionary constructor works with LIWC format (@test-dictionaries.R#50)
3. Error: read a dictionary with NA as a key (@test-dictionaries.R#61)
4. Error: dictionary works with different encoding (@test-dictionaries.R#72)
5. Error: indexing for dictionary objects works (@test-dictionaries.R#113)
6. Error: dictionary constructor works with LIWC format w/doubled terms (@test-dictionaries.R#285)
7. Error: dictionary constructor works with LIWC format zero padding (@test-dictionaries.R#293)
8. Error: dictionary constructor reports mssing cateogries in LIWC format (@test-dictionaries.R#301)
9. Error: dictionary constructor works with LIWC format w/multiple tabs, spaces, etc (@test-dictionaries.R#308)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 2.1.1
Check: installed package size
Result: NOTE
installed size is 17.2Mb
sub-directories of 1Mb or more:
R 1.1Mb
libs 13.8Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-ix86+x86_64, r-release-macos-x86_64, r-release-windows-ix86+x86_64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64
Version: 2.1.1
Check: data for non-ASCII characters
Result: NOTE
Note: found 3 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-macos-x86_64, r-oldrel-macos-x86_64
Version: 2.1.1
Check: examples
Result: ERROR
Running examples in ‘quanteda-Ex.R’ failed
The error most likely occurred in:
> ### Name: read_dict_functions
> ### Title: Internal functions to import dictionary files
> ### Aliases: read_dict_functions read_dict_lexicoder read_dict_wordstat
> ### read_dict_liwc read_dict_yoshikoder
> ### Keywords: dictionary internal
>
> ### ** Examples
>
> dict <- quanteda:::read_dict_lexicoder(
+ system.file("extdata", "LSD2015.lc3", package = "quanteda")
+ )
>
>
> ## Not run:
> ##D dict <- quanteda:::read_dict_wordstat(system.file("extdata", "RID.cat", package = "quanteda"))
> ##D # dict <- read_dict_wordstat("/home/kohei/Documents/Dictionary/LaverGarry.txt", "utf-8")
> ##D # dict <- read_dict_wordstat("/home/kohei/Documents/Dictionary/Wordstat/ROGET.cat", "utf-8")
> ##D # dict <- read_dict_wordstat("/home/kohei/Documents/Dictionary/Wordstat/WordStat Sentiments.cat",
> ##D # encoding = "iso-8859-1")
> ## End(Not run)
>
> dict <- quanteda:::read_dict_liwc(
+ system.file("extdata", "moral_foundations_dictionary.dic", package = "quanteda")
+ )
Warning in stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252") :
`fallback_encoding` is no longer used and has been scheduled for removal
Error in stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252") :
encoding `auto` is no longer supported
Calls: <Anonymous> -> stri_read_lines
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 2.1.1
Check: tests
Result: ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [172s/189s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> Sys.setenv("R_TESTS" = "")
>
> library(testthat)
> library(quanteda)
Package version: 2.1.1
Parallel computing: 2 of 24 threads used.
See https://quanteda.io for tutorials and examples.
Attaching package: 'quanteda'
The following object is masked from 'package:utils':
View
>
> Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE)
>
> ops <- quanteda_options()
> quanteda_options(reset = TRUE)
>
> test_check("quanteda")
── 1. Error: dictionary constructor works with wordstat format (@test-dictionari
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary.cat")
6. quanteda:::read_dict_wordstat(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 2. Error: dictionary constructor works with LIWC format (@test-dictionaries.R
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 3. Error: read a dictionary with NA as a key (@test-dictionaries.R#61) ─────
encoding `auto` is no longer supported
Backtrace:
1. quanteda::dictionary(file = "../data/dictionaries/issue-459.cat")
2. quanteda:::dictionary.default(file = "../data/dictionaries/issue-459.cat")
3. quanteda:::read_dict_wordstat(file, encoding)
4. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 4. Error: dictionary works with different encoding (@test-dictionaries.R#72)
encoding `auto` is no longer supported
Backtrace:
1. base::suppressWarnings(...)
7. quanteda:::dictionary.default(...)
8. quanteda:::read_dict_wordstat(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 5. Error: indexing for dictionary objects works (@test-dictionaries.R#113) ─
encoding `auto` is no longer supported
Backtrace:
1. quanteda::dictionary(file = "../data/dictionaries/laver-garry.cat")
2. quanteda:::dictionary.default(file = "../data/dictionaries/laver-garry.cat")
3. quanteda:::read_dict_wordstat(file, encoding)
4. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 6. Error: dictionary constructor works with LIWC format w/doubled terms (@tes
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_doubleterm.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 7. Error: dictionary constructor works with LIWC format zero padding (@test-d
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_zeropadding.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 8. Error: dictionary constructor reports mssing cateogries in LIWC format (@t
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/mary_missingcat.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 9. Error: dictionary constructor works with LIWC format w/multiple tabs, spac
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_multipletabs.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 10. Error: dictionary constructor works with LIWC format w/extra codes (@test
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/liwc_extracodes.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 11. Error: dictionary constructor works with LIWC format w/extra codes and ne
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/liwc_hierarchical.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 3027 | SKIPPED: 23 | WARNINGS: 17 | FAILED: 11 ]
1. Error: dictionary constructor works with wordstat format (@test-dictionaries.R#35)
2. Error: dictionary constructor works with LIWC format (@test-dictionaries.R#50)
3. Error: read a dictionary with NA as a key (@test-dictionaries.R#61)
4. Error: dictionary works with different encoding (@test-dictionaries.R#72)
5. Error: indexing for dictionary objects works (@test-dictionaries.R#113)
6. Error: dictionary constructor works with LIWC format w/doubled terms (@test-dictionaries.R#285)
7. Error: dictionary constructor works with LIWC format zero padding (@test-dictionaries.R#293)
8. Error: dictionary constructor reports mssing cateogries in LIWC format (@test-dictionaries.R#301)
9. Error: dictionary constructor works with LIWC format w/multiple tabs, spaces, etc (@test-dictionaries.R#308)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 2.1.1
Check: tests
Result: ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [175s/198s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> Sys.setenv("R_TESTS" = "")
>
> library(testthat)
> library(quanteda)
Package version: 2.1.1
Parallel computing: 2 of 24 threads used.
See https://quanteda.io for tutorials and examples.
Attaching package: 'quanteda'
The following object is masked from 'package:utils':
View
>
> Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE)
>
> ops <- quanteda_options()
> quanteda_options(reset = TRUE)
>
> test_check("quanteda")
── 1. Error: dictionary constructor works with wordstat format (@test-dictionari
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary.cat")
6. quanteda:::read_dict_wordstat(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 2. Error: dictionary constructor works with LIWC format (@test-dictionaries.R
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 3. Error: read a dictionary with NA as a key (@test-dictionaries.R#61) ─────
encoding `auto` is no longer supported
Backtrace:
1. quanteda::dictionary(file = "../data/dictionaries/issue-459.cat")
2. quanteda:::dictionary.default(file = "../data/dictionaries/issue-459.cat")
3. quanteda:::read_dict_wordstat(file, encoding)
4. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 4. Error: dictionary works with different encoding (@test-dictionaries.R#72)
encoding `auto` is no longer supported
Backtrace:
1. base::suppressWarnings(...)
7. quanteda:::dictionary.default(...)
8. quanteda:::read_dict_wordstat(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 5. Error: indexing for dictionary objects works (@test-dictionaries.R#113) ─
encoding `auto` is no longer supported
Backtrace:
1. quanteda::dictionary(file = "../data/dictionaries/laver-garry.cat")
2. quanteda:::dictionary.default(file = "../data/dictionaries/laver-garry.cat")
3. quanteda:::read_dict_wordstat(file, encoding)
4. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 6. Error: dictionary constructor works with LIWC format w/doubled terms (@tes
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_doubleterm.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 7. Error: dictionary constructor works with LIWC format zero padding (@test-d
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_zeropadding.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 8. Error: dictionary constructor reports mssing cateogries in LIWC format (@t
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/mary_missingcat.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 9. Error: dictionary constructor works with LIWC format w/multiple tabs, spac
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_multipletabs.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 10. Error: dictionary constructor works with LIWC format w/extra codes (@test
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/liwc_extracodes.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 11. Error: dictionary constructor works with LIWC format w/extra codes and ne
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/liwc_hierarchical.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 3027 | SKIPPED: 23 | WARNINGS: 17 | FAILED: 11 ]
1. Error: dictionary constructor works with wordstat format (@test-dictionaries.R#35)
2. Error: dictionary constructor works with LIWC format (@test-dictionaries.R#50)
3. Error: read a dictionary with NA as a key (@test-dictionaries.R#61)
4. Error: dictionary works with different encoding (@test-dictionaries.R#72)
5. Error: indexing for dictionary objects works (@test-dictionaries.R#113)
6. Error: dictionary constructor works with LIWC format w/doubled terms (@test-dictionaries.R#285)
7. Error: dictionary constructor works with LIWC format zero padding (@test-dictionaries.R#293)
8. Error: dictionary constructor reports mssing cateogries in LIWC format (@test-dictionaries.R#301)
9. Error: dictionary constructor works with LIWC format w/multiple tabs, spaces, etc (@test-dictionaries.R#308)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 2.1.1
Check: running examples for arch ‘i386’
Result: ERROR
Running examples in 'quanteda-Ex.R' failed
The error most likely occurred in:
> ### Name: read_dict_functions
> ### Title: Internal functions to import dictionary files
> ### Aliases: read_dict_functions read_dict_lexicoder read_dict_wordstat
> ### read_dict_liwc read_dict_yoshikoder
> ### Keywords: dictionary internal
>
> ### ** Examples
>
> dict <- quanteda:::read_dict_lexicoder(
+ system.file("extdata", "LSD2015.lc3", package = "quanteda")
+ )
>
>
> ## Not run:
> ##D dict <- quanteda:::read_dict_wordstat(system.file("extdata", "RID.cat", package = "quanteda"))
> ##D # dict <- read_dict_wordstat("/home/kohei/Documents/Dictionary/LaverGarry.txt", "utf-8")
> ##D # dict <- read_dict_wordstat("/home/kohei/Documents/Dictionary/Wordstat/ROGET.cat", "utf-8")
> ##D # dict <- read_dict_wordstat("/home/kohei/Documents/Dictionary/Wordstat/WordStat Sentiments.cat",
> ##D # encoding = "iso-8859-1")
> ## End(Not run)
>
> dict <- quanteda:::read_dict_liwc(
+ system.file("extdata", "moral_foundations_dictionary.dic", package = "quanteda")
+ )
Warning in stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252") :
`fallback_encoding` is no longer used and has been scheduled for removal
Error in stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252") :
encoding `auto` is no longer supported
Calls: <Anonymous> -> stri_read_lines
Execution halted
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64
Version: 2.1.1
Check: running examples for arch ‘x64’
Result: ERROR
Running examples in 'quanteda-Ex.R' failed
The error most likely occurred in:
> ### Name: read_dict_functions
> ### Title: Internal functions to import dictionary files
> ### Aliases: read_dict_functions read_dict_lexicoder read_dict_wordstat
> ### read_dict_liwc read_dict_yoshikoder
> ### Keywords: dictionary internal
>
> ### ** Examples
>
> dict <- quanteda:::read_dict_lexicoder(
+ system.file("extdata", "LSD2015.lc3", package = "quanteda")
+ )
>
>
> ## Not run:
> ##D dict <- quanteda:::read_dict_wordstat(system.file("extdata", "RID.cat", package = "quanteda"))
> ##D # dict <- read_dict_wordstat("/home/kohei/Documents/Dictionary/LaverGarry.txt", "utf-8")
> ##D # dict <- read_dict_wordstat("/home/kohei/Documents/Dictionary/Wordstat/ROGET.cat", "utf-8")
> ##D # dict <- read_dict_wordstat("/home/kohei/Documents/Dictionary/Wordstat/WordStat Sentiments.cat",
> ##D # encoding = "iso-8859-1")
> ## End(Not run)
>
> dict <- quanteda:::read_dict_liwc(
+ system.file("extdata", "moral_foundations_dictionary.dic", package = "quanteda")
+ )
Warning in stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252") :
`fallback_encoding` is no longer used and has been scheduled for removal
Error in stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252") :
encoding `auto` is no longer supported
Calls: <Anonymous> -> stri_read_lines
Execution halted
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64
Version: 2.1.1
Check: running tests for arch ‘i386’
Result: ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [175s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> Sys.setenv("R_TESTS" = "")
>
> library(testthat)
> library(quanteda)
Package version: 2.1.1
Parallel computing: 2 of 32 threads used.
See https://quanteda.io for tutorials and examples.
Attaching package: 'quanteda'
The following object is masked from 'package:utils':
View
>
> Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE)
>
> ops <- quanteda_options()
> quanteda_options(reset = TRUE)
>
> test_check("quanteda")
-- 1. Error: dictionary constructor works with wordstat format (@test-dictionari
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary.cat")
6. quanteda:::read_dict_wordstat(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 2. Error: dictionary constructor works with LIWC format (@test-dictionaries.R
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 3. Error: read a dictionary with NA as a key (@test-dictionaries.R#61) -----
encoding `auto` is no longer supported
Backtrace:
1. quanteda::dictionary(file = "../data/dictionaries/issue-459.cat")
2. quanteda:::dictionary.default(file = "../data/dictionaries/issue-459.cat")
3. quanteda:::read_dict_wordstat(file, encoding)
4. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 4. Error: indexing for dictionary objects works (@test-dictionaries.R#113) -
encoding `auto` is no longer supported
Backtrace:
1. quanteda::dictionary(file = "../data/dictionaries/laver-garry.cat")
2. quanteda:::dictionary.default(file = "../data/dictionaries/laver-garry.cat")
3. quanteda:::read_dict_wordstat(file, encoding)
4. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 5. Error: dictionary constructor works with LIWC format w/doubled terms (@tes
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_doubleterm.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 6. Error: dictionary constructor works with LIWC format zero padding (@test-d
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_zeropadding.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 7. Error: dictionary constructor reports mssing cateogries in LIWC format (@t
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/mary_missingcat.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 8. Error: dictionary constructor works with LIWC format w/multiple tabs, spac
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_multipletabs.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 9. Error: dictionary constructor works with LIWC format w/extra codes (@test-
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/liwc_extracodes.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 10. Error: dictionary constructor works with LIWC format w/extra codes and ne
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/liwc_hierarchical.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
== testthat results ===========================================================
[ OK: 3029 | SKIPPED: 24 | WARNINGS: 17 | FAILED: 10 ]
1. Error: dictionary constructor works with wordstat format (@test-dictionaries.R#35)
2. Error: dictionary constructor works with LIWC format (@test-dictionaries.R#50)
3. Error: read a dictionary with NA as a key (@test-dictionaries.R#61)
4. Error: indexing for dictionary objects works (@test-dictionaries.R#113)
5. Error: dictionary constructor works with LIWC format w/doubled terms (@test-dictionaries.R#285)
6. Error: dictionary constructor works with LIWC format zero padding (@test-dictionaries.R#293)
7. Error: dictionary constructor reports mssing cateogries in LIWC format (@test-dictionaries.R#301)
8. Error: dictionary constructor works with LIWC format w/multiple tabs, spaces, etc (@test-dictionaries.R#308)
9. Error: dictionary constructor works with LIWC format w/extra codes (@test-dictionaries.R#316)
10. Error: dictionary constructor works with LIWC format w/extra codes and nesting (@test-dictionaries.R#365)
Error: testthat unit tests failed
In addition: Warning messages:
1: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+5B57>' to native encoding
2: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+98DB><U+6A5F>' to native encoding
3: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+6587><U+66F8>1' to native encoding
4: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+6587><U+66F8>2' to native encoding
5: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+6587><U+66F8>1' to native encoding
6: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+6587><U+66F8>2' to native encoding
Execution halted
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64
Version: 2.1.1
Check: running tests for arch ‘x64’
Result: ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [184s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> Sys.setenv("R_TESTS" = "")
>
> library(testthat)
> library(quanteda)
Package version: 2.1.1
Parallel computing: 2 of 32 threads used.
See https://quanteda.io for tutorials and examples.
Attaching package: 'quanteda'
The following object is masked from 'package:utils':
View
>
> Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE)
>
> ops <- quanteda_options()
> quanteda_options(reset = TRUE)
>
> test_check("quanteda")
-- 1. Error: dictionary constructor works with wordstat format (@test-dictionari
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary.cat")
6. quanteda:::read_dict_wordstat(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 2. Error: dictionary constructor works with LIWC format (@test-dictionaries.R
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 3. Error: read a dictionary with NA as a key (@test-dictionaries.R#61) -----
encoding `auto` is no longer supported
Backtrace:
1. quanteda::dictionary(file = "../data/dictionaries/issue-459.cat")
2. quanteda:::dictionary.default(file = "../data/dictionaries/issue-459.cat")
3. quanteda:::read_dict_wordstat(file, encoding)
4. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 4. Error: indexing for dictionary objects works (@test-dictionaries.R#113) -
encoding `auto` is no longer supported
Backtrace:
1. quanteda::dictionary(file = "../data/dictionaries/laver-garry.cat")
2. quanteda:::dictionary.default(file = "../data/dictionaries/laver-garry.cat")
3. quanteda:::read_dict_wordstat(file, encoding)
4. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 5. Error: dictionary constructor works with LIWC format w/doubled terms (@tes
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_doubleterm.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 6. Error: dictionary constructor works with LIWC format zero padding (@test-d
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_zeropadding.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 7. Error: dictionary constructor reports mssing cateogries in LIWC format (@t
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/mary_missingcat.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 8. Error: dictionary constructor works with LIWC format w/multiple tabs, spac
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_multipletabs.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 9. Error: dictionary constructor works with LIWC format w/extra codes (@test-
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/liwc_extracodes.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 10. Error: dictionary constructor works with LIWC format w/extra codes and ne
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/liwc_hierarchical.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
== testthat results ===========================================================
[ OK: 3029 | SKIPPED: 24 | WARNINGS: 17 | FAILED: 10 ]
1. Error: dictionary constructor works with wordstat format (@test-dictionaries.R#35)
2. Error: dictionary constructor works with LIWC format (@test-dictionaries.R#50)
3. Error: read a dictionary with NA as a key (@test-dictionaries.R#61)
4. Error: indexing for dictionary objects works (@test-dictionaries.R#113)
5. Error: dictionary constructor works with LIWC format w/doubled terms (@test-dictionaries.R#285)
6. Error: dictionary constructor works with LIWC format zero padding (@test-dictionaries.R#293)
7. Error: dictionary constructor reports mssing cateogries in LIWC format (@test-dictionaries.R#301)
8. Error: dictionary constructor works with LIWC format w/multiple tabs, spaces, etc (@test-dictionaries.R#308)
9. Error: dictionary constructor works with LIWC format w/extra codes (@test-dictionaries.R#316)
10. Error: dictionary constructor works with LIWC format w/extra codes and nesting (@test-dictionaries.R#365)
Error: testthat unit tests failed
In addition: Warning messages:
1: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+5B57>' to native encoding
2: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+98DB><U+6A5F>' to native encoding
3: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+6587><U+66F8>1' to native encoding
4: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+6587><U+66F8>2' to native encoding
5: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+6587><U+66F8>1' to native encoding
6: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+6587><U+66F8>2' to native encoding
Execution halted
Flavor: r-devel-windows-ix86+x86_64
Version: 2.1.1
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/1s]
Running ‘testthat.R’ [145s/154s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> Sys.setenv("R_TESTS" = "")
>
> library(testthat)
> library(quanteda)
Package version: 2.1.1
Parallel computing: 2 of 32 threads used.
See https://quanteda.io for tutorials and examples.
Attaching package: 'quanteda'
The following object is masked from 'package:utils':
View
>
> Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE)
>
> ops <- quanteda_options()
> quanteda_options(reset = TRUE)
>
> test_check("quanteda")
── 1. Error: dictionary constructor works with wordstat format (@test-dictionari
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary.cat")
6. quanteda:::read_dict_wordstat(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 2. Error: dictionary constructor works with LIWC format (@test-dictionaries.R
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 3. Error: read a dictionary with NA as a key (@test-dictionaries.R#61) ─────
encoding `auto` is no longer supported
Backtrace:
1. quanteda::dictionary(file = "../data/dictionaries/issue-459.cat")
2. quanteda:::dictionary.default(file = "../data/dictionaries/issue-459.cat")
3. quanteda:::read_dict_wordstat(file, encoding)
4. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 4. Error: dictionary works with different encoding (@test-dictionaries.R#72)
encoding `auto` is no longer supported
Backtrace:
1. base::suppressWarnings(...)
7. quanteda:::dictionary.default(...)
8. quanteda:::read_dict_wordstat(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 5. Error: indexing for dictionary objects works (@test-dictionaries.R#113) ─
encoding `auto` is no longer supported
Backtrace:
1. quanteda::dictionary(file = "../data/dictionaries/laver-garry.cat")
2. quanteda:::dictionary.default(file = "../data/dictionaries/laver-garry.cat")
3. quanteda:::read_dict_wordstat(file, encoding)
4. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 6. Error: dictionary constructor works with LIWC format w/doubled terms (@tes
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_doubleterm.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 7. Error: dictionary constructor works with LIWC format zero padding (@test-d
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_zeropadding.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 8. Error: dictionary constructor reports mssing cateogries in LIWC format (@t
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/mary_missingcat.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 9. Error: dictionary constructor works with LIWC format w/multiple tabs, spac
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_multipletabs.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 10. Error: dictionary constructor works with LIWC format w/extra codes (@test
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/liwc_extracodes.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 11. Error: dictionary constructor works with LIWC format w/extra codes and ne
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/liwc_hierarchical.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 3027 | SKIPPED: 23 | WARNINGS: 17 | FAILED: 11 ]
1. Error: dictionary constructor works with wordstat format (@test-dictionaries.R#35)
2. Error: dictionary constructor works with LIWC format (@test-dictionaries.R#50)
3. Error: read a dictionary with NA as a key (@test-dictionaries.R#61)
4. Error: dictionary works with different encoding (@test-dictionaries.R#72)
5. Error: indexing for dictionary objects works (@test-dictionaries.R#113)
6. Error: dictionary constructor works with LIWC format w/doubled terms (@test-dictionaries.R#285)
7. Error: dictionary constructor works with LIWC format zero padding (@test-dictionaries.R#293)
8. Error: dictionary constructor reports mssing cateogries in LIWC format (@test-dictionaries.R#301)
9. Error: dictionary constructor works with LIWC format w/multiple tabs, spaces, etc (@test-dictionaries.R#308)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-patched-linux-x86_64
Version: 2.1.1
Check: examples
Result: ERROR
Running examples in ‘quanteda-Ex.R’ failed
The error most likely occurred in:
> ### Name: corpus-class
> ### Title: Base method extensions for corpus objects
> ### Aliases: corpus-class is.corpus +.corpus c.corpus [.corpus
> ### print.summary.corpus
> ### Keywords: corpus internal
>
> ### ** Examples
>
> # concatenate corpus objects
> corp1 <- corpus(data_char_ukimmig2010[1:2])
> corp2 <- corpus(data_char_ukimmig2010[3:4])
> corp3 <- corpus(data_char_ukimmig2010[5:6])
> summary(c(corp1, corp2, corp3))
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'as.list': error in evaluating the argument 'x' in selecting a method for function 'which': Illegal argument. (U_ILLEGAL_ARGUMENT_ERROR, context=`^\p{emoji_presentation}+$`)
Calls: summary ... stri_detect_regex -> .handleSimpleError -> h -> .handleSimpleError -> h
Execution halted
Flavor: r-patched-solaris-x86
Version: 2.1.1
Check: for unstated dependencies in ‘tests’
Result: WARN
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Warning in deparse(e[[2L]]) :
it is not known that wchar_t is Unicode on this platform
Flavor: r-patched-solaris-x86
Version: 2.1.1
Check: tests
Result: ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [268s/263s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> Sys.setenv("R_TESTS" = "")
>
> library(testthat)
> library(quanteda)
Package version: 2.1.1
Parallel computing: 2 of 16 threads used.
See https://quanteda.io for tutorials and examples.
Attaching package: 'quanteda'
The following object is masked from 'package:utils':
View
>
> Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE)
>
> ops <- quanteda_options()
> quanteda_options(reset = TRUE)
>
> test_check("quanteda")
── 1. Error: corpus_segment works with blank before tag (@test-corpus_segment.R#
error in evaluating the argument 'x' in selecting a method for function 'as.list': error in evaluating the argument 'x' in selecting a method for function 'which': Illegal argument. (U_ILLEGAL_ARGUMENT_ERROR, context=`^\p{emoji_presentation}+$`)
Backtrace:
1. base::summary(corp_seg)
18. base::.handleSimpleError(...)
19. base:::h(simpleError(msg, call))
── 2. Error: dictionary constructor works with wordstat format (@test-dictionari
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary.cat")
6. quanteda:::read_dict_wordstat(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 3. Error: dictionary constructor works with LIWC format (@test-dictionaries.R
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 4. Error: read a dictionary with NA as a key (@test-dictionaries.R#61) ─────
encoding `auto` is no longer supported
Backtrace:
1. quanteda::dictionary(file = "../data/dictionaries/issue-459.cat")
2. quanteda:::dictionary.default(file = "../data/dictionaries/issue-459.cat")
3. quanteda:::read_dict_wordstat(file, encoding)
4. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 5. Error: dictionary works with different encoding (@test-dictionaries.R#72)
encoding `auto` is no longer supported
Backtrace:
1. base::suppressWarnings(...)
7. quanteda:::dictionary.default(...)
8. quanteda:::read_dict_wordstat(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 6. Error: indexing for dictionary objects works (@test-dictionaries.R#113) ─
encoding `auto` is no longer supported
Backtrace:
1. quanteda::dictionary(file = "../data/dictionaries/laver-garry.cat")
2. quanteda:::dictionary.default(file = "../data/dictionaries/laver-garry.cat")
3. quanteda:::read_dict_wordstat(file, encoding)
4. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 7. Error: dictionary constructor works with LIWC format w/doubled terms (@tes
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_doubleterm.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 8. Error: dictionary constructor works with LIWC format zero padding (@test-d
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_zeropadding.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 9. Error: dictionary constructor reports mssing cateogries in LIWC format (@t
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/mary_missingcat.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 10. Error: dictionary constructor works with LIWC format w/multiple tabs, spa
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_multipletabs.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 11. Error: dictionary constructor works with LIWC format w/extra codes (@test
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/liwc_extracodes.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 12. Error: dictionary constructor works with LIWC format w/extra codes and ne
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/liwc_hierarchical.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 13. Error: adding summary info works (@test-meta.R#126) ────────────────────
error in evaluating the argument 'x' in selecting a method for function 'as.list': error in evaluating the argument 'x' in selecting a method for function 'which': Illegal argument. (U_ILLEGAL_ARGUMENT_ERROR, context=`^\p{emoji_presentation}+$`)
Backtrace:
1. quanteda:::add_summary_metadata(corp)
19. base::.handleSimpleError(...)
20. base:::h(simpleError(msg, call))
── 14. Error: adding extended summary information works (@test-meta.R#181) ────
error in evaluating the argument 'x' in selecting a method for function 'as.list': error in evaluating the argument 'x' in selecting a method for function 'which': Illegal argument. (U_ILLEGAL_ARGUMENT_ERROR, context=`^\p{emoji_presentation}+$`)
Backtrace:
1. quanteda:::add_summary_metadata(corp, extended = TRUE)
19. base::.handleSimpleError(...)
20. base:::h(simpleError(msg, call))
── 15. Failure: test nsentence (@test-nfunctions.R#6) ─────────────────────────
nsentence(txt) not identical to c(doc1 = 2L, doc2 = 2L).
1/2 mismatches
[1] 4 - 2 == 2
── 16. Failure: test nsentence (@test-nfunctions.R#7) ─────────────────────────
nsentence(corpus(txt)) not identical to c(doc1 = 2L, doc2 = 2L).
1/2 mismatches
[1] 4 - 2 == 2
── 17. Failure: test nsentence (@test-nfunctions.R#8) ─────────────────────────
nsentence(tokens(txt, what = "sentence")) not identical to c(doc1 = 2L, doc2 = 2L).
1/2 mismatches
[1] 4 - 2 == 2
── 18. Error: textstat_summary method works (@test-textstat_summary.R#11) ─────
error in evaluating the argument 'x' in selecting a method for function 'as.list': error in evaluating the argument 'x' in selecting a method for function 'which': Illegal argument. (U_ILLEGAL_ARGUMENT_ERROR, context=`^\p{emoji_presentation}+$`)
Backtrace:
1. quanteda::textstat_summary(corp, cache = FALSE)
15. base::.handleSimpleError(...)
16. base:::h(simpleError(msg, call))
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 2976 | SKIPPED: 26 | WARNINGS: 27 | FAILED: 18 ]
1. Error: corpus_segment works with blank before tag (@test-corpus_segment.R#55)
2. Error: dictionary constructor works with wordstat format (@test-dictionaries.R#35)
3. Error: dictionary constructor works with LIWC format (@test-dictionaries.R#50)
4. Error: read a dictionary with NA as a key (@test-dictionaries.R#61)
5. Error: dictionary works with different encoding (@test-dictionaries.R#72)
6. Error: indexing for dictionary objects works (@test-dictionaries.R#113)
7. Error: dictionary constructor works with LIWC format w/doubled terms (@test-dictionaries.R#285)
8. Error: dictionary constructor works with LIWC format zero padding (@test-dictionaries.R#293)
9. Error: dictionary constructor reports mssing cateogries in LIWC format (@test-dictionaries.R#301)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-patched-solaris-x86
Version: 2.1.1
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
...
--- re-building ‘quickstart.Rmd’ using rmarkdown
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
Package version: 2.1.1
Parallel computing: 2 of 16 threads used.
See https://quanteda.io for tutorials and examples.
Attaching package: 'quanteda'
The following object is masked from 'package:utils':
View
Quitting from lines 74-76 (quickstart.Rmd)
Error: processing vignette 'quickstart.Rmd' failed with diagnostics:
error in evaluating the argument 'x' in selecting a method for function 'as.list': error in evaluating the argument 'x' in selecting a method for function 'which': Illegal argument. (U_ILLEGAL_ARGUMENT_ERROR, context=`^\p{emoji_presentation}+$`)
--- failed re-building ‘quickstart.Rmd’
SUMMARY: processing the following file failed:
‘quickstart.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-patched-solaris-x86
Version: 2.1.1
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [146s/157s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> Sys.setenv("R_TESTS" = "")
>
> library(testthat)
> library(quanteda)
Package version: 2.1.1
Parallel computing: 2 of 32 threads used.
See https://quanteda.io for tutorials and examples.
Attaching package: 'quanteda'
The following object is masked from 'package:utils':
View
>
> Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE)
>
> ops <- quanteda_options()
> quanteda_options(reset = TRUE)
>
> test_check("quanteda")
── 1. Error: dictionary constructor works with wordstat format (@test-dictionari
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary.cat")
6. quanteda:::read_dict_wordstat(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 2. Error: dictionary constructor works with LIWC format (@test-dictionaries.R
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 3. Error: read a dictionary with NA as a key (@test-dictionaries.R#61) ─────
encoding `auto` is no longer supported
Backtrace:
1. quanteda::dictionary(file = "../data/dictionaries/issue-459.cat")
2. quanteda:::dictionary.default(file = "../data/dictionaries/issue-459.cat")
3. quanteda:::read_dict_wordstat(file, encoding)
4. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 4. Error: dictionary works with different encoding (@test-dictionaries.R#72)
encoding `auto` is no longer supported
Backtrace:
1. base::suppressWarnings(...)
7. quanteda:::dictionary.default(...)
8. quanteda:::read_dict_wordstat(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 5. Error: indexing for dictionary objects works (@test-dictionaries.R#113) ─
encoding `auto` is no longer supported
Backtrace:
1. quanteda::dictionary(file = "../data/dictionaries/laver-garry.cat")
2. quanteda:::dictionary.default(file = "../data/dictionaries/laver-garry.cat")
3. quanteda:::read_dict_wordstat(file, encoding)
4. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 6. Error: dictionary constructor works with LIWC format w/doubled terms (@tes
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_doubleterm.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 7. Error: dictionary constructor works with LIWC format zero padding (@test-d
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_zeropadding.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 8. Error: dictionary constructor reports mssing cateogries in LIWC format (@t
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/mary_missingcat.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 9. Error: dictionary constructor works with LIWC format w/multiple tabs, spac
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_multipletabs.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 10. Error: dictionary constructor works with LIWC format w/extra codes (@test
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/liwc_extracodes.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
── 11. Error: dictionary constructor works with LIWC format w/extra codes and ne
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/liwc_hierarchical.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 3027 | SKIPPED: 23 | WARNINGS: 17 | FAILED: 11 ]
1. Error: dictionary constructor works with wordstat format (@test-dictionaries.R#35)
2. Error: dictionary constructor works with LIWC format (@test-dictionaries.R#50)
3. Error: read a dictionary with NA as a key (@test-dictionaries.R#61)
4. Error: dictionary works with different encoding (@test-dictionaries.R#72)
5. Error: indexing for dictionary objects works (@test-dictionaries.R#113)
6. Error: dictionary constructor works with LIWC format w/doubled terms (@test-dictionaries.R#285)
7. Error: dictionary constructor works with LIWC format zero padding (@test-dictionaries.R#293)
8. Error: dictionary constructor reports mssing cateogries in LIWC format (@test-dictionaries.R#301)
9. Error: dictionary constructor works with LIWC format w/multiple tabs, spaces, etc (@test-dictionaries.R#308)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-release-linux-x86_64
Version: 2.1.1
Check: running tests for arch ‘x64’
Result: ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [186s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> Sys.setenv("R_TESTS" = "")
>
> library(testthat)
> library(quanteda)
Package version: 2.1.1
Parallel computing: 2 of 32 threads used.
See https://quanteda.io for tutorials and examples.
Attaching package: 'quanteda'
The following object is masked from 'package:utils':
View
>
> Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE)
>
> ops <- quanteda_options()
> quanteda_options(reset = TRUE)
>
> test_check("quanteda")
-- 1. Error: dictionary constructor works with wordstat format (@test-dictionari
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary.cat")
6. quanteda:::read_dict_wordstat(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 2. Error: dictionary constructor works with LIWC format (@test-dictionaries.R
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 3. Error: read a dictionary with NA as a key (@test-dictionaries.R#61) -----
encoding `auto` is no longer supported
Backtrace:
1. quanteda::dictionary(file = "../data/dictionaries/issue-459.cat")
2. quanteda:::dictionary.default(file = "../data/dictionaries/issue-459.cat")
3. quanteda:::read_dict_wordstat(file, encoding)
4. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 4. Error: indexing for dictionary objects works (@test-dictionaries.R#113) -
encoding `auto` is no longer supported
Backtrace:
1. quanteda::dictionary(file = "../data/dictionaries/laver-garry.cat")
2. quanteda:::dictionary.default(file = "../data/dictionaries/laver-garry.cat")
3. quanteda:::read_dict_wordstat(file, encoding)
4. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 5. Error: dictionary constructor works with LIWC format w/doubled terms (@tes
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_doubleterm.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 6. Error: dictionary constructor works with LIWC format zero padding (@test-d
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_zeropadding.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 7. Error: dictionary constructor reports mssing cateogries in LIWC format (@t
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/mary_missingcat.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 8. Error: dictionary constructor works with LIWC format w/multiple tabs, spac
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_equivalent(...)
5. quanteda:::dictionary.default(file = "../data/dictionaries/mary_multipletabs.dic")
6. quanteda:::read_dict_liwc(file, encoding)
7. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 9. Error: dictionary constructor works with LIWC format w/extra codes (@test-
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/liwc_extracodes.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
-- 10. Error: dictionary constructor works with LIWC format w/extra codes and ne
encoding `auto` is no longer supported
Backtrace:
1. testthat::expect_message(...)
7. quanteda:::dictionary.default(file = "../data/dictionaries/liwc_hierarchical.dic")
8. quanteda:::read_dict_liwc(file, encoding)
9. stringi::stri_read_lines(path, encoding = encoding, fallback_encoding = "windows-1252")
== testthat results ===========================================================
[ OK: 3029 | SKIPPED: 24 | WARNINGS: 17 | FAILED: 10 ]
1. Error: dictionary constructor works with wordstat format (@test-dictionaries.R#35)
2. Error: dictionary constructor works with LIWC format (@test-dictionaries.R#50)
3. Error: read a dictionary with NA as a key (@test-dictionaries.R#61)
4. Error: indexing for dictionary objects works (@test-dictionaries.R#113)
5. Error: dictionary constructor works with LIWC format w/doubled terms (@test-dictionaries.R#285)
6. Error: dictionary constructor works with LIWC format zero padding (@test-dictionaries.R#293)
7. Error: dictionary constructor reports mssing cateogries in LIWC format (@test-dictionaries.R#301)
8. Error: dictionary constructor works with LIWC format w/multiple tabs, spaces, etc (@test-dictionaries.R#308)
9. Error: dictionary constructor works with LIWC format w/extra codes (@test-dictionaries.R#316)
10. Error: dictionary constructor works with LIWC format w/extra codes and nesting (@test-dictionaries.R#365)
Error: testthat unit tests failed
In addition: Warning messages:
1: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+5B57>' to native encoding
2: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+98DB><U+6A5F>' to native encoding
3: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+6587><U+66F8>1' to native encoding
4: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+6587><U+66F8>2' to native encoding
5: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+6587><U+66F8>1' to native encoding
6: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
unable to translate '<U+6587><U+66F8>2' to native encoding
Execution halted
Flavor: r-release-windows-ix86+x86_64