确认包上传到了cran

时间:2013-01-31 05:36:41

标签: r package

我在Windows框中使用了命令提示符下的代码(linux机器正在运行):

ftp -u ftp://cran.R-project.org/incoming/ qdap_0.1.0.tar.gz

我使用了以下信息:

https://github.com/hadley/devtools/wiki/Release
http://cran.r-project.org/doc/manuals/R-exts.html#Submitting-a-package-to-CRAN

我希望看到它出现在这里:ftp://cran.r-project.org/incoming/但我看不到它。

我只是不耐烦或我的包裹没有上传?这是命令行输出:

C:\Users\trinker\GitHub>ftp -u ftp://cran.R-project.org/incoming/ qdap_0.1.0.tar
.gz

Transfers files to and from a computer running an FTP server service
(sometimes called a daemon). Ftp can be used interactively.

FTP [-v] [-d] [-i] [-n] [-g] [-s:filename] [-a] [-A] [-x:sendbuffer] [-r:recvbuf
fer] [-b:asyncbuffers] [-w:windowsize] [host]

  -v              Suppresses display of remote server responses.
  -n              Suppresses auto-login upon initial connection.
  -i              Turns off interactive prompting during multiple file
                  transfers.
  -d              Enables debugging.
  -g              Disables filename globbing (see GLOB command).
  -s:filename     Specifies a text file containing FTP commands; the
                  commands will automatically run after FTP starts.
  -a              Use any local interface when binding data connection.
  -A              login as anonymous.
  -x:send sockbuf Overrides the default SO_SNDBUF size of 8192.
  -r:recv sockbuf Overrides the default SO_RCVBUF size of 8192.
  -b:async count  Overrides the default async count of 3
  -w:windowsize   Overrides the default transfer buffer size of 65535.
  host            Specifies the host name or IP address of the remote
                  host to connect to.

Notes:
  - mget and mput commands take y/n/q for yes/no/quit.
  - Use Control-C to abort commands.

1 个答案:

答案 0 :(得分:3)

(这是以前的评论,现在转移到答案。)

  1. 确保您没有查看浏览器之前缓存的页面。

  2. 要执行实际上传,您可能需要尝试免费的跨平台FileZilla FTP软件。您可以upload and concurrently view计算机上的源目录(在左窗格中)和CRAN上的目标目录(在右窗格中)的内容,并查看顶部窗格中发生的事情的日志和进度指示器在底部窗格中。它还有site manager来存储您上传的网站,因此您无需在每次上传时都输入网址。