이 함수는 지정된 파일에서 API 키를 읽어 환경 변수로 설정합니다.
Usage
read_apikey(key_name = NULL, file_path = "~/.ecoDI_apikeys")
Arguments
- key_name
character. 읽어올 API 키의 이름.
- file_path
character. API 키가 포함된 파일의 경로.
Value
character. API 키 값.
Examples
if (FALSE) { # \dontrun{
# Example usage
read_apikey(file_path = "~/.ecoDI_apikeys")
} # }