Last updated on 2021-09-25 05:49:34 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.11 | 4.23 | 117.12 | 121.35 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.1.11 | 3.11 | 82.21 | 85.32 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.1.11 | 146.32 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.11 | 135.26 | ERROR | |||
r-devel-windows-x86_64 | 0.1.11 | 6.00 | 384.00 | 390.00 | ERROR | |
r-devel-windows-x86_64-gcc10-UCRT | 0.1.11 | ERROR | ||||
r-patched-linux-x86_64 | 0.1.11 | 4.77 | 110.95 | 115.72 | ERROR | |
r-patched-solaris-x86 | 0.1.11 | 155.20 | ERROR | |||
r-release-linux-x86_64 | 0.1.11 | 2.92 | 109.19 | 112.11 | ERROR | |
r-release-macos-arm64 | 0.1.11 | OK | ||||
r-release-macos-x86_64 | 0.1.11 | OK | ||||
r-release-windows-ix86+x86_64 | 0.1.11 | 11.00 | 403.00 | 414.00 | ERROR | |
r-oldrel-macos-x86_64 | 0.1.11 | OK | ||||
r-oldrel-windows-ix86+x86_64 | 0.1.11 | 10.00 | 358.00 | 368.00 | ERROR |
Version: 0.1.11
Check: tests
Result: ERROR
Running 'testthat.R' [74s/400s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(DNH4)
>
> test_check("DNH4")
# A tibble: 10 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 251050030 31478325 -99 0 COMMENT S 256 0 "\ub2f~ 2018-05-~
2 251060481 31478325 -99 0 COMMENT S 256 0 "\ucca~ 2018-05-~
3 251051431 31478325 -99 0 COMMENT S 0 0 "\uc5d~ 2018-05-~
4 251060632 31478325 -99 0 COMMENT S 0 0 "\uac1~ 2018-05-~
5 251059086 31478325 -99 0 COMMENT S 256 0 "\ud64~ 2018-05-~
6 251054515 31478325 -99 0 COMMENT S 0 0 "\uadf~ 2018-05-~
7 251051591 31478325 -99 0 COMMENT S 256 0 "\uc57~ 2018-05-~
8 251051828 31478325 -99 0 COMMENT S 256 0 "\ub2f~ 2018-05-~
9 251050452 31478325 -99 0 COMMENT S 0 0 "\ucd9~ 2018-05-~
10 251108796 31478325 -99 0 COMMENT S 256 0 "\uacb~ 2018-05-~
# ... with 14 more variables: updatedAt <chr>, childCount <int>,
# likeCount <int>, dislikeCount <int>, user_id <int>, user_status <chr>,
# user_type <chr>, user_flags <int>, user_username <chr>, user_roles <chr>,
# user_providerId <chr>, user_providerUserId <chr>, user_displayName <chr>,
# user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "\ubc1~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "\ubbf~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "\ub30~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "\uc5e~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "\uc0a~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "\ubc1~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "\ubcf~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "\ubc1~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "\ubbf~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "\ub30~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "\uc5e~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "\uc0a~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "\ubc1~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "\ubcf~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "\ubc1~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "\ubbf~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "\ub30~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "\uc5e~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "\uc0a~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "\ubc1~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "\ubcf~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "\ubc1~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "\ubbf~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "\ub30~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "\uc5e~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "\uc0a~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "\ubc1~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "\ubcf~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "\ubc1~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "\ubbf~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "\ub30~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "\uc5e~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "\uc0a~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "\ubc1~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "\ubcf~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "\ubc1~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "\ubbf~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "\ub30~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "\uc5e~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "\uc0a~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "\ubc1~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "\ubcf~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "\ubc1~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "\ubbf~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "\ub30~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "\uc5e~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "\uc0a~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "\ubc1~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "\ubcf~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "\ubc1~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "\ubbf~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "\ub30~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "\uc5e~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "\uc0a~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "\ubc1~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "\ubcf~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "\ubc1~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "\ubbf~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "\ub30~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "\uc5e~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "\uc0a~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "\ubc1~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "\ubcf~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "\ubc1~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "\ubbf~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "\uc0a~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "\ub30~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "\uc5e~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "\uc0a~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "\ubc1~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "\ubcf~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
== Failed tests ================================================================
-- Error (test-getComment.R:5:3): get one comment work -------------------------
Error: $ operator is invalid for atomic vectors
Backtrace:
x
1. \-DNH4::getComment(tar) test-getComment.R:5:2
2. \-DNH4:::getCommentData(...)
3. \-DNH4:::CommentListtoDf(dat)
4. +-base::unlist(lapply(dat, function(x) x$icon))
5. \-base::lapply(dat, function(x) x$icon)
6. \-DNH4:::FUN(X[[i]], ...)
-- Error (test-getComment.R:12:3): get zero comment work -----------------------
Error: $ operator is invalid for atomic vectors
Backtrace:
x
1. \-DNH4::getComment(tar) test-getComment.R:12:2
2. \-DNH4:::getCommentData(...)
3. \-DNH4:::CommentListtoDf(dat)
4. +-base::unlist(lapply(dat, function(x) x$icon))
5. \-base::lapply(dat, function(x) x$icon)
6. \-DNH4:::FUN(X[[i]], ...)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 12 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.1.11
Check: tests
Result: ERROR
Running ‘testthat.R’ [51s/445s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(DNH4)
>
> test_check("DNH4")
# A tibble: 10 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 251050030 31478325 -99 0 COMMENT S 256 0 "당신… 2018-05-…
2 251060481 31478325 -99 0 COMMENT S 256 0 "철수… 2018-05-…
3 251051431 31478325 -99 0 COMMENT S 0 0 "에휴\… 2018-05-…
4 251060632 31478325 -99 0 COMMENT S 0 0 "개인… 2018-05-…
5 251059086 31478325 -99 0 COMMENT S 256 0 "홍준… 2018-05-…
6 251054515 31478325 -99 0 COMMENT S 0 0 "그 말… 2018-05-…
7 251051591 31478325 -99 0 COMMENT S 256 0 "야당… 2018-05-…
8 251051828 31478325 -99 0 COMMENT S 256 0 "당신… 2018-05-…
9 251050452 31478325 -99 0 COMMENT S 0 0 "축하… 2018-05-…
10 251108796 31478325 -99 0 COMMENT S 256 0 "경제 … 2018-05-…
# … with 14 more variables: updatedAt <chr>, childCount <int>, likeCount <int>,
# dislikeCount <int>, user_id <int>, user_status <chr>, user_type <chr>,
# user_flags <int>, user_username <chr>, user_roles <chr>,
# user_providerId <chr>, user_providerUserId <chr>, user_displayName <chr>,
# user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test-getComment.R:5:3): get one comment work ─────────────────────────
Error: $ operator is invalid for atomic vectors
Backtrace:
█
1. └─DNH4::getComment(tar) test-getComment.R:5:2
2. └─DNH4:::getCommentData(...)
3. └─DNH4:::CommentListtoDf(dat)
4. ├─base::unlist(lapply(dat, function(x) x$icon))
5. └─base::lapply(dat, function(x) x$icon)
6. └─DNH4:::FUN(X[[i]], ...)
── Error (test-getComment.R:12:3): get zero comment work ───────────────────────
Error: $ operator is invalid for atomic vectors
Backtrace:
█
1. └─DNH4::getComment(tar) test-getComment.R:12:2
2. └─DNH4:::getCommentData(...)
3. └─DNH4:::CommentListtoDf(dat)
4. ├─base::unlist(lapply(dat, function(x) x$icon))
5. └─base::lapply(dat, function(x) x$icon)
6. └─DNH4:::FUN(X[[i]], ...)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 12 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.11
Check: tests
Result: ERROR
Running ‘testthat.R’ [84s/427s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(DNH4)
>
> test_check("DNH4")
# A tibble: 10 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 251050030 31478325 -99 0 COMMENT S 256 0 "당신… 2018-05-…
2 251060481 31478325 -99 0 COMMENT S 256 0 "철수… 2018-05-…
3 251051431 31478325 -99 0 COMMENT S 0 0 "에휴\… 2018-05-…
4 251060632 31478325 -99 0 COMMENT S 0 0 "개인… 2018-05-…
5 251059086 31478325 -99 0 COMMENT S 256 0 "홍준… 2018-05-…
6 251054515 31478325 -99 0 COMMENT S 0 0 "그 말… 2018-05-…
7 251051591 31478325 -99 0 COMMENT S 256 0 "야당… 2018-05-…
8 251051828 31478325 -99 0 COMMENT S 256 0 "당신… 2018-05-…
9 251050452 31478325 -99 0 COMMENT S 0 0 "축하… 2018-05-…
10 251108796 31478325 -99 0 COMMENT S 256 0 "경제 … 2018-05-…
# … with 14 more variables: updatedAt <chr>, childCount <int>, likeCount <int>,
# dislikeCount <int>, user_id <int>, user_status <chr>, user_type <chr>,
# user_flags <int>, user_username <chr>, user_roles <chr>,
# user_providerId <chr>, user_providerUserId <chr>, user_displayName <chr>,
# user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test-getComment.R:5:3): get one comment work ─────────────────────────
Error: $ operator is invalid for atomic vectors
Backtrace:
█
1. └─DNH4::getComment(tar) test-getComment.R:5:2
2. └─DNH4:::getCommentData(...)
3. └─DNH4:::CommentListtoDf(dat)
4. ├─base::unlist(lapply(dat, function(x) x$icon))
5. └─base::lapply(dat, function(x) x$icon)
6. └─DNH4:::FUN(X[[i]], ...)
── Error (test-getComment.R:12:3): get zero comment work ───────────────────────
Error: $ operator is invalid for atomic vectors
Backtrace:
█
1. └─DNH4::getComment(tar) test-getComment.R:12:2
2. └─DNH4:::getCommentData(...)
3. └─DNH4:::CommentListtoDf(dat)
4. ├─base::unlist(lapply(dat, function(x) x$icon))
5. └─base::lapply(dat, function(x) x$icon)
6. └─DNH4:::FUN(X[[i]], ...)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 12 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.11
Check: tests
Result: ERROR
Running ‘testthat.R’ [84s/378s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(DNH4)
>
> test_check("DNH4")
# A tibble: 10 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 251050030 31478325 -99 0 COMMENT S 256 0 "당신… 2018-05-…
2 251060481 31478325 -99 0 COMMENT S 256 0 "철수… 2018-05-…
3 251051431 31478325 -99 0 COMMENT S 0 0 "에휴\… 2018-05-…
4 251060632 31478325 -99 0 COMMENT S 0 0 "개인… 2018-05-…
5 251059086 31478325 -99 0 COMMENT S 256 0 "홍준… 2018-05-…
6 251054515 31478325 -99 0 COMMENT S 0 0 "그 말… 2018-05-…
7 251051591 31478325 -99 0 COMMENT S 256 0 "야당… 2018-05-…
8 251051828 31478325 -99 0 COMMENT S 256 0 "당신… 2018-05-…
9 251050452 31478325 -99 0 COMMENT S 0 0 "축하… 2018-05-…
10 251108796 31478325 -99 0 COMMENT S 256 0 "경제 … 2018-05-…
# … with 14 more variables: updatedAt <chr>, childCount <int>, likeCount <int>,
# dislikeCount <int>, user_id <int>, user_status <chr>, user_type <chr>,
# user_flags <int>, user_username <chr>, user_roles <chr>,
# user_providerId <chr>, user_providerUserId <chr>, user_displayName <chr>,
# user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test-getComment.R:5:3): get one comment work ─────────────────────────
Error: $ operator is invalid for atomic vectors
Backtrace:
█
1. └─DNH4::getComment(tar) test-getComment.R:5:2
2. └─DNH4:::getCommentData(...)
3. └─DNH4:::CommentListtoDf(dat)
4. ├─base::unlist(lapply(dat, function(x) x$icon))
5. └─base::lapply(dat, function(x) x$icon)
6. └─DNH4:::FUN(X[[i]], ...)
── Error (test-getComment.R:12:3): get zero comment work ───────────────────────
Error: $ operator is invalid for atomic vectors
Backtrace:
█
1. └─DNH4::getComment(tar) test-getComment.R:12:2
2. └─DNH4:::getCommentData(...)
3. └─DNH4:::CommentListtoDf(dat)
4. ├─base::unlist(lapply(dat, function(x) x$icon))
5. └─base::lapply(dat, function(x) x$icon)
6. └─DNH4:::FUN(X[[i]], ...)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 12 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.1.11
Check: tests
Result: ERROR
Running 'testthat.R' [340s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(DNH4)
>
> test_check("DNH4")
# A tibble: 10 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 251050030 31478325 -99 0 COMMENT S 256 0 "<U+B2F9><U+C2E0>~ 2018-05-~
2 251060481 31478325 -99 0 COMMENT S 256 0 "<U+CCA0><U+C218>~ 2018-05-~
3 251051431 31478325 -99 0 COMMENT S 0 0 "<U+C5D0><U+D734>\~ 2018-05-~
4 251060632 31478325 -99 0 COMMENT S 0 0 "<U+AC1C><U+C778>~ 2018-05-~
5 251059086 31478325 -99 0 COMMENT S 256 0 "<U+D64D><U+C900>~ 2018-05-~
6 251054515 31478325 -99 0 COMMENT S 0 0 "<U+ADF8> <U+B9D0>~ 2018-05-~
7 251051591 31478325 -99 0 COMMENT S 256 0 "<U+C57C><U+B2F9>~ 2018-05-~
8 251051828 31478325 -99 0 COMMENT S 256 0 "<U+B2F9><U+C2E0>~ 2018-05-~
9 251050452 31478325 -99 0 COMMENT S 0 0 "<U+CD95><U+D558>~ 2018-05-~
10 251108796 31478325 -99 0 COMMENT S 256 0 "<U+ACBD><U+C81C> ~ 2018-05-~
# ... with 14 more variables: updatedAt <chr>, childCount <int>,
# likeCount <int>, dislikeCount <int>, user_id <int>, user_status <chr>,
# user_type <chr>, user_flags <int>, user_username <chr>, user_roles <chr>,
# user_providerId <chr>, user_providerUserId <chr>, user_displayName <chr>,
# user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
== Failed tests ================================================================
-- Error (test-getComment.R:5:3): get one comment work -------------------------
Error: $ operator is invalid for atomic vectors
Backtrace:
x
1. \-DNH4::getComment(tar) test-getComment.R:5:2
2. \-DNH4:::getCommentData(...)
3. \-DNH4:::CommentListtoDf(dat)
4. +-base::unlist(lapply(dat, function(x) x$icon))
5. \-base::lapply(dat, function(x) x$icon)
6. \-DNH4:::FUN(X[[i]], ...)
-- Error (test-getComment.R:12:3): get zero comment work -----------------------
Error: $ operator is invalid for atomic vectors
Backtrace:
x
1. \-DNH4::getComment(tar) test-getComment.R:12:2
2. \-DNH4:::getCommentData(...)
3. \-DNH4:::CommentListtoDf(dat)
4. +-base::unlist(lapply(dat, function(x) x$icon))
5. \-base::lapply(dat, function(x) x$icon)
6. \-DNH4:::FUN(X[[i]], ...)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 12 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.1.11
Check: tests
Result: ERROR
Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(DNH4)
>
> test_check("DNH4")
# A tibble: 10 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 251050030 31478325 -99 0 COMMENT S 256 0 "당신… 2018-05-…
2 251060481 31478325 -99 0 COMMENT S 256 0 "철수… 2018-05-…
3 251051431 31478325 -99 0 COMMENT S 0 0 "에휴\… 2018-05-…
4 251060632 31478325 -99 0 COMMENT S 0 0 "개인… 2018-05-…
5 251059086 31478325 -99 0 COMMENT S 256 0 "홍준… 2018-05-…
6 251054515 31478325 -99 0 COMMENT S 0 0 "그 말… 2018-05-…
7 251051591 31478325 -99 0 COMMENT S 256 0 "야당… 2018-05-…
8 251051828 31478325 -99 0 COMMENT S 256 0 "당신… 2018-05-…
9 251050452 31478325 -99 0 COMMENT S 0 0 "축하… 2018-05-…
10 251108796 31478325 -99 0 COMMENT S 256 0 "경제 … 2018-05-…
# … with 14 more variables: updatedAt <chr>, childCount <int>, likeCount <int>,
# dislikeCount <int>, user_id <int>, user_status <chr>, user_type <chr>,
# user_flags <int>, user_username <chr>, user_roles <chr>,
# user_providerId <chr>, user_providerUserId <chr>, user_displayName <chr>,
# user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test-getComment.R:5:3): get one comment work ─────────────────────────
Error: $ operator is invalid for atomic vectors
Backtrace:
█
1. └─DNH4::getComment(tar) test-getComment.R:5:2
2. └─DNH4:::getCommentData(...)
3. └─DNH4:::CommentListtoDf(dat)
4. ├─base::unlist(lapply(dat, function(x) x$icon))
5. └─base::lapply(dat, function(x) x$icon)
6. └─DNH4:::FUN(X[[i]], ...)
── Error (test-getComment.R:12:3): get zero comment work ───────────────────────
Error: $ operator is invalid for atomic vectors
Backtrace:
█
1. └─DNH4::getComment(tar) test-getComment.R:12:2
2. └─DNH4:::getCommentData(...)
3. └─DNH4:::CommentListtoDf(dat)
4. ├─base::unlist(lapply(dat, function(x) x$icon))
5. └─base::lapply(dat, function(x) x$icon)
6. └─DNH4:::FUN(X[[i]], ...)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 12 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT
Version: 0.1.11
Check: tests
Result: ERROR
Running ‘testthat.R’ [72s/400s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(DNH4)
>
> test_check("DNH4")
# A tibble: 10 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 251050030 31478325 -99 0 COMMENT S 256 0 "당신… 2018-05-…
2 251060481 31478325 -99 0 COMMENT S 256 0 "철수… 2018-05-…
3 251051431 31478325 -99 0 COMMENT S 0 0 "에휴\… 2018-05-…
4 251060632 31478325 -99 0 COMMENT S 0 0 "개인… 2018-05-…
5 251059086 31478325 -99 0 COMMENT S 256 0 "홍준… 2018-05-…
6 251054515 31478325 -99 0 COMMENT S 0 0 "그 말… 2018-05-…
7 251051591 31478325 -99 0 COMMENT S 256 0 "야당… 2018-05-…
8 251051828 31478325 -99 0 COMMENT S 256 0 "당신… 2018-05-…
9 251050452 31478325 -99 0 COMMENT S 0 0 "축하… 2018-05-…
10 251108796 31478325 -99 0 COMMENT S 256 0 "경제 … 2018-05-…
# … with 14 more variables: updatedAt <chr>, childCount <int>, likeCount <int>,
# dislikeCount <int>, user_id <int>, user_status <chr>, user_type <chr>,
# user_flags <int>, user_username <chr>, user_roles <chr>,
# user_providerId <chr>, user_providerUserId <chr>, user_displayName <chr>,
# user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test-getComment.R:5:3): get one comment work ─────────────────────────
Error: $ operator is invalid for atomic vectors
Backtrace:
█
1. └─DNH4::getComment(tar) test-getComment.R:5:2
2. └─DNH4:::getCommentData(...)
3. └─DNH4:::CommentListtoDf(dat)
4. ├─base::unlist(lapply(dat, function(x) x$icon))
5. └─base::lapply(dat, function(x) x$icon)
6. └─DNH4:::FUN(X[[i]], ...)
── Error (test-getComment.R:12:3): get zero comment work ───────────────────────
Error: $ operator is invalid for atomic vectors
Backtrace:
█
1. └─DNH4::getComment(tar) test-getComment.R:12:2
2. └─DNH4:::getCommentData(...)
3. └─DNH4:::CommentListtoDf(dat)
4. ├─base::unlist(lapply(dat, function(x) x$icon))
5. └─base::lapply(dat, function(x) x$icon)
6. └─DNH4:::FUN(X[[i]], ...)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 12 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.1.11
Check: tests
Result: ERROR
Running ‘testthat.R’ [1m/12m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(DNH4)
>
> test_check("DNH4")
# A tibble: 10 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 251050030 31478325 -99 0 COMMENT S 256 0 "당신… 2018-05-…
2 251060481 31478325 -99 0 COMMENT S 256 0 "철수… 2018-05-…
3 251051431 31478325 -99 0 COMMENT S 0 0 "에휴\… 2018-05-…
4 251060632 31478325 -99 0 COMMENT S 0 0 "개인… 2018-05-…
5 251059086 31478325 -99 0 COMMENT S 256 0 "홍준… 2018-05-…
6 251054515 31478325 -99 0 COMMENT S 0 0 "그 말… 2018-05-…
7 251051591 31478325 -99 0 COMMENT S 256 0 "야당… 2018-05-…
8 251051828 31478325 -99 0 COMMENT S 256 0 "당신… 2018-05-…
9 251050452 31478325 -99 0 COMMENT S 0 0 "축하… 2018-05-…
10 251108796 31478325 -99 0 COMMENT S 256 0 "경제 … 2018-05-…
# … with 14 more variables: updatedAt <chr>, childCount <int>, likeCount <int>,
# dislikeCount <int>, user_id <int>, user_status <chr>, user_type <chr>,
# user_flags <int>, user_username <chr>, user_roles <chr>,
# user_providerId <chr>, user_providerUserId <chr>, user_displayName <chr>,
# user_commentCount <int>
# A tibble: 4,406 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,396 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,406 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,396 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,406 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,396 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,406 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,396 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,406 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,396 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,406 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,396 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,406 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,396 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,406 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,396 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,406 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,396 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,406 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,396 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test-getComment.R:5:3): get one comment work ─────────────────────────
Error: $ operator is invalid for atomic vectors
Backtrace:
█
1. └─DNH4::getComment(tar) test-getComment.R:5:2
2. └─DNH4:::getCommentData(...)
3. └─DNH4:::CommentListtoDf(dat)
4. ├─base::unlist(lapply(dat, function(x) x$icon))
5. └─base::lapply(dat, function(x) x$icon)
6. └─DNH4:::FUN(X[[i]], ...)
── Error (test-getComment.R:12:3): get zero comment work ───────────────────────
Error: $ operator is invalid for atomic vectors
Backtrace:
█
1. └─DNH4::getComment(tar) test-getComment.R:12:2
2. └─DNH4:::getCommentData(...)
3. └─DNH4:::CommentListtoDf(dat)
4. ├─base::unlist(lapply(dat, function(x) x$icon))
5. └─base::lapply(dat, function(x) x$icon)
6. └─DNH4:::FUN(X[[i]], ...)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 12 ]
Error: Test failures
Execution halted
Flavor: r-patched-solaris-x86
Version: 0.1.11
Check: tests
Result: ERROR
Running ‘testthat.R’ [70s/396s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(DNH4)
>
> test_check("DNH4")
# A tibble: 10 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 251050030 31478325 -99 0 COMMENT S 256 0 "당신… 2018-05-…
2 251060481 31478325 -99 0 COMMENT S 256 0 "철수… 2018-05-…
3 251051431 31478325 -99 0 COMMENT S 0 0 "에휴\… 2018-05-…
4 251060632 31478325 -99 0 COMMENT S 0 0 "개인… 2018-05-…
5 251059086 31478325 -99 0 COMMENT S 256 0 "홍준… 2018-05-…
6 251054515 31478325 -99 0 COMMENT S 0 0 "그 말… 2018-05-…
7 251051591 31478325 -99 0 COMMENT S 256 0 "야당… 2018-05-…
8 251051828 31478325 -99 0 COMMENT S 256 0 "당신… 2018-05-…
9 251050452 31478325 -99 0 COMMENT S 0 0 "축하… 2018-05-…
10 251108796 31478325 -99 0 COMMENT S 256 0 "경제 … 2018-05-…
# … with 14 more variables: updatedAt <chr>, childCount <int>, likeCount <int>,
# dislikeCount <int>, user_id <int>, user_status <chr>, user_type <chr>,
# user_flags <int>, user_username <chr>, user_roles <chr>,
# user_providerId <chr>, user_providerUserId <chr>, user_displayName <chr>,
# user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 × 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM… S 0 0 "박근… 2020-05-…
2 529347948 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
3 529345683 144305965 -99 0 COMM… S 256 0 "민주… 2020-05-…
4 529352142 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
5 529352299 144305965 -99 0 COMM… S 256 0 "사면… 2020-05-…
6 529354333 144305965 -99 0 COMM… S 0 0 "대통… 2020-05-…
7 529351575 144305965 -99 0 COMM… S 0 0 "여보… 2020-05-…
8 529354147 144305965 -99 0 COMM… S 0 0 "사면… 2020-05-…
9 529353416 144305965 -99 0 COMM… S 0 0 "박지… 2020-05-…
10 529351620 144305965 -99 0 COMM… S 0 0 "본인… 2020-05-…
# … with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test-getComment.R:5:3): get one comment work ─────────────────────────
Error: $ operator is invalid for atomic vectors
Backtrace:
█
1. └─DNH4::getComment(tar) test-getComment.R:5:2
2. └─DNH4:::getCommentData(...)
3. └─DNH4:::CommentListtoDf(dat)
4. ├─base::unlist(lapply(dat, function(x) x$icon))
5. └─base::lapply(dat, function(x) x$icon)
6. └─DNH4:::FUN(X[[i]], ...)
── Error (test-getComment.R:12:3): get zero comment work ───────────────────────
Error: $ operator is invalid for atomic vectors
Backtrace:
█
1. └─DNH4::getComment(tar) test-getComment.R:12:2
2. └─DNH4:::getCommentData(...)
3. └─DNH4:::CommentListtoDf(dat)
4. ├─base::unlist(lapply(dat, function(x) x$icon))
5. └─base::lapply(dat, function(x) x$icon)
6. └─DNH4:::FUN(X[[i]], ...)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 12 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.1.11
Check: tests
Result: ERROR
Running 'testthat.R' [345s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(DNH4)
>
> test_check("DNH4")
# A tibble: 10 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 251050030 31478325 -99 0 COMMENT S 256 0 "<U+B2F9><U+C2E0>~ 2018-05-~
2 251060481 31478325 -99 0 COMMENT S 256 0 "<U+CCA0><U+C218>~ 2018-05-~
3 251051431 31478325 -99 0 COMMENT S 0 0 "<U+C5D0><U+D734>\~ 2018-05-~
4 251060632 31478325 -99 0 COMMENT S 0 0 "<U+AC1C><U+C778>~ 2018-05-~
5 251059086 31478325 -99 0 COMMENT S 256 0 "<U+D64D><U+C900>~ 2018-05-~
6 251054515 31478325 -99 0 COMMENT S 0 0 "<U+ADF8> <U+B9D0>~ 2018-05-~
7 251051591 31478325 -99 0 COMMENT S 256 0 "<U+C57C><U+B2F9>~ 2018-05-~
8 251051828 31478325 -99 0 COMMENT S 256 0 "<U+B2F9><U+C2E0>~ 2018-05-~
9 251050452 31478325 -99 0 COMMENT S 0 0 "<U+CD95><U+D558>~ 2018-05-~
10 251108796 31478325 -99 0 COMMENT S 256 0 "<U+ACBD><U+C81C> ~ 2018-05-~
# ... with 14 more variables: updatedAt <chr>, childCount <int>,
# likeCount <int>, dislikeCount <int>, user_id <int>, user_status <chr>,
# user_type <chr>, user_flags <int>, user_username <chr>, user_roles <chr>,
# user_providerId <chr>, user_providerUserId <chr>, user_displayName <chr>,
# user_commentCount <int>
# A tibble: 4,406 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,396 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,406 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,396 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,406 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,396 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,406 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,396 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,406 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,396 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,406 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,396 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,406 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,396 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,406 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,396 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,406 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,396 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,406 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,396 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
== Failed tests ================================================================
-- Error (test-getComment.R:5:3): get one comment work -------------------------
Error: $ operator is invalid for atomic vectors
Backtrace:
x
1. \-DNH4::getComment(tar) test-getComment.R:5:2
2. \-DNH4:::getCommentData(...)
3. \-DNH4:::CommentListtoDf(dat)
4. +-base::unlist(lapply(dat, function(x) x$icon))
5. \-base::lapply(dat, function(x) x$icon)
6. \-DNH4:::FUN(X[[i]], ...)
-- Error (test-getComment.R:12:3): get zero comment work -----------------------
Error: $ operator is invalid for atomic vectors
Backtrace:
x
1. \-DNH4::getComment(tar) test-getComment.R:12:2
2. \-DNH4:::getCommentData(...)
3. \-DNH4:::CommentListtoDf(dat)
4. +-base::unlist(lapply(dat, function(x) x$icon))
5. \-base::lapply(dat, function(x) x$icon)
6. \-DNH4:::FUN(X[[i]], ...)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 12 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-ix86+x86_64
Version: 0.1.11
Check: tests
Result: ERROR
Running 'testthat.R' [315s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(DNH4)
>
> test_check("DNH4")
# A tibble: 10 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 251050030 31478325 -99 0 COMMENT S 256 0 "<U+B2F9><U+C2E0>~ 2018-05-~
2 251060481 31478325 -99 0 COMMENT S 256 0 "<U+CCA0><U+C218>~ 2018-05-~
3 251051431 31478325 -99 0 COMMENT S 0 0 "<U+C5D0><U+D734>\~ 2018-05-~
4 251060632 31478325 -99 0 COMMENT S 0 0 "<U+AC1C><U+C778>~ 2018-05-~
5 251059086 31478325 -99 0 COMMENT S 256 0 "<U+D64D><U+C900>~ 2018-05-~
6 251054515 31478325 -99 0 COMMENT S 0 0 "<U+ADF8> <U+B9D0>~ 2018-05-~
7 251051591 31478325 -99 0 COMMENT S 256 0 "<U+C57C><U+B2F9>~ 2018-05-~
8 251051828 31478325 -99 0 COMMENT S 256 0 "<U+B2F9><U+C2E0>~ 2018-05-~
9 251050452 31478325 -99 0 COMMENT S 0 0 "<U+CD95><U+D558>~ 2018-05-~
10 251108796 31478325 -99 0 COMMENT S 256 0 "<U+ACBD><U+C81C> ~ 2018-05-~
# ... with 14 more variables: updatedAt <chr>, childCount <int>,
# likeCount <int>, dislikeCount <int>, user_id <int>, user_status <chr>,
# user_type <chr>, user_flags <int>, user_username <chr>, user_roles <chr>,
# user_providerId <chr>, user_providerUserId <chr>, user_displayName <chr>,
# user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
# A tibble: 4,404 x 24
id postId forumId parentId type status flags rating content createdAt
<int> <int> <int> <int> <chr> <chr> <int> <int> <chr> <chr>
1 529348107 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+ADFC>~ 2020-05-~
2 529347948 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
3 529345683 144305965 -99 0 COMM~ S 256 0 "<U+BBFC><U+C8FC>~ 2020-05-~
4 529352142 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
5 529352299 144305965 -99 0 COMM~ S 256 0 "<U+C0AC><U+BA74>~ 2020-05-~
6 529354333 144305965 -99 0 COMM~ S 0 0 "<U+B300><U+D1B5>~ 2020-05-~
7 529351575 144305965 -99 0 COMM~ S 0 0 "<U+C5EC><U+BCF4>~ 2020-05-~
8 529354147 144305965 -99 0 COMM~ S 0 0 "<U+C0AC><U+BA74>~ 2020-05-~
9 529353416 144305965 -99 0 COMM~ S 0 0 "<U+BC15><U+C9C0>~ 2020-05-~
10 529351620 144305965 -99 0 COMM~ S 0 0 "<U+BCF8><U+C778>~ 2020-05-~
# ... with 4,394 more rows, and 14 more variables: updatedAt <chr>,
# childCount <int>, likeCount <int>, dislikeCount <int>, user_id <int>,
# user_status <chr>, user_type <chr>, user_flags <int>, user_username <chr>,
# user_roles <chr>, user_providerId <chr>, user_providerUserId <chr>,
# user_displayName <chr>, user_commentCount <int>
== Failed tests ================================================================
-- Error (test-getComment.R:5:3): get one comment work -------------------------
Error: $ operator is invalid for atomic vectors
Backtrace:
x
1. \-DNH4::getComment(tar) test-getComment.R:5:2
2. \-DNH4:::getCommentData(...)
3. \-DNH4:::CommentListtoDf(dat)
4. +-base::unlist(lapply(dat, function(x) x$icon))
5. \-base::lapply(dat, function(x) x$icon)
6. \-DNH4:::FUN(X[[i]], ...)
-- Error (test-getComment.R:12:3): get zero comment work -----------------------
Error: $ operator is invalid for atomic vectors
Backtrace:
x
1. \-DNH4::getComment(tar) test-getComment.R:12:2
2. \-DNH4:::getCommentData(...)
3. \-DNH4:::CommentListtoDf(dat)
4. +-base::unlist(lapply(dat, function(x) x$icon))
5. \-base::lapply(dat, function(x) x$icon)
6. \-DNH4:::FUN(X[[i]], ...)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 12 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-ix86+x86_64