BatNav is a Shiny application to perform spatial analyses using GPS points of flying foxes recorded by GCOI.
1️⃣ Clone this repository on your computer or download it as a ZIP file (green 'code' button) and unzip it.
2️⃣ Add the "data" folder in BatNav folder. This folder contains SIG data used by BatNav during analysis. You can ask me for this folder if you don't have it (📧 r-fernandezz).
3️⃣ Open R terminal into BatNav folder
- If you use windows 😱 Open windows power shell in the BatNav folder (Shift+Right Click on the folder) and launch R terminal with the command bellow. Before change the path according to your R installation.
& "C:\Program Files\R\R-4.5.1\bin\Rscript.exe"- If you use MacOS or Linux 😏 Open bash terminal into the BatNav folder (Right Click in the folder) and launch R terminal with this command. :
R4️⃣ Launch command below in the same R terminal to install the packages required by BatNav.
install.packages(c("yaml", "renv"))
renv::activate()
renv::restore()5️⃣ Launch BatNav with this command in the same R terminal:
shiny::runApp("app.r")