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.