wleepang / shiny-directory-input

An shiny input widget for selecting directories

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation failed on R 3.6.2

MingwuDuan opened this issue · comments

Hi,
When I run devtools::install_github('wleepang/shiny-directory-input')
or
devtools::install_local('D://shiny-directory-input-master.zip'), it says
Failed to install 'shinyDirectoryInput' from GitHub:
installation of package ‘C:/Users/username/AppData/Local/Temp/RtmpierUSc/filead46d89a3a/shinyDirectoryInput_0.2.0.tar.gz’ had non-zero exit status
or
Failed to install 'shiny-directory-input-master.zip' from local:
installation of package ‘C:/Users/username/AppData/Local/Temp/RtmpierUSc/remotesad427fe581b/shiny-directory-input-master’ had non-zero exit status
Why this could happen?Anyone could help me install this R package?
Thanks in advance!

I clone the repository and open it in RStudio, then used the build > install & restart option.

You may also need to install shiny and htmltools packages.

Can you update to R 4.0.2? There might be some missing or incompatible package dependencies.