Skip to content

Commit cf67e46

Browse files
jkclaude
andcommitted
Fix CRAN pre-test: https URLs, remove non-portable -Wno flags on Windows
- Replace http:// with https:// for r-pkg.org, cranlogs.r-pkg.org, and rcpp.org URLs in README.md, README_kr.md, and RcppMeCab-package.r - Fix README_kr.md file URI: use full GitHub URL - Replace individual -Wno-* flags with -w for MeCab source compilation on Windows to avoid non-portable flag WARNING Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a63ea3a commit cf67e46

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

R/RcppMeCab-package.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#' @references
1919
#' \itemize{
2020
#' \item{\href{http://taku910.github.io/mecab/}{MeCab}}
21-
#' \item{\href{http://www.rcpp.org}{Rcpp: Seamless R and C++ Integration}}
21+
#' \item{\href{https://www.rcpp.org/}{Rcpp: Seamless R and C++ Integration}}
2222
#' \item{\href{http://eunjeon.blogspot.com}{Eunjeon project}}
2323
#' }
2424
#'

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
[![License](https://img.shields.io/badge/license-GPL-brightgreen.svg?style=flat)](http://www.gnu.org/licenses/gpl.html)
44
![R](https://img.shields.io/github/r-package/v/junhewk/RcppMeCab)
5-
[![CRAN](http://www.r-pkg.org/badges/version/RcppMeCab)](https://cran.r-project.org/package=RcppMeCab)
6-
[![Downloads](http://cranlogs.r-pkg.org/badges/RcppMeCab?color=brightgreen)](http://www.r-pkg.org/pkg/RcppMeCab)
5+
[![CRAN](https://www.r-pkg.org/badges/version/RcppMeCab)](https://cran.r-project.org/package=RcppMeCab)
6+
[![Downloads](https://cranlogs.r-pkg.org/badges/RcppMeCab?color=brightgreen)](https://www.r-pkg.org/pkg/RcppMeCab)
77
[![R-CMD-check](https://github.com/junhewk/RcppMeCab/actions/workflows/R-CMD-check.yml/badge.svg)](https://github.com/junhewk/RcppMeCab/actions/workflows/R-CMD-check.yml)
88

99
This package, RcppMeCab, is a `Rcpp` wrapper for the part-of-speech morphological analyzer `MeCab`. It supports native utf-8 encoding in C++ code and CJK (Chinese, Japanese, and Korean) MeCab library. This package fully utilizes the power `Rcpp` brings `R` computation to analyze texts faster.
1010

11-
__Please see [this](README_kr.md) for easy installation and usage examples in Korean.__
11+
__Please see [this](https://github.com/junhewk/RcppMeCab/blob/master/README_kr.md) for easy installation and usage examples in Korean.__
1212

1313
## MeCab backends
1414

README_kr.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
[![License](https://img.shields.io/badge/license-GPL-brightgreen.svg?style=flat)](http://www.gnu.org/licenses/gpl.html)
44
![R](https://img.shields.io/github/r-package/v/junhewk/RcppMeCab)
5-
[![CRAN](http://www.r-pkg.org/badges/version/RcppMeCab)](https://cran.r-project.org/package=RcppMeCab)
6-
[![Downloads](http://cranlogs.r-pkg.org/badges/RcppMeCab?color=brightgreen)](http://www.r-pkg.org/pkg/RcppMeCab)
5+
[![CRAN](https://www.r-pkg.org/badges/version/RcppMeCab)](https://cran.r-project.org/package=RcppMeCab)
6+
[![Downloads](https://cranlogs.r-pkg.org/badges/RcppMeCab?color=brightgreen)](https://www.r-pkg.org/pkg/RcppMeCab)
77

88
RcppMeCab은 형태소 분석기인 `MeCab`을 R 환경에서 매끄럽게 사용할 수 있도록 한 패키지입니다. `Rcpp` 패키지를 사용하여 C++에서 직접 연산을 수행하므로 현재 R에서 제공되는 어떤 형태소 분석기보다 빠르며, 현존하는 `Python``R` 라이브러리 중 가장 빠르고 효율적으로 형태소 분석을 수행할 수 있도록 라이브러리를 구성하였습니다. 제공되는 분산 처리 함수를 활용하여 다중 스레드 처리 또한 제공하므로, 대량의 자료를 빠르게 분석하기 원하시는 경우 적합한 패키지입니다.
99

man/RcppMeCab.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Makevars.win

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ MECAB_OBJS = $(MECAB_SRCS:.cpp=.o)
2424

2525
## Compiler / linker flags
2626
PKG_CPPFLAGS += -I../inst/include -DBOOST_NO_AUTO_PTR
27-
PKG_CXXFLAGS += -DRCPP_PARALLEL_USE_TBB=1 -DSTRICT_R_HEADERS -Wno-parentheses -Wno-nonnull
27+
PKG_CXXFLAGS += -DRCPP_PARALLEL_USE_TBB=1 -DSTRICT_R_HEADERS
2828
PKG_LIBS += $(MECAB_OBJS) $(shell "$(R_HOME)/bin$(R_ARCH_BIN)/Rscript.exe" -e "RcppParallel::RcppParallelLibs()") -lm
2929

3030
all: mecab_source $(SHLIB)
@@ -35,4 +35,4 @@ mecab_source:
3535
"$(R_HOME)/bin$(R_ARCH_BIN)/Rscript.exe" --vanilla ../tools/winlibs.R
3636

3737
$(MECAB_SRC_DIR)/%.o: $(MECAB_SRC_DIR)/%.cpp
38-
$(CXX) $(ALL_CPPFLAGS) -I$(MECAB_SRC_DIR) -DHAVE_CONFIG_H -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\" -std=c++14 -Wno-register -Wno-deprecated-declarations -O2 -c $< -o $@
38+
$(CXX) $(ALL_CPPFLAGS) -I$(MECAB_SRC_DIR) -DHAVE_CONFIG_H -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\" -std=c++14 -w -O2 -c $< -o $@

0 commit comments

Comments
 (0)