How to use "corrmorant" from r-link in github

Could you help me to install the r-link package on Rstudio?
I tried following the steps below.

install remotes package if necessary

install.packages("remotes")

install corrmorant from the github repository

remotes::install_github("r-link/corrmorant")

download

library(corrmorant)

Hi, welcome to the forum.

What is actually happening? Are you getting any error messages?

BTW, when posting code it is helpful to paste it here between
```

```

It gives a better formatted result

Hi, here is the error message. I don't know how to fix this...

The package will be installed in 'C:/Users/alpac/AppData/Local/R/win-library/4.4'
(because 'lib' was not specified)

  • installing source package 'corrmorant' ...
    ** using staged installation
    ** R
    ** data
    *** moving datasets to lazyload DB
    ** byte-compile and prepare package for lazy loading
    ERROR: lazy loading failed for package 'corrmorant'
  • removing 'C:/Users/alpac/AppData/Local/R/win-library/4.4/corrmorant'
    Warning message:
    In i.p(...) :
    Installation of the package ‘C:/Users/alpac/AppData/Local/Temp/Rtmp27rnl0/file110c148285d/corrmorant_0.0.0.9007.tar.gz’ had a non-zero exit status

Not very helpful error message.

You have {remotes} successfully installed?

Yes, it was downloaded without problem...

I am not a Windows user so I am just guessing. You might want to have a look in

'C:/Users/alpac/AppData/Local/R/win-library/4.4'

and see if you have a Lock file.

Other than thatI am at a loss. Well except for the standard idea with windows: Do a complete machine reboot. It sometimes helps.

Edit

You might want to install {pak} and give it a try.
I think the syntax for as installatin would be

pak::pkg_install("r-link/corrmorant") 

but this is a guess as I have never used it to install a package from a GitHub repository.

Thank you for your advice. Finally, I found the following description on the github page.
It seems corrmorant does not work in the latest R version. Therefore I will use the corrplot instead of corrmorant for the moment.

=====
Please note that this project is a work in progress!
This package is in steady development. Whenever I have time, I add or change some features. A somewhat stable version should not be too far away - look out for announcements over here. I will then begin with a regular versioning process. Until the package reaches this stage, please note that features may change or disappear without further notice.

Update 2020-07-07: As of today, the corrmorant package will replace all uses of the iris dataset with the drosera dataset, which contains a set of (eugenics-free) biometric measurements of three African sundew species and is available as a separate data-package.

Update 2020-04-28: So far, the package seems to work fine with R. v. 4.0.0. Keep me informed if you notice any unwanted behavior.

Update 2020-03-06: The package passes all tests with the newest ggplot2version (v. 3.3.0), but I haven’t been able to check more thoroughly. I you notice any strange behavior with the new version, please let me know!

A big thank you goes out to the developers of the software without which this package would not be possible, especially Hadley Wickham and the rest of the ggplot2 development team for their incredible work.

Thank you for your advice. Finally, I found the following description on the github page.
It seems corrmorant does not work in the latest R version. Therefore I will use the corrplot instead of corrmorant for the moment.

=====
Please note that this project is a work in progress!
This package is in steady development. Whenever I have time, I add or change some features. A somewhat stable version should not be too far away - look out for announcements over here. I will then begin with a regular versioning process. Until the package reaches this stage, please note that features may change or disappear without further notice.

Update 2020-07-07: As of today, the corrmorant package will replace all uses of the iris dataset with the drosera dataset, which contains a set of (eugenics-free) biometric measurements of three African sundew species and is available as a separate data-package njmcdirect com.

Update 2020-04-28: So far, the package seems to work fine with R. v. 4.0.0. Keep me informed if you notice any unwanted behavior.

Update 2020-03-06: The package passes all tests with the newest ggplot2version (v. 3.3.0), but I haven’t been able to check more thoroughly. I you notice any strange behavior with the new version, please let me know!

A big thank you goes out to the developers of the software without which this package would not be possible, especially Hadley Wickham and the rest of the ggplot2 development team for their incredible work.

Yes, this is very helpful for me.