You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just encountered this error while trying to install nstrayer/datadrivencv.
ERROR: dependency 'icon' is not available for package 'datadrivencv'
Even though there is an open issue (see #57) for this problem, where a number of potential resolutions are mentioned, I opened this new issue because I don't understand what the official recommendation is for resolving this issue, and I'm not sure if there are plans to close #57 or not. For other people encountering this error, they will probably spend a lot of time trying to discern the same information. Hopefully, this new thread not add to any potential confusion. Listed below is a summary of my observations from reading over the comments in #57.
The title for issue #57 does not contain the exact error message. Although most people are probably finding that thread through web-searches, having the issue title reflect the exact error would be helpful to people.
In the discussion thread for #57, there are quite a few suggestions for interim fixes, but, discerning which ones will work or not is not easy. On some of these comments, people replied that the suggested interim fix solved their problem, yet others said that it did not.
Issue #57 has been open since Mar 2, 2021, even though fixing the issue appears to be as simple as updating one line in the package's description file. This solution was demonstrated by Ash706 in his repo, Ash706/datadrivencv, which, as of the date of this comment, is only 1 commit ahead of this repo. Note that I also verified that @Ash706's solution works, too (see below).
At least one pull request has been generated as an interim fix for this error. For example, over a year ago (on Mar 16, 2021), mitchelloharawild generated a PR for this issue and posted it as a comment in the thread for #57.
A lot of the comments in #57 mentioned upgrading to a newer version of R. I am running R 4.2.0 on Windows, which, as of this comment's date is the latest version of R.
Listed below is a table that I hope will be of use to others, along with detailed output from my attempts to install nstrayer/datadrivencv.
Summary of Successful and Unsuccessful Installation Methods
Requires an older version of the icons repo, mitchelloharawild/[email protected]
2
SUCCESSFUL
devtools::install_github('Ash706/datadrivencv')
Is up to date and doesn't have any workaround hacks
Not located in the nstrayer/datadrivencv repo
3
UNSUCCESSFUL
devtools::install_github('nstrayer/datadrivencv')
If it worked, users of the package get the most current version.
Currently, doesn't work.
4
UNSUCCESSFUL
pak::pkg_install('nstrayer/datadrivencv#60')
It works and is in nstrayer/datadrivencv.
Currently, doesn't work, but even if it did, it's not expected behavior and has a dependency on an old version of the icons package.
If there is anything that others or I could do to get this issue fixed, please let us know!
Summary of my R Platform
version R version 4.2.0 (2022-04-22 ucrt)
os Windows 10 x64 (build 22000)
system x86_64, mingw32
ui RTerm
language (EN)
collate English_United States.utf8
ctype English_United States.utf8
tz America/Chicago
date 2022-06-15
pandoc 2.7.3 @ C:\\PROGRA~1\\Pandoc\\pandoc.exe
Detailed Output from Each Installation Attempt
Successful Installations
Successful Install with devtools::install_github('nstrayer/datadrivencv#60')
Hi Everyone,
I just encountered this error while trying to install
nstrayer/datadrivencv
.Even though there is an open issue (see #57) for this problem, where a number of potential resolutions are mentioned, I opened this new issue because I don't understand what the official recommendation is for resolving this issue, and I'm not sure if there are plans to close #57 or not. For other people encountering this error, they will probably spend a lot of time trying to discern the same information. Hopefully, this new thread not add to any potential confusion. Listed below is a summary of my observations from reading over the comments in #57.
The title for issue #57 does not contain the exact error message. Although most people are probably finding that thread through web-searches, having the issue title reflect the exact error would be helpful to people.
In the discussion thread for #57, there are quite a few suggestions for interim fixes, but, discerning which ones will work or not is not easy. On some of these comments, people replied that the suggested interim fix solved their problem, yet others said that it did not.
Issue #57 has been open since Mar 2, 2021, even though fixing the issue appears to be as simple as updating one line in the package's
description
file. This solution was demonstrated by Ash706 in his repo, Ash706/datadrivencv, which, as of the date of this comment, is only 1 commit ahead of this repo. Note that I also verified that @Ash706's solution works, too (see below).At least one pull request has been generated as an interim fix for this error. For example, over a year ago (on Mar 16, 2021), mitchelloharawild generated a PR for this issue and posted it as a comment in the thread for #57.
A lot of the comments in #57 mentioned upgrading to a newer version of R. I am running R 4.2.0 on Windows, which, as of this comment's date is the latest version of R.
Listed below is a table that I hope will be of use to others, along with detailed output from my attempts to install
nstrayer/datadrivencv
.Summary of Successful and Unsuccessful Installation Methods
devtools::install_github('nstrayer/datadrivencv#60')
nstrayer/datadrivencv
.icons
repo, mitchelloharawild/[email protected]devtools::install_github('Ash706/datadrivencv')
nstrayer/datadrivencv
repodevtools::install_github('nstrayer/datadrivencv')
pak::pkg_install('nstrayer/datadrivencv#60')
nstrayer/datadrivencv
.icons
package.If there is anything that others or I could do to get this issue fixed, please let us know!
Summary of my R Platform
Detailed Output from Each Installation Attempt
Successful Installations
Successful Install with
devtools::install_github('nstrayer/datadrivencv#60')
CLICK ME
D:\GoogleDrive\eric.milgram\R Examples\Package Mgt>RScript --verbose -e "try(devtools::install_github('#60')); sessioninfo::session_info()" running 'C:\R\R-4.2.0\bin\x64\Rterm.exe --no-echo --no-restore -e try(devtools::install_github('#60')); sessioninfo::session_info()'Successful Installation with
devtools::install_github('Ash706/datadrivencv')
CLICK ME
D:\GoogleDrive\eric.milgram\R Examples\Package Mgt>RScript --verbose -e "try(devtools::install_github('Ash706/datadrivencv')); sessioninfo::session_info()" running 'C:\R\R-4.2.0\bin\x64\Rterm.exe --no-echo --no-restore -e try(devtools::install_github('Ash706/datadrivencv')); sessioninfo::session_info()'Failed Installations
Failed Installation with
devtools::install_github('nstrayer/datadrivencv')
CLICK ME
D:\GoogleDrive\eric.milgram\R Examples\Package Mgt>RScript --verbose -e "try(devtools::install_github('nstrayer/datadrivencv')); sessioninfo::session_info()" running 'C:\R\R-4.2.0\bin\x64\Rterm.exe --no-echo --no-restore -e try(devtools::install_github('nstrayer/datadrivencv')); sessioninfo::session_info()'Failed Installation with
pak::pkg_install('nstrayer/datadrivencv#60')
CLICK ME
D:\GoogleDrive\eric.milgram\R Examples\Package Mgt>RScript --verbose -e "try(pak::pkg_install('#60')); sessioninfo::session_info()" running 'C:\R\R-4.2.0\bin\x64\Rterm.exe --no-echo --no-restore -e try(pak::pkg_install('#60')); sessioninfo::session_info()'The text was updated successfully, but these errors were encountered: