Giter Club home page Giter Club logo

crant's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

crant's Issues

Readme.md is now used by CRAN and conflicts with github

From Kurt Hornik:

These contain a top-level README.md file, which is now used to generate
a corresponding README.html file on the CRAN package web pages.

Pls check whether your README.md file is in fact appropriate for this
(e.g., not assuming that the content will only be accessed from the
github project page): if not, pls use .Rbuildignore to have README.md
excluded from the versions for publication on CRAN.

rpackage dependencies and early exit

if I run
rpackage -r http://cloud.r-project.org/ igraph reshape2
igraph depend on reshape2, so it will first install reshape2.
Then it starts to deal with reshape2, and it will install reshape2 again.

A better way might be: finding the dependencies of all packages first, do a topological sort to the dependency graph, the install packages from the first to the end.

Also, if we want to install several packages (similar as the above example), and the first package installation fails, then the program will continue to install next package.
It might be better for an early exit.

If we do a topological sort on the dependency graph, and find any package that cannot be installed, we just exit the program and don't continue.

roxygenize blows away NAMESPACE file

Calling roxygenize on the NAMESPACE file ends up in a blank file that removes all exports and imports. What was the intention with roxygenize-ing the NAMESPACE file?

Choose a different name for the main script?

rant is already the Ruby build driver:

Similar to make, the rant commandline tool reads a file called Rantfile, which
contains task definitions. Unlike make, however, an Rantfile is just a valid
script written in the Ruby programming language. Since Ruby comes with many
useful libraries and is portable across many different operating systems, it
is easy to write portable Rantfiles.

rpackage exits cleanly on failed package build

rpackage should return a non-zero exit status if a package build fails.

✗ rpackage ROracle
Installing ROracle
Installing package into ‘/home/anthony/R’
(as ‘lib’ is unspecified)
trying URL 'http://cran.revolutionanalytics.com/src/contrib/ROracle_1.3-1.tar.gz'
Content type 'application/octet-stream' length 308252 bytes (301 KB)
==================================================
downloaded 301 KB

* installing *source* package ‘ROracle’ ...
** package ‘ROracle’ successfully unpacked and MD5 sums checked
configure: error: OCI libraries not found
ERROR: configuration failed for package ‘ROracle’
* removing ‘/home/anthony/R/ROracle’

The downloaded source packages are in
	‘/tmp/RtmpTRflbI/downloaded_packages’
Warning message:
In install.packages("ROracle", repos = "http://cran.revolutionanalytics.com",  :
  installation of package ‘ROracle’ had non-zero exit status
✗ echo $?
0
✗ 

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.