Git Product home page Git Product logo

Comments (2)

qinwf avatar qinwf commented on September 28, 2024

我一般会用devtools Travis CI做R CMD check,devtools的check()函数是这样的

check <- function(pkg = ".", document = TRUE, cleanup = TRUE, cran = TRUE,
                  check_version = FALSE, force_suggests = TRUE, args = NULL,
                  build_args = NULL, quiet = FALSE, check_dir = tempdir()) {

............................................................
  built_path <- build(pkg, tempdir(), quiet = quiet, args = build_args)
  on.exit(unlink(built_path), add = TRUE)

  r_cmd_check_path <- check_r_cmd(built_path, cran, check_version,
    force_suggests, args, quiet = quiet, check_dir = check_dir)
...........................................................
}

devtools是会先build 后check。

jiebaR在DESCRIPTION里面有 Author@R 这一项,这个项会在build的时候自动生成另一个Author项。在check的时候如果这一项缺了就,会出现上面的提示。所以先build一下,再check应该就行了。

我回去认真研读了一下Writing R Extensions,发现c++11的支持是从 3.1.0开始的,在3.0.3里可能不能build成功。所以刚刚更新了一下depend项。

还有从Writing R Extensions里面发现的,如果引用了外部的源代码,作者里面也是要把引用的情况加上的,所有加了一个Authors 项。

谢谢你的 issue!

from jiebar.

qinwf avatar qinwf commented on September 28, 2024

parallel的分支不是很稳定,没写完,还在加油。

from jiebar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.