Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chaochaowong opened this issue Mar 29, 2023 · 3 comments

Comments

@chaochaowong
Copy link

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.

@witszymanski
Copy link

Having the same problem!

@witszymanski
Copy link

@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")

@witszymanski
Copy link

witszymanski commented Jun 28, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants