Closed mikoontz closed 4 years ago
Yes it now depends on lidR 3.0.0 because some new functions need tools from lidR v3.0.0.
Fair enough! I'm saying that install.packages("lidR")
results in lidR v2.2.3, which as far as I can tell is the latest release.
Is the devel
branch of lidR equivalent to v3.0.0? Or is there no way to use lidRplugins until the official v3.0.0 version is released?
> install.packages("lidR")
also installing the dependencies ‘R.oo’, ‘R.methodsS3’, ‘miniUI’, ‘R.utils’, ‘manipulateWidget’, ‘gdalUtils’, ‘RCSF’, ‘rgl’, ‘rlas’
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.6/R.oo_1.23.0.tgz'
Content type 'application/x-gzip' length 979916 bytes (956 KB)
==================================================
downloaded 956 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.6/R.methodsS3_1.8.0.tgz'
Content type 'application/x-gzip' length 79463 bytes (77 KB)
==================================================
downloaded 77 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.6/miniUI_0.1.1.1.tgz'
Content type 'application/x-gzip' length 34591 bytes (33 KB)
==================================================
downloaded 33 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.6/R.utils_2.9.2.tgz'
Content type 'application/x-gzip' length 1406043 bytes (1.3 MB)
==================================================
downloaded 1.3 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.6/manipulateWidget_0.10.1.tgz'
Content type 'application/x-gzip' length 1762397 bytes (1.7 MB)
==================================================
downloaded 1.7 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.6/gdalUtils_2.0.3.2.tgz'
Content type 'application/x-gzip' length 1218822 bytes (1.2 MB)
==================================================
downloaded 1.2 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.6/RCSF_1.0.2.tgz'
Content type 'application/x-gzip' length 670032 bytes (654 KB)
==================================================
downloaded 654 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.6/rgl_0.100.50.tgz'
Content type 'application/x-gzip' length 4859795 bytes (4.6 MB)
==================================================
downloaded 4.6 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.6/rlas_1.3.5.tgz'
Content type 'application/x-gzip' length 2574859 bytes (2.5 MB)
==================================================
downloaded 2.5 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.6/lidR_2.2.3.tgz'
Content type 'application/x-gzip' length 4464387 bytes (4.3 MB)
==================================================
downloaded 4.3 MB
The downloaded binary packages are in
/var/folders/yq/vrn0lnd94h50ld03crt_m80c0000gn/T//RtmpVUsa2z/downloaded_packages
> library(lidR)
Loading required package: raster
Loading required package: sp
lidR 2.2.3 using 2 threads. Help on <gis.stackexchange.com>. Bug report on <github.com/Jean-Romain/lidR>.
Is the devel branch of lidR equivalent to v3.0.0?
Yes use the devel branch.
Or is there no way to use lidRplugins until the official v3.0.0 version is released?
No. lidRplugins
contains some stuff made for people who are founding me. I must provide them a workable environment and the latest development added two days ago require lidR v3.0.0 in development.
Okay thanks! Installing lidR
from the devel branch seems to be the solution for now. I can close the issue.
devtools::install_github("Jean-Romain/lidR@devel")
Edit:
I've since learned that the {devtools} package has a lot of unnecessary dependencies if you are just looking to install a package from GitHub. Instead, the recommendation is to use the {remotes} package, from which {devtools} gets the install_github()
function:
remotes::install_github("Jean-Romain/lidR@devel")
Thanks for this! I had the same issue.
Hello!
I just tried to install the lidRplugins package and it failed with the error: "Error: package 'lidR' 2.2.3 was found, but >= 3.0.0 is required by 'lidRplugins'"
I see you just updated lidRplugins yesterday-- is there a new check that is excessively aggressive with its lidR version requirements?
Thanks!
Here is the whole log of the installation: