Skip to content

Commit

Permalink
Merge pull request #71 from mrchypark/70-cran-issue
Browse files Browse the repository at this point in the history
70 cran issue
  • Loading branch information
mrchypark authored Aug 12, 2022
2 parents 3fa7dec + b2561cd commit 98a8f63
Show file tree
Hide file tree
Showing 12 changed files with 522 additions and 172 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/render-rmarkdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
6 changes: 3 additions & 3 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 0.2.3
Date: 2022-04-19 02:51:10 UTC
SHA: 7f6395d220941e9e748429318667ba87193a50de
Version: 0.2.5
Date: 2022-08-12 15:08:46 UTC
SHA: d360a72624c4dc17431551ff6b245b4148b87fc3
12 changes: 6 additions & 6 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
Package: elbird
Title: Blazing Fast Morphological Analyzer Based on Kiwi(Korean Intelligent Word Identifier)
Version: 0.2.3
Version: 0.2.5
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
unregistered nouns based on frequency.
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
Expand Down
8 changes: 8 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# elbird 0.2.5

* Fix url on readme for cran.

# elbird 0.2.4

* Rebuild document with roxygen2 7.2.1

# elbird 0.2.3

* Fix cran test fail.
Expand Down
10 changes: 5 additions & 5 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ options(crayon.enabled = NULL)
<!-- badges: start -->
[![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)
<!-- badges: end -->

Expand Down Expand Up @@ -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) %>%
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
<!-- badges: end -->
Expand Down Expand Up @@ -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) %>%
Expand Down Expand Up @@ -149,7 +149,7 @@ tar %>%
output = word,
token = tokenize_tidy
)
#> # A tibble: 2,119 × 2
#> # A tibble: 2,117 × 2
#> paragraph word
#> <int> <chr>
#> 1 1 존경/nng
Expand All @@ -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
Expand Down Expand Up @@ -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.

| 대분류 | 태그 | 설명 |
|:--------------------------|:----------|:------------------------------------------------------------|
Expand Down
10 changes: 9 additions & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,12 @@

0 errors | 0 warnings | 1 note

* Fix cran test fail on 0.2.2
* 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.
1 change: 1 addition & 0 deletions elbird.Rproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ LineEndingConversion: Posix
BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source
PackageCheckArgs: --as-cran
PackageRoxygenize: rd,collate,namespace
72 changes: 36 additions & 36 deletions man/Kiwi.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 98a8f63

Please sign in to comment.