Only the 1st link give "Build failed during preparation or aborted" using devtools::check_rhub()

Viewed 5
  1. I'm using devtools::check_rhub() to prepare the R package update. And I figured out that the 1st link build failed with only the notice as below Build failed during preparation or aborted. (i.e., there is no reason tell me why the R package cannot be build). So that I don't know if I need to modify anything or I can leave it as what it is.

Because the 2nd and 3rd link builds successfully.....

  1. Also, the 3rd link give me notes as below. I'm sure 'V8' package is installed in my laptop. Is that means when I use devtools::check_rhub(), their server currently does not support 'V8'? i.e., Shall I need to modify anything about it? I tried to search what others treat those kind of notes, I saw they just write these notice in their package "news " file?
Skipping checking HTML validation: no command 'tidy' found
Skipping checking math rendering: package 'V8' unavailable

The full checking process is as below:

devtools::check_rhub()

✔  checking for file 'C:\Users\......\myPackage/DESCRIPTION' (339ms)
─  preparing 'myPackage':
✔  checking DESCRIPTION meta-information ... 
─  installing the package to build vignettes
✔  creating vignettes (1m 4.1s)
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building 'myPackage_1.0.1.tar.gz'
   
─  Uploading package
─  Preparing build, see status at
   https://builder.r-hub.io/status/myPackage_1.0.1.tar.gz-................................
   https://builder.r-hub.io/status/myPackage_1.0.1.tar.gz-................................
   https://builder.r-hub.io/status/myPackage_1.0.1.tar.gz-................................
─  Build started
─  Creating new user
─  Downloading and unpacking package file
    

── myPackage 1.0.1: PREPERROR

  Build ID:   myPackage_1.0.1.tar.gz-................................
  Platform:   Windows Server 2022, R-devel, 64 bit
  Submitted:  1h 51m 57s ago
  Build time: 36m 53.3s

❯ Build failed during preparation or aborted

[...]
Started by user r-hub Jenkins admin
Building remotely on win2022...............dx.internal.cloudapp.net-8ad97dc7 (slave rtools4 swarm windows-ucrt windows) in workspace C:\Users\rhub\workspace\myPackage_1.0.1.tar.gz-...............................
[myPackage_1.0.1.tar.gz-........................] $ powershell.exe -NonInteractive -ExecutionPolicy ByPass "& 'C:\Users\rhub\AppData\Local\Temp\2\hudso......................ps1'"


StatusCode        : 200
StatusDescription : OK
Content           : {"status":"ok"}
RawContent        : HTTP/1.1 200 OK
                    Transfer-Encoding: chunked
                    Connection: keep-alive
                    Vary: Accept-Encoding
                    Content-Type: application/json
                    Date: Thu, 22 Sep 2022 11:35:15 GMT
                    Set-Cookie: r-hub frontend=s%...........
Forms             : {}
Headers           : {[Transfer-Encoding, chunked], [Connection, keep-alive], [Vary, Accept-Encoding], [Content-Type, 
                    application/json]...}
Images            : {}
InputFields       : {}
Links             : {}
ParsedHtml        : System.__ComObject
RawContentLength  : 15

VERBOSE: Checking myPackage_1.0.1.tar.gz-.........................

─ Creating new user

VERBOSE: Creating new user...
The command completed successfully.


PSPath            : Microsoft.PowerShell.Core\FileSystem::C:\Users\USERReHPcWTmKF\.R
PSParentPath      : Microsoft.PowerShell.Core\FileSystem::C:\Users\USERReHPcWTmKF
PSChildName       : .R
PSDrive           : C
PSProvider        : Microsoft.PowerShell.Core\FileSystem
PSIsContainer     : True
Name              : .R
FullName          : C:\Users\USERReHPcWTmKF\.R
Parent            : USERReHPcWTmKF
Exists            : True
Root              : C:\
Extension         : .R
CreationTime      : 9/22/2022 1:41:31 PM
CreationTimeUtc   : 9/22/2022 11:41:31 AM
LastAccessTime    : 9/22/2022 1:41:31 PM
LastAccessTimeUtc : 9/22/2022 11:41:31 AM
LastWriteTime     : 9/22/2022 1:41:31 PM
LastWriteTimeUtc  : 9/22/2022 11:41:31 AM
Attributes        : Directory
Mode              : d-----
BaseName          : .R
Target            : {}
LinkType          : 


─ Downloading and unpacking package file

VERBOSE: Downloading https://builder.r-hub.io/file/.............................
VERBOSE: GET https://builder.r-hub.io/file/e............................. with 0-byte payload
VERBOSE: received 1029280-byte response of content type application/octet-stream
Build timed out (after 30 minutes). Marking the build as failed.
Build was aborted


── myPackage 1.0.1: NOTE

  Build ID:   myPackage_1.0.1.tar.gz-.................................
  Platform:   Ubuntu Linux 20.04.1 LTS, R-release, GCC
  Submitted:  1h 51m 57s ago
  Build time: 28m 24.7s

❯ checking CRAN incoming feasibility ... NOTE
  Maintainer: ‘XXX XXX <..............>’
  
  Found the following (possibly) invalid DOIs:
    DOI: ... ...
      From: DESCRIPTION
            inst/CITATION
      Status: Service Unavailable
      Message: 503
  
  The Date field is over a month old.

0 errors ✔ | 0 warnings ✔ | 1 note ✖

── myPackage 1.0.1: NOTE

  Build ID:   myPackage_1.0.1.tar.gz-.........................
  Platform:   Fedora Linux, R-devel, clang, gfortran
  Submitted:  1h 51m 57.1s ago
  Build time: 30m 27.7s

❯ checking CRAN incoming feasibility ... [5s/18s] NOTE
  Maintainer: ‘XXX XXX <.........>’
  
  The Date field is over a month old.

❯ checking HTML version of manual ... NOTE
  Skipping checking HTML validation: no command 'tidy' found
  Skipping checking math rendering: package 'V8' unavailable

0 errors ✔ | 0 warnings ✔ | 2 notes ✖
0 Answers
Related