rhub icon indicating copy to clipboard operation
rhub copied to clipboard

Windows Server 2022: "lastMiKTeXException"

Open DyfanJones opened this issue 3 years ago • 8 comments

Hi all,

Currently getting the following Note from my rhub window build checks:

checking for detritus in the temp directory ... NOTE
Found the following files/directories:
'lastMiKTeXException'
  • https://builder.r-hub.io/status/RAthena_2.5.0.tar.gz-5ee6ccf1579b46e989ec3c46775052fc
  • https://builder.r-hub.io/status/noctua_2.5.0.tar.gz-a1c4f3a7f7744094a278070ec5f37807

The linux builds came back ok.

rhub code ran to produce note:

rhub::check_for_cran(env_vars=c(R_COMPILE_AND_INSTALL_PACKAGES = "always", LIBARROW_BINARY="true"))

Any advice would be greatly appreciated.

Linked Github release tickets: https://github.com/DyfanJones/noctua/issues/180 https://github.com/DyfanJones/RAthena/issues/165

DyfanJones avatar Jan 17 '22 12:01 DyfanJones

Seems like a bug/crash in miktex, so you can ignore this.

gaborcsardi avatar Jan 17 '22 12:01 gaborcsardi

@gaborcsardi thanks for your fast reply, feel free to close this ticket. I will leave it open incase you need to reference it later.

DyfanJones avatar Jan 17 '22 12:01 DyfanJones

I have tried again today, from a different computer. Not only that the note persists, the CRAN does not build the package for windows and yesterday I also got some weird PREPERROR.

Any ideas why?

guyas avatar Jan 26 '22 18:01 guyas

For the record, this is because we set TMPDIR, and MikTeX will pick it up to write out some error report there, here-ish: https://github.com/MiKTeX/miktex/blob/ab8ebca7c70fe8c9a1392dfb2393a0a7683e14cc/Libraries/MiKTeX/Core/Exceptions.cpp#L163

Now I also set MIKTEX_ENV_EXCEPTION_PATH to c:\temp on the builders, so that should take care of this NOTE.

gaborcsardi avatar Jul 20 '22 08:07 gaborcsardi

Actually, I still see it. :(

gaborcsardi avatar Jul 20 '22 08:07 gaborcsardi

Is there a boilerplate that should be added to cran-comments.md for this, or should we ignore it completely?

jonthegeek avatar Oct 20 '22 11:10 jonthegeek

@jonthegeek this is a bug in R-hub, so I would not expect them to be interested in it.

gaborcsardi avatar Oct 20 '22 11:10 gaborcsardi

@gaborcsardi thanks! I thought that was the case but wasn't sure, and was led back to this issue by someone else's cran-comment.md mentioning it

jonthegeek avatar Oct 20 '22 12:10 jonthegeek

This issue is about the previous R-hub system, it does not apply to the new system, so I am closing it now. Please see https://r-hub.github.io/rhub/ for the new system, R-hub v2.

gaborcsardi avatar May 09 '24 12:05 gaborcsardi