2015-01-04 2 views
0

패키지에 컴파일 된 일부 코드를 R로 작성했습니다. 불행히도 어떤 사용자라도 install_github() 함수를 사용하여 패키지를 다운로드 할 수 있도록 패키지로 게시 할 수 없습니다. 친절히 도와주세요.github에 R 코드 게시

아래 저장소의 경로를 공유했습니다.

답변

0

나는 다음과 같은 오류 얻을 패키지 설치하려고

https://github.com/Kagereki/RPerio :

DESCRIPTION uses a simple file format called DCF, the Debian control format. You can see most of the structure in the simple example below. Each line consists of a field name and a value, separated by a colon. When values span multiple lines, they need to be indented:

Description: The description of a package is usually long, 
    spanning multiple lines. The second and subsequent lines 
    should be indented, usually with four spaces. 

its Description field 실제로 형식이 잘못되는 것을 your DESCRIPTION file 보여줍니다 검사하는 것이

Error: Line starting 'Population-Based Sur ...' is malformed!

specification for DESCRIPTION files 상태를, 두 번째 줄은 들여 쓰지 않음 :

Description: A collection of tools for Case Definitions and prevalences in 
Population-Based Surveillance of Periodontitis. 
    The functionality is experimental and functions are likely to ... 

이 줄은 "Population-Based Sur ..."로 시작한다는 점에 유의하십시오.

DESCRIPTION의 형식이 올바른지 확인하고 수정했는지 확인하십시오.

devtoolscheck() 기능을 사용하여 새 버전을 푸시하기 전에 모든 기능이 로컬에서 작동하는지 확인할 수 있어야합니다.

+0

크리스에게 감사드립니다. 편집 한 결과 주요 문제 인 것으로 보입니다. 그러나 설치를 시도 할 때 여전히 문제가있는 것처럼 보입니다. "cp : unknown option -" "당신이 그것을 보게된다면 고맙겠습니다. ... – Edwin

+0

@Edwin, 우분투에서 잘 작동합니다. . Windows에 있습니까? – Chris

+0

@ Chris. 예, Windows에서 실행 중입니다. – Edwin