rspatial / terra

R package for spatial data handling https://rspatial.github.io/terra/reference/terra-package.html
GNU General Public License v3.0
543 stars 90 forks source link

ERROR: Installing Terra fails due to unexpected input #1623

Closed quinn-r88 closed 1 month ago

quinn-r88 commented 1 month ago

Issue:

Attempting to install the terra package causes the following error:

** R
Error in parse(outFile) : 
  /tmp/RtmpdUYukX/R.INSTALL213476df3aa2/terra/R/plot_let.R:123:42: unexpected input
122:                 
123:                 if (missing(col)) col <- \
                                              ^
ERROR: unable to collate and parse R files for package ‘terra’

To Reproduce:

My Setup:

quinn-r88 commented 1 month ago

It seems very likely that this problem was in commit ae5f77, here

rhijmans commented 1 month ago

It should work again on R 3.6.3 (and I would suggest updating R)

quinn-r88 commented 1 month ago

much appreciated!