Skip to content

[R-pkg-devel] How to submit to CRAN from GitHub?

3 messages · Spencer Graves, Wolfgang Lenhard, David Hugh-Jones

#
Hello:


 ????? Two questions:


HOW TO SUBMIT TO CRAN FROM GITHUB:? Is there a standard method for 
submitting to CRAN from GitHub?? (There's a simple protocol for 
submitting to CRAN from R-Forge, but I've experienced insurmountable 
problems using R-Forge recently.)


PACKAGE STILL FAILING TRAVIS CI:? The latest report from 
builds at travis-ci.org on my Ecdat package for R on GitHub ends with 
"Found warnings, treating as errors (as requested)."? The word "warning" 
appears in that report over 100 times.? I didn't see anything there that 
suggested to me anything I understand how to change.


NOTE:? "R CMD build Ecdat --resave-data" followed by "R CMD check 
Ecdat_0.3.3-tar.gz" completed with no errors, warnings or notes under 
macOS 10.14.6 and Windows 7 and 10.


 ????? Thanks,
 ????? Spencer Graves


-------- Forwarded Message --------
Subject: 	Still Failing: sbgraves237/Ecdat#9 (master - c680f08)
Date: 	Sun, 22 Sep 2019 15:21:08 +0000
From: 	Travis CI <builds at travis-ci.org>
To: 	spencer.graves at effectivedefense.org



sbgraves237

/

Ecdat

<https://travis-ci.org/sbgraves237/Ecdat?utm_medium=notification&utm_source=email> 


branch iconmaster <https://github.com/sbgraves237/Ecdat/tree/master>

build has failed
Build #9 is still failing 
<https://travis-ci.org/sbgraves237/Ecdat/builds/588124072?utm_medium=notification&utm_source=email>
arrow to build time
clock icon5 mins and 8 secs

sbgraves237 avatarsbgraves237

c680f08 CHANGESET ? 
<https://github.com/sbgraves237/Ecdat/compare/cd2bdef45642...c680f08d04b8>

roll date

Want to know about upcoming build environment updates?

Would you like to stay up-to-date with the upcoming Travis CI build 
environment updates? We set up a mailing list for you!

SIGN UP HERE <http://eepurl.com/9OCsP>

book icon

Documentation <https://docs.travis-ci.com/> about Travis CI

Have any questions? We're here to help. <mailto:support at travis-ci.com>
Unsubscribe 
<https://travis-ci.org/account/preferences/unsubscribe?repository=25157200&utm_medium=notification&utm_source=email> 
from build emails from the sbgraves237/Ecdat repository.
To unsubscribe from *all* build emails, please update your settings 
<https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email>. 

black and white travis ci logo <https://travis-ci.com>

Travis CI GmbH, Rigaer Str. 8, 10427 Berlin, Germany | GF/CEO: Randy 
Jacops | Contact: contact at travis-ci.com <mailto:contact at travis-ci.com> | 
Amtsgericht Charlottenburg, Berlin, HRB 140133 B | Umsatzsteuer-ID gem?? 
?27 a Umsatzsteuergesetz: DE282002648
#
Dear Spencer,
release: not directly, but via devtools in RStudio. Please have a look 
at the fantastic description from Hadley Wickham: 
http://r-pkgs.had.co.nz/release.html

Best,
 ??? Wolfgang

Am 22.09.19 um 20:33 schrieb Spencer Graves:
#
If you click on the ?check? log in travis, you will find:

* checking data for ASCII and uncompressed saves ... WARNING
1411
1412 Note: significantly better compression could be obtained
1413 by using R CMD build --resave-data


(Excuse the poor formatting ? posting from my phone.)

This suggests you need to compress your data (there may be a usethis::
function to do this also).

There?s no especial way to submit from GitHub, though I find the approach
taken by devtools::release() to be quite helpful.

D

On Sun, 22 Sep 2019 at 19:33, Spencer Graves <
spencer.graves at effectivedefense.org> wrote: