Skip to content

Window 10에서 패키지 검증 체크한 결과 MBCS 관련 에러 발생했습니다. #4

@HwayoungYoon

Description

@HwayoungYoon

Windows 10 사용중입니다. 홍성학 멘토님이 알려주신대로 devtools::check(document = FALSE) 라는 R커맨드로 패키지 검증 체크를 해본 결과 제 노트북에서는 MBCS 관련 에러가 발생했습니다. 아래는 R커맨드 실행 결과입니다.

devtools::check(document = FALSE)
Error in get(genname, envir = envir) :
객체 'testthat_print'를 찾을 수 없습니다
-- Building ------------------------------------------------------ statdata --
Setting env vars:

  • CFLAGS : -Wall -pedantic
  • CXXFLAGS : -Wall -pedantic
  • CXX11FLAGS: -Wall -pedantic

WARNING: Rtools is required to build R packages, but is not currently installed.

Please download and install Rtools 4.0 from https://cran.r-project.org/bin/windows/Rtools/.
√ checking for file 'C:\Tidyverse\statdata/DESCRIPTION' (743ms)

  • preparing 'statdata': (3.1s)
    √ checking DESCRIPTION meta-information ...
  • installing the package to build vignettes (399ms)
    -----------------------------------
  • installing source package 'statdata' ...
    ** using staged installation
    Error in parse(con, encoding = "UTF-8") :
    구문분석중 라인 2에서 유효하지 않은 멀티바이트 문자를 찾았습니다
    ERROR: installing package DESCRIPTION failed for package 'statdata'
  • removing 'C:/Users/Public/Documents/ESTsoft/CreatorTemp/RtmpuGMomR/Rinst145c3d2e38f2/statdata'
    -----------------------------------
    ERROR: package installation failed
    Error in (function (command = NULL, args = character(), error_on_status = TRUE, :
    System command 'Rcmd.exe' failed, exit status: 1, stdout + stderr (last 10 lines):
    E> * installing the package to build vignettes
    E> -----------------------------------
    E> * installing source package 'statdata' ...
    E> ** using staged installation
    E> Error in parse(con, encoding = "UTF-8") :
    E> 구문분석중 라인 2에서 유효하지 않은 멀티바이트 문자를 찾았습니다
    E> ERROR: installing package DESCRIPTION failed for package 'statdata'
    E> * removing 'C:/Users/Public/Documents/ESTsoft/CreatorTemp/RtmpuGMomR/Rinst145c3d2e38f2/statdata'
    E> -----------------------------------
    E> ERROR: package installation failed
    Type .Last.error.trace to see where the error occurred

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions