-
Notifications
You must be signed in to change notification settings - Fork 27
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
'length(x) = 2 > 1' when installing evalcast
dependency bettermc
#651
Comments
Hacking around this issue is a bit harder if you are using an |
Do you get this issue just trying to install bettermc by itself? Like with |
Yes. I get the error trying direct installation with |
Hm, I can't reproduce with Since this error is showing up in R 4.1.3, but not in R 4.3.1 (mine) and not in R 3.5 (their CI), this makes me think it's not an R version error, but something else particular to your installation. |
This Dockerfile installs fine
|
When attempting to install
evalcast
, or trying to install its dependency[email protected]
viarenv
,pak
,remotes::install_github
,remotes::install_local
, orR CMD INSTALL
, I get the following error:I thought we selected this version because it somehow seemed to avoid this error, but I guess it does not. What does seem to work is:
man
directory to something else, e.g.,was_man
(... or maybe just re-document()
ing with latestdevtools
&roxygen2
?? haven't tried this yet)remotes::install_local
etc.evalcast
I'm on
The 4.1.3 is probably related; perhaps this error is from using
&&
or||
with an arg that is a length-2 logical vector. And the issue appears to be in parsing theRd
files.Aside from posting the hack above, it'd be nice if we could make evalcast installation work more smoothly. Maybe this means filing an Issue/PR to bettermc and seeing if we can update our dependency on it to the fixed version. Or maybe we could set up a fork to patch specifically v1.1.2.
The text was updated successfully, but these errors were encountered: