Closed apascualgarcia closed 1 year ago
Error in parse(outFile) :
/tmp/Rtmpb2IhYf/R.INSTALL18d55fa23fa0/rayvertex/R/add_shape.R:795:30: unexpected '>'
794: scaleval = (bbox_size + material$toon_outline_width)/bbox_size
795: single_obj = single_obj |>
|>
might be used in add_shape.R
. The new R pipe |>
was introduced with R v4.1 and does not work with earlier R versions. /home/apascual/R/x86_64-pc-linux-gnu-library/3.6/
it looks like you have R v3.6.Yes, I am using R v3.6. Perhaps documenting that R v4.1 is needed? FYI, I was trying to install your package because rayshader
requires it, so I guess should also be documented this limitation there.
Thanks for your help
I'm not sure how the maintainer @tylermorganwall wants to handle this issue going forward but in the meantime CRAN maintains an archive of earlier {rayvertex}
releases some of which may work for you: https://cran.r-project.org/src/contrib/Archive/rayvertex/ . You could try downloading one of them and installing it e.g. via R CMD INSTALL
. Or if you know a desired older git commit hash or tag you can use remotes::install_github("tylermorganwall/rayvertex", ref = "commithash")
or remotes::install_github("tylermorganwall/rayvertex", ref = "committag")
to install an older version of the package from the github repo.
I updated the requirements to include R 4.1.0 at a minimum (on the github repo), so you should at least get a more informative error when trying to install the package.
Hi there, I am unable to install the package in Linux (R3.6):
I've seen a similar problem here that seems to be related with an encoding problem.
Thanks in advance