nstrayer/datadrivencv

ERROR: dependency ‘icon’ is not available for package ‘datadrivencv’

chaochaowong opened this issue · 3 comments

I am using R 4.2.2 and trying to install datadrivencv and got the following error:

✔  checking for file ‘/private/var/folders/kk/5r794jbj2hg20s4_5qxp3lf00000gq/T/RtmpZPYrrp/remotes12709298f6c43/nstrayer-datadrivencv-0b59804/DESCRIPTION’ (370ms)
─  preparing ‘datadrivencv’:
✔  checking DESCRIPTION meta-information
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
   Omitted ‘LazyData’ from DESCRIPTION
─  building ‘datadrivencv_0.1.0.tar.gz’
   
ERROR: dependency ‘icon’ is not available for package ‘datadrivencv’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/datadrivencv’

I double-checked the existence of the icon package, and the package seems to be renamed to icons (https://github.com/mitchelloharawild/icons). To get around the dependency, I edited the DESCRIBED file to remove icon (>=0.1.0) from the import field. Then I was able to install datadrivencv.

Having the same problem!

@chaochaowong Can you explain me the editing trick? Where did you edit this? I am just trying to install by

devtools::install_github("nstrayer/datadrivencv")

Ok, no need
There is a workaround in the issue #90