Closed benjaminhlina closed 2 years ago
Hi,
Thanks a lot for the issue and many apologies for the very delayed response--for some reason I did not receive this issue as an email notification. I think the issue is coming from the trailing '/' on 'edwardlavender/prettyGraphics/' (and other remotes) and I have removed this in the package description. If you run the following, the package should now install:
devtools::install_github("edwardlavender/flapper")
As a backup solution, if you have already installed prettyGraphics
, Tools4ETS
, glatos
and fasterRaster
, you can install the remaining dependencies/suggested packages from CRAN using install.packages()
and then install flapper
without checking the dependencies as follows:
## install CRAN dependencies
install.packages(c("magrittr", "dplyr", "rlang", "lubridate", "purrr",
"data.table", "Matrix", "pbapply",
"raster", "rgeos", "geosphere", "Orcs", "cppRouting",
"gdistance", "sp", "adehabitatHR", "fields"))
## install suggests
install.packages(c("plyr", "tidyr", "stringr",
"sf", "sfheaders",
"spatialEco",
"plotly", "animation", "scales", "viridis",
"circular",
"httr", "jsonlite",
"rbenchmark",
"rmarkdown", "knitr"))
## install flapper with dependencies = FALSE
devtools::install_github("edwardlavender/flapper", dependencies = FALSE)
Please let me know if that fixes the issue. If not, I hope to rebuild the package using the latest version of R in the next couple of weeks, which should solve any remaining issues.
Thanks again for your interest & I hope that helps.
@edwardlavender thanks for looking into this. Was able to get flapper to install, now going to play around with what you built!
Great - good luck! The package still needs a lot of work (improved documentation, bug fixes, testing & optimisation) but hope it is useful to you.
Hi Edward,
A colleague recently shared your package with me which looks impressive! However, I tried to install it today and it wouldn't install. Instead it produced the following error message. They also couldn't get it to install. Not sure as to why it's erroring upon installation.
I was able to get the following installed and previously have
{glatos}
installed but not{flapper}
.Current session info as well: