どこで聞けば良いのかわからないけど多分Linuxの問題だと思うのでここでしつもんします

Rっていう統計処理ソフトでgsheetってのをつかえるようにインストールしたいのですが
以下のようなエラーがでていんすとーるできないようです
なにをすれば良いのでしょうか?
つかってるのはUbuntuです

Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found
Using PKG_CFLAGS=
Using PKG_LIBS=-lcurl