Invalid URL in CRAN checks - r

I'm trying to update a package in CRAN and I get these errors:
Found the following (possibly) invalid URLs:
URL: https://doi.org/10.1175/1520-0469(1985)042<0217:OTTDPO>2.0.CO;2
From: man/EPflux.Rd
Status: Error
Message: libcurl error code 35:
schannel: next InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE (0x80090326) - This error usually occurs when a fatal SSL/TLS alert is received (e.g. handshake failed).
The URLs are valid and are actually created with the \doi{} macro (e.g. \doi{10.1175/1520-0469(1985)042<0217:OTTDPO>2.0.CO;2})
Even using encoded URLs (per stevec's suggestion)fail with the same error:
Found the following (possibly) invalid URLs:
URL: https://doi.org/10.1175/1520-0469(1985)042%3C0217:OTTDPO%3E2.0.CO;2
From: man/EPflux.Rd
Status: Error
Message: libcurl error code 35:
schannel: next InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE (0x80090326) - This error usually occurs when a fatal SSL/TLS alert is received (e.g. handshake failed).
Any advice on how to solve this?

I think the reason this is happening is because
https://doi.org/10.1175/1520-0469(1985)042<0217:OTTDPO>2.0.CO;2
is redirecting to
https://journals.ametsoc.org/view/journals/atsc/42/3/1520-0469_1985_042_0217_ottdpo_2_0_co_2.xml
Can you try changing the URL to https://journals.ametsoc.org/view/journals/atsc/42/3/1520-0469_1985_042_0217_ottdpo_2_0_co_2.xml and see if that passes the check?
Another possibility
From here):
some (DOIs) require encoding so that the DOI works correctly when used in URL form
So you perhaps you can encode the url first
URLencode("https://doi.org/10.1175/1520-0469(1985)042<0217:OTTDPO>2.0.CO;2")
[1] "https://doi.org/10.1175/1520-0469(1985)042%3C0217:OTTDPO%3E2.0.CO;2"
Also note:
We strongly recommend that only the following characters are used within a DOI name: “0–9”, “a–z”, and “-._/”.
So perhaps the < characters are causing this issue? (possibly ( too)
Another idea
Noting this from the error message:
This error usually occurs when a fatal SSL/TLS alert is received (e.g. handshake failed).
If we try again not worrying about ssl, that may work.
In otherwords, try using this url instead: http://doi.org/10.1175/1520-0469(1985)042<0217:OTTDPO>2.0.CO;2

Hadley suggested that those notes can be safely ignored. I sent the package to CRAN and was accepted.
The answer, then, is to just ignore these Notes.

Related

UCX warn unexpected tag-receive

What can the following be due to / how to debug it? it happens when closing my MPI application
[1612979755.727913] [compute-0-9:21112:0] tag_match.c:61 UCX WARN unexpected tag-receive descriptor 0x2b2bf64cdbc0 was not matched
Assuming the application exited normally, this probably means that some process sent a message (e.g. calling MPI_Send) to a destination process that did not post a matching receive before calling MPI_Finalize. See https://github.com/openucx/ucx/issues/6331#issuecomment-778428537

Authentication issue with R's bigrquery

This post makes it clear that the function bq_auth() should be used to authenticate BigQuery in R. However, I have created a BigQuery-Admin service account, downloaded a service account key, and have passed that key into the bq_auth() function, yet I continue to receive the error:
> bigrquery::bq_auth(path = '/Users/nicholas/Downloads/just_downladed_this_key.json')
trying token_fetch()
trying credentials_service_account()
adding 'userinfo.email' scope
Error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.5/Resources/library/openssl/libs/openssl.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.5/Resources/library/openssl/libs/openssl.so, 6): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.5/Resources/library/openssl/libs/openssl.so
Reason: image not found
trying credentials_app_default()
file exists at ADC path: /Users/nicholas/.config/gcloud
Error: parse error: premature EOF
(right here) ------^
trying credentials_gce()
Error: argument is of length zero
trying credentials_byo_oauth()
Error: inherits(token, "Token2.0") is not TRUE
trying credentials_user_oauth2()
Gargle2.0 initialize
attempt from: bigrquery
adding 'userinfo.email' scope
loading token from the cache
Error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.5/Resources/library/openssl/libs/openssl.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.5/Resources/library/openssl/libs/openssl.so, 6): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.5/Resources/library/openssl/libs/openssl.so
Reason: image not found
It looks like I've got an openssl / libssl issue on my hands...
Reinstalling the openssl library in R, and then rebooting R, did the trick. Running options(gargle_quiet = FALSE) to expose the logs of the error is what really did the trick tho, because it exposed the problem.

Error loading repositories

In the Azure portal, when I go to my Container Registry and click on Repositories (under Services), my repositories don't load and I get the error message Error loading repositories.
The console of Chrome contains the following error messages:
GET https://REMOVED.azurecr.io/v2/_catalog 401 (Unauthorized) - REMOVED.azurecr.io/v2/_catalog:1
[Microsoft_Azure_ContainerRegistries] 1:20:06 PM -
efe5474C39B089216811DEA68B8392644A0C676A067.js:24 (With body:)
MsPortalFx.Base.Diagnostics.ErrorReporter 1 MsPortalFx.Base.Diagnostics.ErrorReporter: _errorData: undefined
_sourceErrorLevel: undefined
baseTypes: ["MsPortalFx.Errors.AjaxError","MsPortalFx.Errors.Error"]
code: undefined
data: {"type":"GET","sessionId":"9e259d2b5dab4ad2972a1e6b76e844d2","status":401,"statusText":"Unauthorized","duration":28.5}
errorLevel: 2
errorThrown: Unauthorized
extension: Microsoft_Azure_ContainerRegistries
handled: undefined
innerErrors: []
jqXHR: {"readyState":4,"responseText":"{\"errors\":[{\"code\":\"UNAUTHORIZED\",\"message\":\"authentication required\",\"detail\":[{\"Type\":\"registry\",\"Name\":\"catalog\",\"Action\":\"*\"}]}]}\n","responseJSON":{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":[{"Type":"registry","Name":"catalog","Action":"*"}]}]},"status":401,"statusText":"Unauthorized"}
message: ajaxExtended call failed
name: Error
source: undefined
stack: null
textStatus: error
timestamp: 1567.8750000000002
type: MsPortalFx.Errors.AjaxError
The error says I'm unauthorized, but I have the Owner role, so this should not be possible. Other users that are owner don't get this error.
Any clue how I can fix this?
The error resolved itself after a couple of days.
I tried using a different browser and a different computer. Both methods still showed the error. So I think it might have been a bug.
just uploaded my AKS and needed to pull lots of images from ACR. also got error afterwards due to load:
{"type":"MsPortalFx.Errors.FetchDataError","baseTypes":["MsPortalFx.Errors.FetchDataError","MsPortalFx.Errors.DataError","MsPortalFx.Errors.Error"],"_errorData":{"readyState":4,"responseText":"","status":500,"statusText":"Internal Server Error"},"extension":"Microsoft_Azure_ContainerRegistries","errorLevel":2,"timestamp":10180.93499999668,"source":"DataCache:2:3","message":"","name":"Error","innerErrors":[],"dataSetName":"DataCache:2:3"}

RSelenium Error in envRefInferField

I am struggling all day with RSelenium. I have read everything I could find on net about the issue. And after all I am getting some earnings and errors I didn't get in the first place. When I execute checkForServer(), I get the watning:
Warning message:
checkForServer is deprecated.
Users in future can find the function in file.path(find.package("RSelenium"), "example/serverUtils").
The sourcing/starting of a Selenium Server is a users responsiblity.
Options include manually starting a server see vignette("RSelenium-basics", package = "RSelenium")
and running a docker container see vignette("RSelenium-docker", package = "RSelenium")
When I execute startServer(), I get the same warning as above.
In the end, when I run the code remDr <-remoteDriver() and remDr$open(), I get error:
Selenium message: The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see https://github.com/mozilla/geckodriver. The latest version can be downloaded from https://github.com/mozilla/geckodriver/releases
Error: Summary: UnknownError
Detail: An unknown server-side error occurred while processing the command.
class: java.lang.IllegalStateException
Further Details: run errorDetails method
I have also tried with chrome, but without succes.

Drupal 7 uuid.module Database update 7103 fails

I finished upgrading a Drupal 6 site to Drupal 7. All fields have been migrated. When I run update now I get this UUID error
An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: http://drupal220/update.php?
op=selection&token=bLDFFBM8NZi09U0is5p6eim_do1vePHV5iNjLWLu8u4&id=10&op=do StatusText: OK ResponseText: Fatal error: Cannot access empty property in C:\xampp\htdocs\drupal220\sites\all\modules\uuid\uuid.install on line 266
The update process was aborted prematurely while running update #7103 in uuid.module. All errors have been logged. You may need to check the watchdog database table
manually.
Watchdog report
Location http://drupal220/update.php?op=selection&token=bLDFFBM8NZi09U0is5p6eim_do1vePHV5iNjLWLu8u4&id=9&op=do
Referrer http://drupal220/update.php?op=selection&token=bLDFFBM8NZi09U0is5p6eim_do1vePHV5iNjLWLu8u4&op=start&id=9
Message Notice: Undefined index: label in uuid_update_7103() (line 266 of C:\xampp\htdocs\drupal220\sites\all\modules\uuid\uuid.install).
It seems is an error from the uuid module, try to downgrade the version to 7.x-1.0-alpha5 and I think it fixes the error.
You can download this version here.

Resources