diff --git a/R/api_research.r b/R/api_research.r index fb84be5..5452e5f 100644 --- a/R/api_research.r +++ b/R/api_research.r @@ -4,7 +4,7 @@ #' Research API]'}}{\strong{[Works on: Research API]}} #' #' This is the version of \link{tt_search} that explicitly uses Research API. -#' Use \link{tt_search_hidden} for the unoffcial API version. +#' Use \link{tt_search_hidden} for the unofficial API version. #' #' @param query A query string or object (see \link{query}) #' @param start_date,end_date A start and end date to narrow the search diff --git a/inst/WORDLIST b/inst/WORDLIST index 8c532c9..5501ac3 100644 --- a/inst/WORDLIST +++ b/inst/WORDLIST @@ -15,7 +15,6 @@ com cookiefile json rstats -secUid secuid tidyverse tiktok diff --git a/man/tt_search_api.Rd b/man/tt_search_api.Rd index 977fd86..f0302dd 100644 --- a/man/tt_search_api.Rd +++ b/man/tt_search_api.Rd @@ -68,7 +68,7 @@ A data.frame of parsed TikTok videos Research API]'}}{\strong{[Works on: Research API]}} This is the version of \link{tt_search} that explicitly uses Research API. - Use \link{tt_search_hidden} for the unoffcial API version. + Use \link{tt_search_hidden} for the unofficial API version. } \examples{ \dontrun{ diff --git a/tests/testthat/test-tt_videos.R b/tests/testthat/test-tt_videos.R index 7cd7b4c..5f95a0e 100644 --- a/tests/testthat/test-tt_videos.R +++ b/tests/testthat/test-tt_videos.R @@ -27,6 +27,6 @@ test_that("parse", { ) expect_equal( dim(parse_video('{"__DEFAULT_SCOPE__":{"webapp.video-detail":{"itemInfo":{"itemStruct":{"test":1}}}}}', video_id = 1L)), - c(1L, 19L) + c(1L, 20L) ) })