Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ijlyttle
Copy link
Member

@ijlyttle ijlyttle commented Nov 16, 2019

Hi @nathancday - I thought I would "live-blog" what I'm doing here. It's just a series of manual checks based of:

I'll try to fill in the blanks in the comments.

@ijlyttle ijlyttle requested a review from nathancday November 16, 2019 13:24
@codecov-io
Copy link

codecov-io commented Nov 16, 2019

Codecov Report

Merging #137 into master will decrease coverage by 53.61%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #137       +/-   ##
==========================================
- Coverage   54.93%   1.32%   -53.62%     
==========================================
  Files          24      24               
  Lines        1509    1509               
==========================================
- Hits          829      20      -809     
- Misses        680    1489      +809
Impacted Files Coverage Δ
R/boxr_s3_classes.R 0% <ø> (-14.12%) ⬇️
R/boxr_auth.R 1.5% <ø> (-26.14%) ⬇️
R/boxr_write.R 0% <ø> (-44.45%) ⬇️
R/boxr_dir_verbs.R 0% <ø> (-99.11%) ⬇️
R/boxr_search.R 0% <ø> (ø) ⬆️
R/boxr_source.R 0% <0%> (-100%) ⬇️
R/boxr__internal_update_upload.R 0% <0%> (-100%) ⬇️
R/boxr__internal_verb_exit.R 0% <0%> (-98.31%) ⬇️
R/boxr__internal_diff_and_delete.R 0% <0%> (-97.88%) ⬇️
... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4ae5ca6...a2a7896. Read the comment docs.

@ijlyttle
Copy link
Member Author

Kicked off:

devtools::check_win_devel()

To check on the CRAN Windows service that checks on R-devel version - results in a wee while.

@nathancday
Copy link
Member

just tuned in to the live stream

Looking good!

@ijlyttle
Copy link
Member Author

First feedback - minor setback. Email from win-devel service:

Dear package maintainer,

this notification has been generated automatically.
Your package boxr_0.3.5.tar.gz has been built (if working) and checked for Windows.
Please check the log files and (if working) the binary package at: https://win-builder.r-project.org/3IwWWFu6tXaO/
The files will be removed after roughly 72 hours.
Installation time in seconds: 12
Check time in seconds: 106
Status: 1 NOTE
R Under development (unstable) (2019-11-12 r77405)

All the best,
Uwe Ligges
(CRAN maintainer of binary packages for Windows)

This leads to https://win-builder.r-project.org/3IwWWFu6tXaO/00check.log, which states:

* checking CRAN incoming feasibility ... NOTE
Maintainer: 'Ian Lyttle <[email protected]>'

New maintainer:
  Ian Lyttle <[email protected]>
Old maintainer(s):
  Brendan Rocks <[email protected]>

Found the following (possibly) invalid file URIs:
  URI: README.md
    From: NEWS.md
  URI: R/README.md
    From: NEWS.md

The new-maintainer note is to be expected - gotta fix something in the NEWS...

@ijlyttle
Copy link
Member Author

Fixed (🤞), rinse-and-repeat with check_win_devel().

@ijlyttle
Copy link
Member Author

We got a clean check this time 🎉: https://win-builder.r-project.org/9GR231rqGSnX/00check.log

Next - r-hub checks

@nathancday
Copy link
Member

Yeaaaa buddy!

@ijlyttle
Copy link
Member Author

ijlyttle commented Nov 16, 2019

Following: https://gargle.r-lib.org/articles/articles/managing-tokens-securely.html

They suggest:

rhub::check(env_vars = Sys.getenv(gargle:::secret_pw_name("gargle"), names = TRUE))

for us, this becomes:

rhub::check(env_vars = Sys.getenv(gargle:::secret_pw_name("boxr"), names = TRUE))

I might do this first, before the CRAN checks, to run the API tests - maybe it will be separate from the CRAN checks.

Choosing option 1: Debian Linux, R-devel, clang, ISO-8859-15 locale (debian-clang-devel)

@nathancday
Copy link
Member

Maybe we don't even test on rhub? We have working tests on Travis for peace of mind, and even there sometime we have to restart a build to get it to work

@nathancday
Copy link
Member

i.e. Just pass the empty "" in?

@ijlyttle
Copy link
Member Author

ijlyttle commented Nov 16, 2019

Getting what I think is an unrelated error at rhub: https://builder.r-hub.io/status/boxr_0.3.5.tar.gz-fb2edf8f6c8d489a9dc9e06a936b4fa9

It seems not to be able to load a package.

I agree that this is a bit unrelated, but I wanted to test out the auth system, as advertised.

I think I might move straight for the CRAN checks at r-hub, not using auth:

rhub::check_for_cran()

(just did)

Here's the live status of each:

https://builder.r-hub.io/status/boxr_0.3.5.tar.gz-71793aef252c4e8b98fcfbec3663021c
https://builder.r-hub.io/status/boxr_0.3.5.tar.gz-94d58950645d4d58b8300f0062bd5988
https://builder.r-hub.io/status/boxr_0.3.5.tar.gz-8046cb90d92e483d9c09233da75e6780

@nathancday
Copy link
Member

100% unrelated, we don't have any Bioconducter dependencies, I'm guessing the Rhub image just pulls all possible installer packages first, BiocManager being one of them.

Not sure this won't crop up later on the psuedo-CRAN check too...

@ijlyttle
Copy link
Member Author

Agreed - sometimes r-hub gets a bit "out-of-sorts", but it has given me useful feedback.

One of the submissions has come back OK - I'll wait a little while for the others.

@nathancday
Copy link
Member

I'm guessing they will all be okay, the Windows build is the most different from the Travis env.

I have to log off the stream, but if anything comes up let me know and I'll be back later this afternoon. 🤞

@ijlyttle
Copy link
Member Author

rhub checks come back OK

@ijlyttle
Copy link
Member Author

ijlyttle commented Nov 16, 2019

My plan is:

  • spell-check the function-documentation
  • run remote (win-devel, rhub) checks again
  • submit

@ijlyttle
Copy link
Member Author

ijlyttle commented Nov 16, 2019

Am just reminded of devtools::spell_check(), which would have been useful to remember earlier...

@ijlyttle
Copy link
Member Author

🚀

@ijlyttle ijlyttle changed the title Update version, add news-item for insistent auth CRAN Release 0.3.5 Nov 16, 2019
@ijlyttle
Copy link
Member Author

On CRAN 🎉

@ijlyttle ijlyttle marked this pull request as ready for review November 19, 2019 12:09
@ijlyttle ijlyttle merged commit a809698 into r-box:master Nov 19, 2019
@ijlyttle ijlyttle deleted the cran-release branch November 19, 2019 12:09
@nathancday
Copy link
Member

Stickers inbound! I'm putting one on my machine tonight! Damn it feels good!

@ijlyttle
Copy link
Member Author

Indeed! Thanks for everything you've done!

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

Successfully merging this pull request may close these issues.

3 participants