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

Issue installing on R version 4.0.0 #126

Open
sclewis23 opened this issue Apr 12, 2023 · 2 comments
Open

Issue installing on R version 4.0.0 #126

sclewis23 opened this issue Apr 12, 2023 · 2 comments

Comments

@sclewis23
Copy link

It seems you are using the pipe operator but it is not included in R 4.0.0:
** R
Error in parse(outFile) :
/tmp/Rtmpedt7K3/R.INSTALL9ab026542f24/rms/R/latex.cph.s:56:49: unexpected '>'
55: knitr::kable(s, format='html',
56: align='r', row.names=FALSE) |>
^
ERROR: unable to collate and parse R files for package ‘rms’

@setgree
Copy link

setgree commented Apr 12, 2023

ditto

─ Session info ───────────────────────────────────────────────────────────────────────────
 setting  value
 version  R version 4.0.5 (2021-03-31)
 os       macOS 13.0.1
 system   x86_64, darwin17.0
 ui       RStudio
 language (EN)
 collate  en_US.UTF-8
 ctype    en_US.UTF-8
 tz       America/New_York
 date     2023-04-12
 rstudio  2022.12.0+353 Elsbeth Geranium (desktop)
 pandoc   3.1.1 @ /usr/local/bin/pandoc

@bbolker
Copy link

bbolker commented May 1, 2023

Also https://stackoverflow.com/questions/76141710/how-to-install-rms-and-any-package-without-problems-in-r#76141710 . According to the R NEWS file, the native pipe was added in R 4.1.0. The fix seems trivial (modify DESCRIPTION, for both this package and Hmisc) but I could submit a pull request if desired ...

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

3 participants