[R] File packages.bib not found in resource path

해당 포스트는 bookdown을 github page와 연동하면서 발생한 에러 조치 방법에 대해 소개합니다.


문제

  • unfinishedgod님 포스트를 참고하여 bookdown 패키지와 github page 연동 시도

  • '3-1. _bookdown.yml 파일 수정' 부분을 진행하면서 아래와 같은 에러 발생

    • File packages.bib not found in resource path

풀이

  • _bookdown.yml 파일을 처음 오픈하면 아래와 같이 기재되어 있고, 아래 사진과 같이 추가 입력해 주어야 함
delete_merged_file: true
language:
  ui:
    chapter_name: "Chapter "

r-bookdown-error


  • 왼쪽과 같이 입력하면 File packages.bib not found in resource path 에러 발생
  • 오른쪽과 같이 output_dir: docs를 입력할 때 위에 한 라인을 띄어주어야 함!

r-bookdown-error

관련 링크

[1] [R] "cannot open file 'c:/Users/???/test.R'" : Invalid argument
[2] [R] Error in sample.int(length(x), size, replace = T, prob) : 'replace' 인자가 잘못되었습니다.