I am downloading the package "winference" from github.
And I am using the package 'githubinstall' to finish this
I was following the instruction but comes to the error:
We need the entire installation output. It looks to me as if you do not have some system's level dependency installed but we need the entire output to see what is happening.
Thanks but you do not have upload those screenshots.
Just copy the outcut and paste it between three ```, like this.. On my keyboard that symbol is on the top left key.
```
install.packages("dslabs")
Installing package into ‘/home/john/R/x86_64-pc-linux-gnu-library/4.2’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/dslabs_0.7.4.tar.gz'
Content type 'application/x-gzip' length 3389330 bytes (3.2 MB)
==================================================
downloaded 3.2 MB
* installing *source* package ‘dslabs’ ...
** package ‘dslabs’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (dslabs)
The downloaded source packages are in
‘/tmp/RtmpYysSOE/downloaded_packages’
> library(dslabs)
```
It looks to me that the problem is showing up in the bottom lines in the fifth shot and the first two or three in the sixth. My guess is that you are missing CGAL/Exact_predicates_inexact_constructions_kernel.h
This Introduction seems to suggest that "The goal of the Cgal Open Source Project is to provide easy access to efficient and reliable geometric algorithms in the form of a C++ library".
Currently I have no idea. I'll poke around a bit and see what I can find but what is your OS and what versions of R & RStudio are you using? You can use the command *
sessionInfo()* to get info on OS and R. Just do the standard cut & paste.
I see that you are getting a couple of warnings about ‘magrittr’ and stringi It looks like these are already loaded. I'd suggest restarting RStudio and doing either
# update all available packages
update.packages()
or
# update, without prompts for permission/clarification
update.packages(ask = FALSE)
before trying to install *winference. Not really needed but it should reduce the output if you are trying another installation.
Good luck and I'll try to get back to you with something useful about CCAL.
Yeah unfortunately the CGAL is necessary. Thanks so much for your help, And I will also continuously work on this. Please let me know if you have any other ideas!
Oops sorry I forgot to upload my version of OS and R. Here is the information of version
version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 4
minor 1.3
year 2022
month 03
day 10
svn rev 81868
language R
version.string R version 4.1.3 (2022-03-10)
nickname One Push-Up