Failed to build INLA for windows-latest (release) with check-standard.yaml

Hello Everyone,

My GitHub Action is failing because it can't build INLA. This is using check-standard.yaml and all but one of the checks pass, the windows-latest (release).

This is strange because it used to pass until about a month ago and I haven't changed anything in the meantime.

This is the error message:

✖ Failed to build INLA 23.04.24
  Error: 
  ! error in pak subprocess
  Caused by error in `stop_task_build(state, worker)`:
  ! Failed to build source package 'INLA'
  Full installation output:
  * installing *binary* package 'INLA' ...
  cp: unknown option -- )
  Try '/usr/bin/cp --help' for more information.
  ERROR: installing binary package failed

Here's the full log:

Here's the GitHub Action YAML:

Any help would be greatly appreciated!

Thanks,

Nathan

That seems like a broken package that they serve in their repo:

> install.packages("INLA", repos = "https://inla.r-inla-download.org/R/stable")
Installing package into 'C:/Users/csard/AppData/Local/R/win-library/4.3'
(as 'lib' is unspecified)
Warning: unable to access index for repository https://inla.r-inla-download.org/R/stable/bin/windows/contrib/4.3:
  cannot open URL 'https://inla.r-inla-download.org/R/stable/bin/windows/contrib/4.3/PACKAGES'
installing the source package 'INLA'

trying URL 'https://inla.r-inla-download.org/R/stable/src/contrib/INLA_23.04.24.tar.gz'
Content type 'application/x-gzip' length 91038966 bytes (86.8 MB)
downloaded 86.8 MB

* installing *binary* package 'INLA' ...
cp: unknown option -- )
Try '/usr/bin/cp --help' for more information.
ERROR: installing binary package failed
* removing 'C:/Users/csard/AppData/Local/R/win-library/4.3/INLA'

The downloaded source packages are in
        'C:\Users\csard\AppData\Local\Temp\RtmpgdSjoG\downloaded_packages'
Warning message:
In install.packages("INLA", repos = "https://inla.r-inla-download.org/R/stable") :
  installation of package 'INLA' had non-zero exit status

So you can try to tell them that their package does not work on Windows (at least on R 4.3.1), and/or try using a different R version if it used to work.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.