From 99ce6100767f2a09b813dbb02086175c726cc0cf Mon Sep 17 00:00:00 2001 From: chanyub Park Date: Fri, 12 Aug 2022 22:39:01 +0900 Subject: [PATCH 1/6] Increment version number to 0.2.4 --- DESCRIPTION | 4 ++-- NEWS.md | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index ced9d2b..fe8ab83 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: elbird Title: Blazing Fast Morphological Analyzer Based on Kiwi(Korean Intelligent Word Identifier) -Version: 0.2.3 +Version: 0.2.4 Authors@R: person(given = "Chanyub", family = "Park", role = c("aut","cre"), @@ -13,7 +13,7 @@ Description: This is the R wrapper package Kiwi(Korean Intelligent Word Identifi License: LGPL (>= 3) Encoding: UTF-8 Roxygen: list(markdown = TRUE) -RoxygenNote: 7.1.2 +RoxygenNote: 7.2.1 URL: https://github.com/mrchypark/elbird/ BugReports: https://github.com/mrchypark/elbird/issues SystemRequirements: A valid Kiwi installation. Dynamic library is diff --git a/NEWS.md b/NEWS.md index 1e584c4..350763c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,5 @@ +# elbird 0.2.4 + # elbird 0.2.3 * Fix cran test fail. From 34ea33a19718e870a5a6c82e0d4cc2601edf07bb Mon Sep 17 00:00:00 2001 From: chanyub Park Date: Fri, 12 Aug 2022 23:33:54 +0900 Subject: [PATCH 2/6] submit on cran --- CRAN-SUBMISSION | 6 +- DESCRIPTION | 8 +- NEWS.md | 2 + cran-comments.md | 2 +- elbird.Rproj | 1 + man/Kiwi.Rd | 72 +++--- man/Stopwords.Rd | 48 ++-- man/elbird-package.Rd | 2 +- renv.lock | 505 ++++++++++++++++++++++++++++++++++-------- 9 files changed, 490 insertions(+), 156 deletions(-) diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION index 45ae0fe..c3972b6 100644 --- a/CRAN-SUBMISSION +++ b/CRAN-SUBMISSION @@ -1,3 +1,3 @@ -Version: 0.2.3 -Date: 2022-04-19 02:51:10 UTC -SHA: 7f6395d220941e9e748429318667ba87193a50de +Version: 0.2.4 +Date: 2022-08-12 14:33:33 UTC +SHA: 99ce6100767f2a09b813dbb02086175c726cc0cf diff --git a/DESCRIPTION b/DESCRIPTION index fe8ab83..0240ae8 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,10 +2,10 @@ Package: elbird Title: Blazing Fast Morphological Analyzer Based on Kiwi(Korean Intelligent Word Identifier) Version: 0.2.4 Authors@R: person(given = "Chanyub", - family = "Park", - role = c("aut","cre"), - email = "mrchypark@gmail.com", - comment = c(ORCID = "0000-0001-6474-2570")) + family = "Park", + role = c("aut","cre"), + email = "mrchypark@gmail.com", + comment = c(ORCID = "0000-0001-6474-2570")) Description: This is the R wrapper package Kiwi(Korean Intelligent Word Identifier), a blazing fast speed morphological analyzer for Korean. It supports configuration of user dictionary and detection of diff --git a/NEWS.md b/NEWS.md index 350763c..3f3a3fc 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,7 @@ # elbird 0.2.4 +* Rebuild document with roxygen2 7.2.1 + # elbird 0.2.3 * Fix cran test fail. diff --git a/cran-comments.md b/cran-comments.md index d3cf36f..3f2752f 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -2,4 +2,4 @@ 0 errors | 0 warnings | 1 note -* Fix cran test fail on 0.2.2 +* Rebuild document with roxygen2 7.2.1 diff --git a/elbird.Rproj b/elbird.Rproj index 69fafd4..c6325b2 100644 --- a/elbird.Rproj +++ b/elbird.Rproj @@ -19,4 +19,5 @@ LineEndingConversion: Posix BuildType: Package PackageUseDevtools: Yes PackageInstallArgs: --no-multiarch --with-keep.source +PackageCheckArgs: --as-cran PackageRoxygenize: rd,collate,namespace diff --git a/man/Kiwi.Rd b/man/Kiwi.Rd index 0061a77..974e9df 100644 --- a/man/Kiwi.Rd +++ b/man/Kiwi.Rd @@ -26,23 +26,23 @@ Kiwi class is provide method for korean mophological analyze result. \section{Methods}{ \subsection{Public methods}{ \itemize{ -\item \href{#method-print}{\code{Kiwi$print()}} -\item \href{#method-new}{\code{Kiwi$new()}} -\item \href{#method-add_user_word}{\code{Kiwi$add_user_word()}} -\item \href{#method-add_pre_analyzed_words}{\code{Kiwi$add_pre_analyzed_words()}} -\item \href{#method-add_rules}{\code{Kiwi$add_rules()}} -\item \href{#method-load_user_dictionarys}{\code{Kiwi$load_user_dictionarys()}} -\item \href{#method-extract_words}{\code{Kiwi$extract_words()}} -\item \href{#method-analyze}{\code{Kiwi$analyze()}} -\item \href{#method-tokenize}{\code{Kiwi$tokenize()}} -\item \href{#method-split_into_sents}{\code{Kiwi$split_into_sents()}} -\item \href{#method-get_tidytext_func}{\code{Kiwi$get_tidytext_func()}} -\item \href{#method-clone}{\code{Kiwi$clone()}} +\item \href{#method-Kiwi-print}{\code{Kiwi$print()}} +\item \href{#method-Kiwi-new}{\code{Kiwi$new()}} +\item \href{#method-Kiwi-add_user_word}{\code{Kiwi$add_user_word()}} +\item \href{#method-Kiwi-add_pre_analyzed_words}{\code{Kiwi$add_pre_analyzed_words()}} +\item \href{#method-Kiwi-add_rules}{\code{Kiwi$add_rules()}} +\item \href{#method-Kiwi-load_user_dictionarys}{\code{Kiwi$load_user_dictionarys()}} +\item \href{#method-Kiwi-extract_words}{\code{Kiwi$extract_words()}} +\item \href{#method-Kiwi-analyze}{\code{Kiwi$analyze()}} +\item \href{#method-Kiwi-tokenize}{\code{Kiwi$tokenize()}} +\item \href{#method-Kiwi-split_into_sents}{\code{Kiwi$split_into_sents()}} +\item \href{#method-Kiwi-get_tidytext_func}{\code{Kiwi$get_tidytext_func()}} +\item \href{#method-Kiwi-clone}{\code{Kiwi$clone()}} } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-print}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Kiwi-print}{}}} \subsection{Method \code{print()}}{ print method for \code{Kiwi} objects \subsection{Usage}{ @@ -60,8 +60,8 @@ print method for \code{Kiwi} objects } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-new}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Kiwi-new}{}}} \subsection{Method \code{new()}}{ Create a kiwi instance. \subsection{Usage}{ @@ -88,8 +88,8 @@ Create a kiwi instance. } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-add_user_word}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Kiwi-add_user_word}{}}} \subsection{Method \code{add_user_word()}}{ add user word with pos and score \subsection{Usage}{ @@ -111,8 +111,8 @@ add user word with pos and score } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-add_pre_analyzed_words}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Kiwi-add_pre_analyzed_words}{}}} \subsection{Method \code{add_pre_analyzed_words()}}{ TODO \subsection{Usage}{ @@ -132,8 +132,8 @@ TODO } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-add_rules}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Kiwi-add_rules}{}}} \subsection{Method \code{add_rules()}}{ TODO \subsection{Usage}{ @@ -155,8 +155,8 @@ TODO } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-load_user_dictionarys}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Kiwi-load_user_dictionarys}{}}} \subsection{Method \code{load_user_dictionarys()}}{ add user dictionary using text file. \subsection{Usage}{ @@ -172,8 +172,8 @@ add user dictionary using text file. } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-extract_words}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Kiwi-extract_words}{}}} \subsection{Method \code{extract_words()}}{ Extract Noun word candidate from texts. \subsection{Usage}{ @@ -206,8 +206,8 @@ Extract Noun word candidate from texts. } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-analyze}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Kiwi-analyze}{}}} \subsection{Method \code{analyze()}}{ Analyze text to token and tag results. \subsection{Usage}{ @@ -236,8 +236,8 @@ If not valid value, work same as FALSE.} } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-tokenize}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Kiwi-tokenize}{}}} \subsection{Method \code{tokenize()}}{ Analyze text to token and pos result just top 1. \subsection{Usage}{ @@ -269,8 +269,8 @@ If not valid value, work same as FALSE.} } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-split_into_sents}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Kiwi-split_into_sents}{}}} \subsection{Method \code{split_into_sents()}}{ Some text may not split sentence by sentence. split_into_sents works split sentences to sentence by sentence. @@ -291,8 +291,8 @@ split_into_sents works split sentences to sentence by sentence. } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-get_tidytext_func}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Kiwi-get_tidytext_func}{}}} \subsection{Method \code{get_tidytext_func()}}{ set function to tidytext unnest_tokens. \subsection{Usage}{ @@ -330,8 +330,8 @@ If not valid value, work same as FALSE.} } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-clone}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Kiwi-clone}{}}} \subsection{Method \code{clone()}}{ The objects of this class are cloneable with this method. \subsection{Usage}{ diff --git a/man/Stopwords.Rd b/man/Stopwords.Rd index 4d9372c..0a74c1e 100644 --- a/man/Stopwords.Rd +++ b/man/Stopwords.Rd @@ -24,19 +24,19 @@ Stopwords is for filter result. \section{Methods}{ \subsection{Public methods}{ \itemize{ -\item \href{#method-print}{\code{Stopwords$print()}} -\item \href{#method-new}{\code{Stopwords$new()}} -\item \href{#method-add}{\code{Stopwords$add()}} -\item \href{#method-add_from_dict}{\code{Stopwords$add_from_dict()}} -\item \href{#method-remove}{\code{Stopwords$remove()}} -\item \href{#method-save_dict}{\code{Stopwords$save_dict()}} -\item \href{#method-get}{\code{Stopwords$get()}} -\item \href{#method-clone}{\code{Stopwords$clone()}} +\item \href{#method-Stopwords-print}{\code{Stopwords$print()}} +\item \href{#method-Stopwords-new}{\code{Stopwords$new()}} +\item \href{#method-Stopwords-add}{\code{Stopwords$add()}} +\item \href{#method-Stopwords-add_from_dict}{\code{Stopwords$add_from_dict()}} +\item \href{#method-Stopwords-remove}{\code{Stopwords$remove()}} +\item \href{#method-Stopwords-save_dict}{\code{Stopwords$save_dict()}} +\item \href{#method-Stopwords-get}{\code{Stopwords$get()}} +\item \href{#method-Stopwords-clone}{\code{Stopwords$clone()}} } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-print}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Stopwords-print}{}}} \subsection{Method \code{print()}}{ print method for \code{Stopwords} objects \subsection{Usage}{ @@ -54,8 +54,8 @@ print method for \code{Stopwords} objects } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-new}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Stopwords-new}{}}} \subsection{Method \code{new()}}{ Create a stopwords object for filter stopwords on \code{\link[=analyze]{analyze()}} and \code{\link[=tokenize]{tokenize()}} results. \subsection{Usage}{ @@ -72,8 +72,8 @@ Defualt is TRUE.} } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-add}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Stopwords-add}{}}} \subsection{Method \code{add()}}{ add stopword one at a time. \subsection{Usage}{ @@ -103,8 +103,8 @@ add stopword one at a time. } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-add_from_dict}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Stopwords-add_from_dict}{}}} \subsection{Method \code{add_from_dict()}}{ add stopword from text file. text file need to form "TEXT/TAG". @@ -125,8 +125,8 @@ TAG required like "FORM/NNP". } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-remove}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Stopwords-remove}{}}} \subsection{Method \code{remove()}}{ remove stopword one at a time. \subsection{Usage}{ @@ -144,8 +144,8 @@ remove stopword one at a time. } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-save_dict}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Stopwords-save_dict}{}}} \subsection{Method \code{save_dict()}}{ save current stopwords list in text file. \subsection{Usage}{ @@ -161,8 +161,8 @@ save current stopwords list in text file. } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-get}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Stopwords-get}{}}} \subsection{Method \code{get()}}{ return tibble of stopwords. \subsection{Usage}{ @@ -175,8 +175,8 @@ for \code{\link[=analyze]{analyze()}} / \code{\link[=tokenize]{tokenize()}} func } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-clone}{}}} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Stopwords-clone}{}}} \subsection{Method \code{clone()}}{ The objects of this class are cloneable with this method. \subsection{Usage}{ diff --git a/man/elbird-package.Rd b/man/elbird-package.Rd index 71d2b49..97e1ec7 100644 --- a/man/elbird-package.Rd +++ b/man/elbird-package.Rd @@ -6,7 +6,7 @@ \alias{elbird-package} \title{elbird: Blazing Fast Morphological Analyzer Based on Kiwi(Korean Intelligent Word Identifier)} \description{ -\if{html}{\figure{logo.png}{options: align='right' alt='logo' width='120'}} +\if{html}{\figure{logo.png}{options: style='float: right' alt='logo' width='120'}} This is the R wrapper package Kiwi(Korean Intelligent Word Identifier), a blazing fast speed morphological analyzer for Korean. It supports configuration of user dictionary and detection of unregistered nouns based on frequency. } diff --git a/renv.lock b/renv.lock index ef1e08b..ab3b9de 100644 --- a/renv.lock +++ b/renv.lock @@ -1,6 +1,6 @@ { "R": { - "Version": "4.1.3", + "Version": "4.2.1", "Repositories": [ { "Name": "CRAN", @@ -23,7 +23,9 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "699c47c606293bdfbc9fd78a93c9c8fe", - "Requirements": [] + "Requirements": [ + "lattice" + ] }, "R6": { "Package": "R6", @@ -63,7 +65,9 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "e8a22846fff485f0be3770c2da758713", - "Requirements": [] + "Requirements": [ + "sys" + ] }, "base64enc": { "Package": "base64enc", @@ -87,7 +91,9 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "9fe98599ca456d6552421db0d6772d8f", - "Requirements": [] + "Requirements": [ + "bit" + ] }, "brio": { "Package": "brio", @@ -103,7 +109,13 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "56ae7e1987b340186a8a5a157c2ec358", - "Requirements": [] + "Requirements": [ + "htmltools", + "jquerylib", + "jsonlite", + "rlang", + "sass" + ] }, "cachem": { "Package": "cachem", @@ -111,7 +123,10 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "648c5b3d71e6a37e3043617489a0a0e9", - "Requirements": [] + "Requirements": [ + "fastmap", + "rlang" + ] }, "callr": { "Package": "callr", @@ -119,15 +134,20 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "461aa75a11ce2400245190ef5d3995df", - "Requirements": [] + "Requirements": [ + "R6", + "processx" + ] }, "cli": { "Package": "cli", - "Version": "3.2.0", + "Version": "3.3.0", "Source": "Repository", "Repository": "CRAN", - "Hash": "1bdb126893e9ce6aae50ad1d6fc32faf", - "Requirements": [] + "Hash": "23abf173c2b783dcc43379ab9bba00ee", + "Requirements": [ + "glue" + ] }, "colorspace": { "Package": "colorspace", @@ -143,7 +163,15 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "6d80a9fc3c0c8473153b54fa54719dfd", - "Requirements": [] + "Requirements": [ + "crayon", + "digest", + "httr", + "jsonlite", + "rex", + "withr", + "yaml" + ] }, "cpp11": { "Package": "cpp11", @@ -175,7 +203,11 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "eebd27ee58fcc58714eedb7aa07d8ad1", - "Requirements": [] + "Requirements": [ + "R6", + "cli", + "rprojroot" + ] }, "diffobj": { "Package": "diffobj", @@ -183,7 +215,9 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "bcaa8b95f8d7d01a5dedfd959ce88ab8", - "Requirements": [] + "Requirements": [ + "crayon" + ] }, "digest": { "Package": "digest", @@ -199,7 +233,17 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "ba63dc9ab5a31f3209892437e40c5f60", - "Requirements": [] + "Requirements": [ + "brio", + "desc", + "digest", + "evaluate", + "fansi", + "memoise", + "rlang", + "vctrs", + "yaml" + ] }, "dplyr": { "Package": "dplyr", @@ -207,7 +251,18 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "ef47665e64228a17609d6df877bf86f2", - "Requirements": [] + "Requirements": [ + "R6", + "generics", + "glue", + "lifecycle", + "magrittr", + "pillar", + "rlang", + "tibble", + "tidyselect", + "vctrs" + ] }, "ellipsis": { "Package": "ellipsis", @@ -215,7 +270,9 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "bb0eec2fe32e88d9e2836c2f73ea2077", - "Requirements": [] + "Requirements": [ + "rlang" + ] }, "evaluate": { "Package": "evaluate", @@ -271,7 +328,10 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "ec2bf075e5bd353fa502992a0f5f5f03", - "Requirements": [] + "Requirements": [ + "ggplot2", + "rlang" + ] }, "ggimage": { "Package": "ggimage", @@ -279,7 +339,15 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "cbec9d28a6bb957f0b4c8f8db04fb077", - "Requirements": [] + "Requirements": [ + "ggfun", + "ggplot2", + "ggplotify", + "jsonlite", + "magick", + "scales", + "tibble" + ] }, "ggplot2": { "Package": "ggplot2", @@ -287,7 +355,18 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "d7566c471c7b17e095dd023b9ef155ad", - "Requirements": [] + "Requirements": [ + "MASS", + "digest", + "glue", + "gtable", + "isoband", + "mgcv", + "rlang", + "scales", + "tibble", + "withr" + ] }, "ggplotify": { "Package": "ggplotify", @@ -295,7 +374,11 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "acbcedf783cdb8710168aa0edba42ac0", - "Requirements": [] + "Requirements": [ + "ggplot2", + "gridGraphics", + "yulab.utils" + ] }, "glue": { "Package": "glue", @@ -327,7 +410,13 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "c624f6eb9e15082a672b5e6277257567", - "Requirements": [] + "Requirements": [ + "ggimage", + "ggplot2", + "hexbin", + "showtext", + "sysfonts" + ] }, "hexbin": { "Package": "hexbin", @@ -335,7 +424,9 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "76314b69dc54f8c14204063a2fd6d74a", - "Requirements": [] + "Requirements": [ + "lattice" + ] }, "highr": { "Package": "highr", @@ -343,7 +434,9 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "8eb36c8125038e648e5d111c0d7b2ed4", - "Requirements": [] + "Requirements": [ + "xfun" + ] }, "hms": { "Package": "hms", @@ -351,7 +444,13 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "5b8a2dd0fdbe2ab4f6081e6c7be6dfca", - "Requirements": [] + "Requirements": [ + "ellipsis", + "lifecycle", + "pkgconfig", + "rlang", + "vctrs" + ] }, "htmltools": { "Package": "htmltools", @@ -359,7 +458,12 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "526c484233f42522278ab06fb185cb26", - "Requirements": [] + "Requirements": [ + "base64enc", + "digest", + "fastmap", + "rlang" + ] }, "httr": { "Package": "httr", @@ -367,7 +471,13 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "a525aba14184fec243f9eaec62fbed43", - "Requirements": [] + "Requirements": [ + "R6", + "curl", + "jsonlite", + "mime", + "openssl" + ] }, "hunspell": { "Package": "hunspell", @@ -375,7 +485,10 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "3987784c19192ad0f2261c456d936df1", - "Requirements": [] + "Requirements": [ + "Rcpp", + "digest" + ] }, "isoband": { "Package": "isoband", @@ -399,7 +512,9 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "5aab57a3bd297eee1c1d862735972182", - "Requirements": [] + "Requirements": [ + "htmltools" + ] }, "jsonlite": { "Package": "jsonlite", @@ -415,7 +530,13 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "10b3dc3c6acb925910edda5d0543b3a2", - "Requirements": [] + "Requirements": [ + "evaluate", + "highr", + "stringr", + "xfun", + "yaml" + ] }, "labeling": { "Package": "labeling", @@ -447,7 +568,10 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "a6b6d352e3ed897373ab19d8395c98d0", - "Requirements": [] + "Requirements": [ + "glue", + "rlang" + ] }, "magick": { "Package": "magick", @@ -455,7 +579,11 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "56fbad418aa50939ed8c3028126af8d7", - "Requirements": [] + "Requirements": [ + "Rcpp", + "curl", + "magrittr" + ] }, "magrittr": { "Package": "magrittr", @@ -471,7 +599,9 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "b1499d3eba437dba5dcd495bfe2566e6", - "Requirements": [] + "Requirements": [ + "rlang" + ] }, "memoise": { "Package": "memoise", @@ -479,7 +609,10 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "e2817ccf4a065c5d9d7f2cfbe7c1d78c", - "Requirements": [] + "Requirements": [ + "cachem", + "rlang" + ] }, "mgcv": { "Package": "mgcv", @@ -487,7 +620,10 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "c6b2fdb18cf68ab613bd564363e1ba0d", - "Requirements": [] + "Requirements": [ + "Matrix", + "nlme" + ] }, "mime": { "Package": "mime", @@ -503,7 +639,9 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "6dfe8bf774944bd5595785e3229d8771", - "Requirements": [] + "Requirements": [ + "colorspace" + ] }, "nlme": { "Package": "nlme", @@ -511,7 +649,9 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "dbca60742be0c9eddc5205e5c7ca1f44", - "Requirements": [] + "Requirements": [ + "lattice" + ] }, "openssl": { "Package": "openssl", @@ -519,7 +659,9 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "cf4329aac12c2c44089974559c18e446", - "Requirements": [] + "Requirements": [ + "askpass" + ] }, "pillar": { "Package": "pillar", @@ -527,7 +669,17 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "51dfc97e1b7069e9f7e6f83f3589c22e", - "Requirements": [] + "Requirements": [ + "cli", + "crayon", + "ellipsis", + "fansi", + "glue", + "lifecycle", + "rlang", + "utf8", + "vctrs" + ] }, "pkgconfig": { "Package": "pkgconfig", @@ -539,19 +691,49 @@ }, "pkgdown": { "Package": "pkgdown", - "Version": "2.0.2", - "Source": "Repository", - "Repository": "CRAN", - "Hash": "1ef66f10b752bb5f17e33fe9fa861005", - "Requirements": [] + "Version": "2.0.6", + "Source": "Repository", + "Repository": "CRAN", + "Hash": "f958d0b2a5dabc5ffd414f062b1ffbe7", + "Requirements": [ + "bslib", + "callr", + "cli", + "desc", + "digest", + "downlit", + "fs", + "httr", + "jsonlite", + "magrittr", + "memoise", + "purrr", + "ragg", + "rlang", + "rmarkdown", + "tibble", + "whisker", + "withr", + "xml2", + "yaml" + ] }, "pkgload": { "Package": "pkgload", - "Version": "1.2.4", + "Version": "1.3.0", "Source": "Repository", "Repository": "CRAN", - "Hash": "7533cd805940821bf23eaf3c8d4c1735", - "Requirements": [] + "Hash": "4b20f937a363c78a5730265c1925f54a", + "Requirements": [ + "cli", + "crayon", + "desc", + "fs", + "glue", + "rlang", + "rprojroot", + "withr" + ] }, "praise": { "Package": "praise", @@ -570,7 +752,11 @@ "RemoteRef": "HEAD", "RemoteSha": "cf97edac55550464fb0790989322ae8497696093", "Hash": "3443beddbf371891d7be6dc296b288c2", - "Requirements": [] + "Requirements": [ + "httr", + "rvest", + "tibble" + ] }, "prettyunits": { "Package": "prettyunits", @@ -586,7 +772,10 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "8bbae1a548d0d3fdf6647bdd9d35bf6d", - "Requirements": [] + "Requirements": [ + "R6", + "ps" + ] }, "progress": { "Package": "progress", @@ -594,7 +783,12 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "14dc9f7a3c91ebb14ec5bb9208a07061", - "Requirements": [] + "Requirements": [ + "R6", + "crayon", + "hms", + "prettyunits" + ] }, "ps": { "Package": "ps", @@ -610,7 +804,10 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "97def703420c8ab10d8f0e6c72101e02", - "Requirements": [] + "Requirements": [ + "magrittr", + "rlang" + ] }, "ragg": { "Package": "ragg", @@ -618,7 +815,10 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "14932bb6f2739c771ca4ceaba6b4248e", - "Requirements": [] + "Requirements": [ + "systemfonts", + "textshaping" + ] }, "rappdirs": { "Package": "rappdirs", @@ -634,7 +834,9 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "76c9e04c712a05848ae7a23d2f170a40", - "Requirements": [] + "Requirements": [ + "tibble" + ] }, "renv": { "Package": "renv", @@ -650,14 +852,16 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "ae34cd56890607370665bee5bd17812f", - "Requirements": [] + "Requirements": [ + "lazyeval" + ] }, "rlang": { "Package": "rlang", - "Version": "1.0.2", + "Version": "1.0.4", "Source": "Repository", "Repository": "CRAN", - "Hash": "04884d9a75d778aca22c7154b8333ec9", + "Hash": "6539dd8c651e67e3b55b5ffea106362b", "Requirements": [] }, "rmarkdown": { @@ -666,7 +870,18 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "ac78f4d2e0289d4cba73b88af567b8b1", - "Requirements": [] + "Requirements": [ + "bslib", + "evaluate", + "htmltools", + "jquerylib", + "jsonlite", + "knitr", + "stringr", + "tinytex", + "xfun", + "yaml" + ] }, "rprojroot": { "Package": "rprojroot", @@ -676,21 +891,21 @@ "Hash": "1de7ab598047a87bba48434ba35d497d", "Requirements": [] }, - "rstudioapi": { - "Package": "rstudioapi", - "Version": "0.13", - "Source": "Repository", - "Repository": "CRAN", - "Hash": "06c85365a03fdaf699966cc1d3cf53ea", - "Requirements": [] - }, "rvest": { "Package": "rvest", "Version": "1.0.2", "Source": "Repository", "Repository": "CRAN", "Hash": "bb099886deffecd6f9b298b7d4492943", - "Requirements": [] + "Requirements": [ + "httr", + "lifecycle", + "magrittr", + "rlang", + "selectr", + "tibble", + "xml2" + ] }, "sass": { "Package": "sass", @@ -698,7 +913,13 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "f37c0028d720bab3c513fd65d28c7234", - "Requirements": [] + "Requirements": [ + "R6", + "fs", + "htmltools", + "rappdirs", + "rlang" + ] }, "scales": { "Package": "scales", @@ -706,7 +927,15 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "6f76f71042411426ec8df6c54f34e6dd", - "Requirements": [] + "Requirements": [ + "R6", + "RColorBrewer", + "farver", + "labeling", + "lifecycle", + "munsell", + "viridisLite" + ] }, "selectr": { "Package": "selectr", @@ -714,7 +943,10 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "3838071b66e0c566d55cc26bd6e27bf4", - "Requirements": [] + "Requirements": [ + "R6", + "stringr" + ] }, "showtext": { "Package": "showtext", @@ -722,7 +954,10 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "b588dee88e238bf811e27f12edee9433", - "Requirements": [] + "Requirements": [ + "showtextdb", + "sysfonts" + ] }, "showtextdb": { "Package": "showtextdb", @@ -730,7 +965,9 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "c12e756cf947e58b0f2c2a520521a5a8", - "Requirements": [] + "Requirements": [ + "sysfonts" + ] }, "stringi": { "Package": "stringi", @@ -746,7 +983,11 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "0759e6b6c0957edb1311028a49a35e76", - "Requirements": [] + "Requirements": [ + "glue", + "magrittr", + "stringi" + ] }, "sys": { "Package": "sys", @@ -770,15 +1011,37 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "90b28393209827327de889f49935140a", - "Requirements": [] + "Requirements": [ + "cpp11" + ] }, "testthat": { "Package": "testthat", - "Version": "3.1.3", - "Source": "Repository", - "Repository": "CRAN", - "Hash": "affcf9db2c99dd2c7e6459ef55ed3385", - "Requirements": [] + "Version": "3.1.4", + "Source": "Repository", + "Repository": "CRAN", + "Hash": "f76c2a02d0fdc24aa7a47ea34261a6e3", + "Requirements": [ + "R6", + "brio", + "callr", + "cli", + "crayon", + "desc", + "digest", + "ellipsis", + "evaluate", + "jsonlite", + "lifecycle", + "magrittr", + "pkgload", + "praise", + "processx", + "ps", + "rlang", + "waldo", + "withr" + ] }, "textshaping": { "Package": "textshaping", @@ -786,7 +1049,10 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "1ab6223d3670fac7143202cb6a2d43d5", - "Requirements": [] + "Requirements": [ + "cpp11", + "systemfonts" + ] }, "tibble": { "Package": "tibble", @@ -794,7 +1060,16 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "8a8f02d1934dfd6431c671361510dd0b", - "Requirements": [] + "Requirements": [ + "ellipsis", + "fansi", + "lifecycle", + "magrittr", + "pillar", + "pkgconfig", + "rlang", + "vctrs" + ] }, "tidyselect": { "Package": "tidyselect", @@ -802,13 +1077,34 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "17f6da8cfd7002760a859915ce7eef8f", - "Requirements": [] + "Requirements": [ + "ellipsis", + "glue", + "purrr", + "rlang", + "vctrs" + ] }, "tidytext": { "Package": "tidytext", "Version": "0.3.2", "Source": "Repository", - "Requirements": [] + "Repository": "CRAN", + "Hash": "586ffb833b347003334465682edda644", + "Requirements": [ + "Matrix", + "dplyr", + "generics", + "hunspell", + "janeaustenr", + "lifecycle", + "purrr", + "rlang", + "stringr", + "tibble", + "tokenizers", + "vctrs" + ] }, "tinytex": { "Package": "tinytex", @@ -816,7 +1112,9 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "759d047596ac173433985deddf313450", - "Requirements": [] + "Requirements": [ + "xfun" + ] }, "tokenizers": { "Package": "tokenizers", @@ -824,7 +1122,11 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "a064f646b3a692e62dfb5d9ea690a4ea", - "Requirements": [] + "Requirements": [ + "Rcpp", + "SnowballC", + "stringi" + ] }, "tzdb": { "Package": "tzdb", @@ -832,7 +1134,9 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "b2e1cbce7c903eaf23ec05c58e59fb5e", - "Requirements": [] + "Requirements": [ + "cpp11" + ] }, "utf8": { "Package": "utf8", @@ -848,7 +1152,11 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "8b54f22e2a58c4f275479c92ce041a57", - "Requirements": [] + "Requirements": [ + "cli", + "glue", + "rlang" + ] }, "viridisLite": { "Package": "viridisLite", @@ -864,7 +1172,22 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "976507b5a105bc3bdf6a5a5f29e0684f", - "Requirements": [] + "Requirements": [ + "bit64", + "cli", + "cpp11", + "crayon", + "glue", + "hms", + "lifecycle", + "progress", + "rlang", + "tibble", + "tidyselect", + "tzdb", + "vctrs", + "withr" + ] }, "waldo": { "Package": "waldo", @@ -872,7 +1195,15 @@ "Source": "Repository", "Repository": "CRAN", "Hash": "035fba89d0c86e2113120f93301b98ad", - "Requirements": [] + "Requirements": [ + "cli", + "diffobj", + "fansi", + "glue", + "rematch2", + "rlang", + "tibble" + ] }, "whisker": { "Package": "whisker", From c8091146ac9f20e628e1abd5e22966acf1887cdf Mon Sep 17 00:00:00 2001 From: chanyub Park Date: Sat, 13 Aug 2022 00:06:16 +0900 Subject: [PATCH 3/6] update readme url --- README.Rmd | 10 +++++----- README.md | 16 ++++++++-------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.Rmd b/README.Rmd index b97ddbc..1bb6cf7 100644 --- a/README.Rmd +++ b/README.Rmd @@ -19,11 +19,11 @@ options(crayon.enabled = NULL) [![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental) [![R-CMD-check](https://github.com/mrchypark/elbird/workflows/R-CMD-check/badge.svg)](https://github.com/mrchypark/elbird/actions) -[![CRAN status](https://www.r-pkg.org/badges/version/elbird)](https://CRAN.R-project.org/package=elbird) +[![CRAN status](https://www.r-pkg.org/badges/version/elbird)](https://cran.r-project.org/package=elbird) [![runiverse-name](https://mrchypark.r-universe.dev/badges/:name)](https://mrchypark.r-universe.dev/) [![runiverse-package](https://mrchypark.r-universe.dev/badges/elbird)](https://mrchypark.r-universe.dev/ui#packages) [![metacran downloads](https://cranlogs.r-pkg.org/badges/elbird)](https://cran.r-project.org/package=elbird) -[![Downloads](https://cranlogs.r-pkg.org/badges/grand-total/elbird)](https://cran.rstudio.com/package=elbird) +[![Downloads](https://cranlogs.r-pkg.org/badges/grand-total/elbird)](https://cran.r-project.org/package=elbird) [![Codecov test coverage](https://codecov.io/gh/mrchypark/elbird/branch/main/graph/badge.svg)](https://app.codecov.io/gh/mrchypark/elbird?branch=main) @@ -78,12 +78,12 @@ The `tar` below is the target text for morpheme analysis. ```{r} suppressMessages(library(dplyr)) -# install.packages("presidentSpeech", repos = "https://forkonlp.r-universe.dev/") +# install.packages("komment", repos = "https://forkonlp.r-universe.dev/") library(stringr) library(tidytext) -library(presidentSpeech) +library(komment) -spidx %>% +speech_list %>% filter(president == "이명박") %>% filter(str_detect(title, "취임사")) %>% pull(link) %>% diff --git a/README.md b/README.md index 5c4ed98..a2dc496 100644 --- a/README.md +++ b/README.md @@ -9,12 +9,12 @@ experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental) [![R-CMD-check](https://github.com/mrchypark/elbird/workflows/R-CMD-check/badge.svg)](https://github.com/mrchypark/elbird/actions) [![CRAN -status](https://www.r-pkg.org/badges/version/elbird)](https://CRAN.R-project.org/package=elbird) +status](https://www.r-pkg.org/badges/version/elbird)](https://cran.r-project.org/package=elbird) [![runiverse-name](https://mrchypark.r-universe.dev/badges/:name)](https://mrchypark.r-universe.dev/) [![runiverse-package](https://mrchypark.r-universe.dev/badges/elbird)](https://mrchypark.r-universe.dev/ui#packages) [![metacran downloads](https://cranlogs.r-pkg.org/badges/elbird)](https://cran.r-project.org/package=elbird) -[![Downloads](https://cranlogs.r-pkg.org/badges/grand-total/elbird)](https://cran.rstudio.com/package=elbird) +[![Downloads](https://cranlogs.r-pkg.org/badges/grand-total/elbird)](https://cran.r-project.org/package=elbird) [![Codecov test coverage](https://codecov.io/gh/mrchypark/elbird/branch/main/graph/badge.svg)](https://app.codecov.io/gh/mrchypark/elbird?branch=main) @@ -111,12 +111,12 @@ package. The `tar` below is the target text for morpheme analysis. ``` r suppressMessages(library(dplyr)) -# install.packages("presidentSpeech", repos = "https://forkonlp.r-universe.dev/") +# install.packages("komment", repos = "https://forkonlp.r-universe.dev/") library(stringr) library(tidytext) -library(presidentSpeech) +library(komment) -spidx %>% +speech_list %>% filter(president == "이명박") %>% filter(str_detect(title, "취임사")) %>% pull(link) %>% @@ -149,7 +149,7 @@ tar %>% output = word, token = tokenize_tidy ) -#> # A tibble: 2,119 × 2 +#> # A tibble: 2,117 × 2 #> paragraph word #> #> 1 1 존경/nng @@ -162,7 +162,7 @@ tar %>% #> 8 3 자리/nng #> 9 3 참석/nng #> 10 3 시/ep -#> # … with 2,109 more rows +#> # … with 2,107 more rows ``` ### analyze @@ -1186,7 +1186,7 @@ analyze(c("안녕하세요. kiwi 형태소 분석기의 R wrapper인 elbird를 list](https://github.com/bab2min/kiwipiepy#%ED%92%88%EC%82%AC-%ED%83%9C%EA%B7%B8) that used in [kiwipiepy](https://github.com/bab2min/kiwipiepy) package. -- The table below is fetched at 2022-06-18 15:37:26 Asia/Seoul. +- The table below is fetched at 2022-08-13 00:02:46 Asia/Seoul. | 대분류 | 태그 | 설명 | |:--------------------------|:----------|:------------------------------------------------------------| From d360a72624c4dc17431551ff6b245b4148b87fc3 Mon Sep 17 00:00:00 2001 From: chanyub Park Date: Sat, 13 Aug 2022 00:06:41 +0900 Subject: [PATCH 4/6] Increment version number to 0.2.5 --- DESCRIPTION | 2 +- NEWS.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 0240ae8..886982d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: elbird Title: Blazing Fast Morphological Analyzer Based on Kiwi(Korean Intelligent Word Identifier) -Version: 0.2.4 +Version: 0.2.5 Authors@R: person(given = "Chanyub", family = "Park", role = c("aut","cre"), diff --git a/NEWS.md b/NEWS.md index 3f3a3fc..5382377 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,5 @@ +# elbird 0.2.5 + # elbird 0.2.4 * Rebuild document with roxygen2 7.2.1 From c0944b628060058d5f2bcee1ed9f1345b4259ec9 Mon Sep 17 00:00:00 2001 From: chanyub Park Date: Sat, 13 Aug 2022 00:09:16 +0900 Subject: [PATCH 5/6] fix wrong url --- CRAN-SUBMISSION | 6 +++--- NEWS.md | 2 ++ cran-comments.md | 10 +++++++++- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION index c3972b6..7a39c91 100644 --- a/CRAN-SUBMISSION +++ b/CRAN-SUBMISSION @@ -1,3 +1,3 @@ -Version: 0.2.4 -Date: 2022-08-12 14:33:33 UTC -SHA: 99ce6100767f2a09b813dbb02086175c726cc0cf +Version: 0.2.5 +Date: 2022-08-12 15:08:46 UTC +SHA: d360a72624c4dc17431551ff6b245b4148b87fc3 diff --git a/NEWS.md b/NEWS.md index 5382377..8e9a3f5 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,7 @@ # elbird 0.2.5 +* Fix url on readme for cran. + # elbird 0.2.4 * Rebuild document with roxygen2 7.2.1 diff --git a/cran-comments.md b/cran-comments.md index 3f2752f..1cce415 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -2,4 +2,12 @@ 0 errors | 0 warnings | 1 note -* Rebuild document with roxygen2 7.2.1 +* Fix use wrong url below. + +Found the following (possibly) invalid URLs: + URL: https://cran.rstudio.com/package=elbird + From: README.md + Status: 200 + Message: OK + CRAN URL not in canonical form + Canonical CRAN.R-project.org URLs use https. From b2561cd89a1d19928c10ecf84724c28b5a68d985 Mon Sep 17 00:00:00 2001 From: chanyub Park Date: Sat, 13 Aug 2022 00:37:56 +0900 Subject: [PATCH 6/6] add package for readme --- .github/workflows/render-rmarkdown.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/render-rmarkdown.yaml b/.github/workflows/render-rmarkdown.yaml index a176934..16d99cb 100644 --- a/.github/workflows/render-rmarkdown.yaml +++ b/.github/workflows/render-rmarkdown.yaml @@ -29,7 +29,9 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - extra-packages: local::. + extra-packages: | + local::. + github::forkonlp/komment - name: Render Rmarkdown files run: |