Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report modification date in cran_details()? #48

Open
krlmlr opened this issue Feb 22, 2022 · 0 comments
Open

Report modification date in cran_details()? #48

krlmlr opened this issue Feb 22, 2022 · 0 comments

Comments

@krlmlr
Copy link

krlmlr commented Feb 22, 2022

It seems that we can query the modification date for check result files.

Right now, winch sees a warning with some flavor of R-devel:

foghorn::cran_details("winch")
#> # A tibble: 1 × 7
#>   package version result check                         flavors n_flavors message
#>   <chr>   <chr>   <chr>  <chr>                         <chr>       <dbl> <chr>  
#> 1 winch   0.0.7   WARN   whether package can be insta… r-deve…         2 "     …

Created on 2022-02-22 by the reprex package (v2.0.1)

I pasted the current state of CRAN's check result overview at the end. The "-TK" flavor succeeds, I don't understand why. Checking the headers for the details gives:

~ curl -I https://www.r-project.org/nosvn/R.check/r-devel-windows-x86_64-new-UL/winch-00check.html
HTTP/1.1 200 OK
Date: Tue, 22 Feb 2022 04:10:04 GMT
Server: Apache
Last-Modified: Sun, 20 Feb 2022 03:09:28 GMT
ETag: "1519-5d86a71a1f6eb"
Accept-Ranges: bytes
Content-Length: 5401
Vary: Accept-Encoding
Content-Type: text/html

~ curl -I https://www.r-project.org/nosvn/R.check/r-devel-windows-x86_64-new-TK/winch-00check.html
HTTP/1.1 200 OK
Date: Tue, 22 Feb 2022 04:10:15 GMT
Server: Apache
Last-Modified: Mon, 21 Feb 2022 16:03:34 GMT
ETag: "1320-5d8895fe12319"
Accept-Ranges: bytes
Content-Length: 4896
Vary: Accept-Encoding
Content-Type: text/html

The Last-Modified: entry coincides with the R versions shown in the log: r81760 vs. r81775.

Should we fetch and display modification times for those log files? Should there also be an option to show all results (also the successful ones) in cran_details() ?

CRAN Package Check Results for Package winch

Last updated on 2022-02-22 04:49:34 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.7 15.46 45.74 61.20 OK
r-devel-linux-x86_64-debian-gcc 0.0.7 9.19 36.42 45.61 OK
r-devel-linux-x86_64-fedora-clang 0.0.7 78.25 OK
r-devel-linux-x86_64-fedora-gcc 0.0.7 61.03 OK
r-devel-windows-x86_64-new-UL 0.0.7 277.00 82.00 359.00 WARN
r-devel-windows-x86_64-new-TK 0.0.7 OK
r-patched-linux-x86_64 0.0.7 10.52 43.68 54.20 OK
r-release-linux-x86_64 0.0.7 10.39 42.74 53.13 OK
r-release-macos-arm64 0.0.7 OK
r-release-macos-x86_64 0.0.7 OK
r-release-windows-ix86+x86_64 0.0.7 74.00 67.00 141.00 OK
r-oldrel-macos-x86_64 0.0.7 OK
r-oldrel-windows-ix86+x86_64 0.0.7 75.00 67.00 142.00 OK

Check Details

Version: 0.0.7


Check: whether package can be installed


Result: WARN


    Found the following significant warnings:

     trace_back_backtrace.c:87:19: warning: too many arguments for format [-Wformat-extra-args]


Flavor: r-devel-windows-x86_64-new-UL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant