我正在尝试发布一个R包,就像许多包一样,我在DESCRIPTION和CITATION中列出了GitHub page。问题页面也列在说明中。
包裹通过了devtools::build_win()
和builds on Travis CI。我在其中任何一个案例中得到的唯一一个注意事项是关于它是包裹的第一次提交。
但是当我运行devtools::release()
时,NOTE包含以下内容,对于我给出GitHub URL的每个实例重复以下内容:
发现以下(可能)无效网址:
网址: https://github.com/paulhibbing/TwoRegression
来自:描述
状态:错误
消息:libcurl错误代码35
错误:1407742E:SSL例程:SSL23_GET_SERVER_HELLO:tlsv1警报协议版本
这是我的会话信息:
R版本3.2.4修订版(2016-03-16 r70336)平台: i386-w64-mingw32 / i386(32位)运行于:Windows> = 8 x64(build 9200)
locale:1 LC_COLLATE = English_United States.1252 LC_CTYPE = English_United States.1252 [3] LC_MONETARY = English_United States.1252 LC_NUMERIC = C [5] LC_TIME = English_United States.1252
附加基础包:1 stats graphics grDevices utils
数据集方法基础其他附加包:1 TwoRegression_0.1
通过命名空间加载(并未附加):1 Rcpp_0.12.10
rstudioapi_0.7 xml2_1.1.1 magrittr_1.5 roxygen2_6.0.1
[6] devtools_1.12.0 MASS_7.3-45 R6_2.2.2
stringr_1.2.0 dplyr_0.5.0 [11] tools_3.2.4
data.table_1.10.5 DBI_0.7 withr_2.0.0 commonmark_1.2
[16] rprojroot_1.3-2 digest_0.6.12 assertthat_0.2.0 tibble_1.3.0 crayon_1.3.4 [21] tuneR_1.3.2
testthat_1.0.2 curl_2.5 signal_0.7-6 seewave_2.0.5
[26] memoise_1.1.0 stringi_1.1.5 backports_1.1.1 desc_1.1.1
我已尝试从源代码更新curl
,但它失败了:
C:/rtools/gcc-4.6.3/bin /../ LIB / GCC / i686的-W64-的mingw32 / 4.6.3 /../../../../ i686的-W64-的mingw32 /bin/ld.exe:
找不到-lz collect2:ld返回1退出状态没有创建DLL 错误:软件包编译失败'
*删除' C:/Users/Paul/Documents/R/win-library/3.2/curl'
*恢复之前的' C:/Users/Paul/Documents/R/win-library/3.2/curl' install.packages中的警告:运行命令
&#39;&#34; C:/PROGRA~1/R/R-32~1.4RE/bin/i386/R" CMD INSTALL -l <br/> &#34; C:\用户\保罗\文件\ r \赢库\ 3.2&#34;
C:\用户\保罗\应用程序数据\本地的\ Temp \ RtmpAflnM7 / downloaded_packages / curl_3.1.tar.gz&#39;
在安装中有状态1警告。包装:安装包
'curl'具有非零退出状态
我已经在我的系统上安装了curl 7.58.0和OpenSSL 1.1.0f,并且运行curl -I -L https://github.com/paulhibbing/TwoRegression
给出了:
HTTP / 1.1
200 OK
服务器:GitHub.com
日期:太阳,2018年3月11日22:07:34 GMT
内容类型:text / html; charset = utf-8状态:200 OK Cache-Control:
no-cache Vary:X-PJAX X-UA兼容:IE = Edge,chrome = 1 Set-Cookie:
LOGGED_IN =无;域= .github.com;路径= /;到期=星期四,2038年3月11日
22:07:34 -0000;安全; HttpOnly Set-Cookie:_gh_sess = eyJzZXNzaW9uX2lkIjoiODc0MWFkMDU3Y2FhMTU0MDdlMTZkZDkyZmQzNGEyMmEiLCJsYXN0X3JlYWRfZnJvbV9yZXBsaWNhcyI6MTUyMDgwNjA1NDE1OSwic3B5X3JlcG8iOiJwYXVsaGliYmluZy9Ud29SZWdyZXNzaW9uIiwic3B5X3JlcG9fYXQiOjE1MjA4MDYwNTQsIl9jc3JmX3Rva2VuIjoiS3N2UWhwaWl4c1Q0aTFNellwZEF3bUhZbElhdDlvenVsdFQxSWo1VmtSWT0iLCJmbGFzaCI6eyJkaXNjYXJkIjpbImFuYWx5dGljc19sb2NhdGlvbiJdLCJmbGFzaGVzIjp7ImFuYWx5dGljc19sb2NhdGlvbiI6Ii88dXNlci1uYW1lPi88cmVwby1uYW1lPiJ9fX0%3D - 60ed8470ecfccac7fb7187791e4f09f737c1db04;
路径= /;安全; HttpOnly X-Request-Id:
2e7029a9039c25f5ff66f76f9c6d6f59 X-Runtime:0.214595 Expect-CT:
最大年龄= 2592000,
报告-URI =&#34; HTTPS://api.github.com/_private/browser/errors"
内容安全政策:default-src&#39; none&#39 ;; base-uri&#39; self&#39;;
块全混合内容; child-src render.githubusercontent.com;
connect-src&#39; self&#39; uploads.github.com status.github.com
collector.githubapp.com api.github.com www.google-analytics.com
github-cloud.s3.amazonaws.com
github-production-repository-file-5c1aeb.s3.amazonaws.com
github-production-upload-manifest-file-7fdce7.s3.amazonaws.com
github-production-user-asset-6210df.s3.amazonaws.com
WSS://live.github.com; font-src assets-cdn.github.com;形态动作
&#39;自&#39; github.com gist.github.com;框架 - 祖先&#39;无&#39 ;; IMG-SRC
&#39;自&#39; data:assets-cdn.github.com identicons.github.com
collector.githubapp.com github-cloud.s3.amazonaws.com
* .githubusercontent.com; manifest-src&#39; self&#39 ;; media-src&#39; none&#39 ;; script-src assets-cdn.github.com; style-src&#39; unsafe-inline&#39;
assets-cdn.github.com; worker-src&#39; self&#39;严格,运输和安全:
最大年龄= 31536000; includeSubdomains;预加载X-Content-Type-Options:
nosniff X-Frame-Options:拒绝X-XSS-Protection:1;模式=块
X-Runtime-rack:0.222647 X-GitHub-Request-Id:
D287:1BDE1:342EA0F:5B4AB8A:5AA5A8A5
所以我的问题是:
1.为什么我会收到有关无效网址的说明?
2.如果curl_2.5
出现问题,为什么我无法从源代码安装curl_3.1
?