NEONScience / NEON-geolocation

Code package for handling NEON geolocation data. Includes functions to extract spatial data from the API based on a named location, and to calculate more precise locations for select observational data products.
GNU Affero General Public License v3.0
18 stars 5 forks source link

Can't install package in R 3.6.3 #11

Closed adjablonski closed 4 years ago

adjablonski commented 4 years ago

Hi,

I'm trying to install geoNEON in R studio using the command: devtools::install_github("NEONScience/NEON-geolocation/geoNEON")

It looks like there might be some issues with the package code when installing. The output I'm getting is:

` installing source* package 'geoNEON' ... using staged installation R Error in parse(outFile) : C:/Users/Andrew/AppData/Local/Temp/Rtmpk5QEkY/R.INSTALL8a70d81335a/geoNEON/R/getLocTOS.R:583:74: unexpected ')' 582: all.return <- all.return[order(all.return$rowid),] 583: all.return <- all.return[,!names(all.return) %in% c('rowid','points')) ^ ERROR: unable to collate and parse R files for package 'geoNEON'

It's pointing to lines 582 and 583 of geoNEON/R/getLocTOS.

cklunch commented 4 years ago

@adjablonski Thanks for the heads up, and sorry for the error! Fixed now.

adjablonski commented 4 years ago

@cklunch Great! Thanks so much :)