Re: [R-pkg-devel] R package CRAN check error
Thanks Hadley, for making us aware of this tool. I have a question: the spellchecker part works (I mean I corrected words that were clearly misspelled leaving acronyms which are common in my field), but I get the following messages after the spell check: * using log directory ‘/private/var/folders/d1/mx6dcbzx3v39r260458z2b20gn/T/RtmpjaaTMI/RJafroc.Rcheck’ * using R version 3.4.3 (2017-11-30) * using platform: x86_64-apple-darwin15.6.0 (64-bit) * using session charset: UTF-8 * using options ‘--run-donttest --as-cran’ * checking for file ‘RJafroc/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘RJafroc’ version ‘1.0.1’ * checking CRAN incoming feasibility ...*Error in aspell(files, filter = list("dcf", ignore = ignore), control = control, : * * No suitable spell-checker program found* Execution halted Was R CMD check successful? 1: Nope 2: No 3: Yes I selected 3. Am I making the right choice? Thanks, Dev On Fri, Feb 16, 2018 at 4:32 PM, Hadley Wickham <h.wick...@gmail.com> wrote: > Or even better, devtools::release(): it walks you through a checklist > of activities designed to make your submission as successful as > possible. > > Hadley > > On Fri, Feb 16, 2018 at 2:46 PM, Georgi Boshnakov > <georgi.boshna...@manchester.ac.uk> wrote: > > You get a source package suitable for submission by running `R CMD check > namepackage' or the equivalent devtools::build() > > > > Georgi > > > > -Original Message- > > From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On > Behalf Of Ilaria Amerise > > Sent: 16 February 2018 11:35 > > To: r-package-devel > > Subject: [R-pkg-devel] R package CRAN check error > > > > Hi everybody, > > > > on submitting a new version of a package I got a rejection because of > the following Error in the CRAN-check. > > > > Any help would be highly appreciated. > > > > * using R version 3.4.3 (2017-11-30) > > * using platform: x86_64-apple-darwin15.6.0 (64-bit) > > * using session charset: UTF-8 > > * using option ‘--as-cran’ > > * checking for file ‘namepackage/DESCRIPTION’ ... OK > > * checking extension type ... Package > > * this is package ‘namepackage’ version ‘1.1.2’ > > * checking CRAN incoming feasibility ... Note_to_CRAN_maintainers > > * checking package namespace information ... OK > > * checking package dependencies ... OK > > * checking if this is a source package ... ERROR Only *source* packages > can be checked. > > * DONE > > Status: 1 ERROR > > > > Best regards, > > Ilaria > > > > __ > > R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/ > listinfo/r-package-devel > > __ > > R-package-devel@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-package-devel > > > > -- > http://hadley.nz > > __ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel > -- Dev Chakraborty, PhD Professor of Radiology retired CEO, ExpertCAD Analytics LLC 412-480-7318 (cell) (412) 427-5085 (alt. cell) 412-349-5305 (land line) *Book website:* https://www.crcpress.com/9781482214840 *Online supplementary material website:* https://bitbucket.org/dpc10ster/onlinebookk21778 <https://www.crcpress.com/9781482214840> *CAD Project website:* www.expertcadanalytics.com *JAFROC website* www.devchakraborty.com [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
Re: [R-pkg-devel] Solaris and ggplot2
Thanks Kevin; I took care of that error but was unable to check my fix on r-hub solaris because ggplot failed to load on solaris; could it be that CRAN uses a different version of solaris that allows ggplot to load? Dev On Tue, Feb 13, 2018 at 6:50 PM Kevin Ushey <kevinus...@gmail.com> wrote: > Hi, > > Glancing at the R CMD check errors, available at: > > > https://www.r-project.org/nosvn/R.check/r-patched-solaris-x86/RJafroc-00install.html > ) > > It seems like the issues relate to ambiguous calls to 'sqrt()'. This > particular issue is discussed in R-exts, at: > > > https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Portable-C-and-C_002b_002b-code > > You would likely be able to resolve this by calling e.g. 'sqrt(2.0)' > instead of 'sqrt(2)'. > > Best, > Kevin > > On Tue, Feb 13, 2018 at 2:58 PM, Dev Chakraborty <dpc10s...@gmail.com> > wrote: > > My package RJafroc, which is currently on CRAN, passes all operating > > systems except solaris-x86-patched, and as a result has been flagged for > > removal. Using R-hub builder, I am unable to reproduce the log file > because > > a required package, ggplot2, does not exist for Solaris. I found the > > following conversation on GitHub at the following URL: > > https://github.com/tidyverse/ggplot2/issues/2273 (the conversation is > > reproduced below). > > > > Could use any advice. Thanks. > > > > Dev > > > > ** > > tdhock commented on Sep 23, 2017 > > Hey there, it seems that ggplot2 on CRAN has an ERROR on solaris > > https://www.r-project.org/nosvn/R.check/r-patched-so > > laris-x86/ggplot2-00check.html because of a test about date scales that > > does not pass. Do you have any plan to fix? > > > > This is an issue for me because I have a package that imports ggplot2, > and > > I would like to use rhub to check it on solaris before submitting it to > > CRAN. *However rhub can not perform the check because the ggplot2 package > > is not available on solaris*. Here is the related issue at rhub > > r-hub/rhub#83 > > > > @hadley > > Owner > > hadley commented on Oct 30, 2017 > > *Probably not, since solaris is going away.* > > > > [[alternative HTML version deleted]] > > > > __ > > R-package-devel@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-package-devel > -- Dev Chakraborty, PhD Professor of Radiology retired CEO, ExpertCAD Analytics LLC 412-480-7318 (cell) (412) 427-5085 (alt. cell) 412-349-5305 (land line) *Book website:* https://www.crcpress.com/9781482214840 *Online supplementary material website:* https://bitbucket.org/dpc10ster/onlinebookk21778 <https://www.crcpress.com/9781482214840> *CAD Project website:* www.expertcadanalytics.com *JAFROC website* www.devchakraborty.com [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
[R-pkg-devel] Solaris and ggplot2
My package RJafroc, which is currently on CRAN, passes all operating systems except solaris-x86-patched, and as a result has been flagged for removal. Using R-hub builder, I am unable to reproduce the log file because a required package, ggplot2, does not exist for Solaris. I found the following conversation on GitHub at the following URL: https://github.com/tidyverse/ggplot2/issues/2273 (the conversation is reproduced below). Could use any advice. Thanks. Dev ** tdhock commented on Sep 23, 2017 Hey there, it seems that ggplot2 on CRAN has an ERROR on solaris https://www.r-project.org/nosvn/R.check/r-patched-so laris-x86/ggplot2-00check.html because of a test about date scales that does not pass. Do you have any plan to fix? This is an issue for me because I have a package that imports ggplot2, and I would like to use rhub to check it on solaris before submitting it to CRAN. *However rhub can not perform the check because the ggplot2 package is not available on solaris*. Here is the related issue at rhub r-hub/rhub#83 @hadley Owner hadley commented on Oct 30, 2017 *Probably not, since solaris is going away.* [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
Re: [R-pkg-devel] Help with CRAN error
Thanks for your suggestion. I do a published book that describes what this package does. Dev On Sun, Feb 4, 2018 at 2:44 PM, Roy Mendelssohn - NOAA Federal < roy.mendelss...@noaa.gov> wrote: > Glad you found the solution. I would add as an aside, I have found a > good vignette is worth the effort. R docs tend to be like Unix docs, > relatively short and terse and can be hard for someone not familiar with > the package what all the options might do. A good vignette allows you to > lay out in detail how to use the package, and to do so in context. > > -Roy > > > On Feb 4, 2018, at 11:32 AM, Dev Chakraborty <dpc10s...@gmail.com> > wrote: > > > > Roy, > > > > I don't use a knitR file, but my DESCRIPTION file had a field: > > > > VignetteBuilder: knitr > > > > Deleting this field solved the problem (i.e., got rid of that message in > my original email) > > > > Thanks for all your help. > > > > Dev > > > > > > > > On Sun, Feb 4, 2018 at 2:05 PM, Roy Mendelssohn - NOAA Federal < > roy.mendelss...@noaa.gov> wrote: > > If you can't find the solution yourself, posting the top matter of your > vignette file would also help. > > > > -Roy > > > > > On Feb 4, 2018, at 10:54 AM, Joshua Ulrich <josh.m.ulr...@gmail.com> > wrote: > > > > > > On Sun, Feb 4, 2018 at 12:47 PM, Dev Chakraborty <dpc10s...@gmail.com> > wrote: > > >> Dear All, > > >> > > >> I get the following message on running R CMD check -- as - cran: > > >> > > >> Package has a VignetteBuilder field but no prebuilt vignette index. > > >> > > >> I do not know how to fix this. Any help will be appreciated. > > >> > > > I don't know how to fix it either. That said, often a great first > > > step is to search for the error. A Google search for, "Package has a > > > VignetteBuilder field but no prebuilt vignette index.", which points > > > to: https://stackoverflow.com/q/30976308. > > > > > > And a Google search "VignetteBuilder" has several promising "how to" > > > results, and there is a "Non-Sweave Vignettes" section of Writing R > > > Extensions: > > > https://cran.r-project.org/doc/manuals/r-release/R-exts. > html#Non_002dSweave-vignettes. > > > > > > It will be easier for others to help you if you can do some > > > investigation on your own and come back with more specifics. > > > > > >> Sincerely, > > >> > > >> Dev > > >> > > >> > > >> -- > > >> Dev Chakraborty, PhD > > >> Professor of Radiology retired > > >> > > >>[[alternative HTML version deleted]] > > >> > > >> __ > > >> R-package-devel@r-project.org mailing list > > >> https://stat.ethz.ch/mailman/listinfo/r-package-devel > > > > > > > > > > > > -- > > > Joshua Ulrich | about.me/joshuaulrich > > > FOSS Trading | www.fosstrading.com > > > R/Finance 2018 | www.rinfinance.com > > > > > > __ > > > R-package-devel@r-project.org mailing list > > > https://stat.ethz.ch/mailman/listinfo/r-package-devel > > > > ** > > "The contents of this message do not reflect any position of the U.S. > Government or NOAA." > > ** > > Roy Mendelssohn > > Supervisory Operations Research Analyst > > NOAA/NMFS > > Environmental Research Division > > Southwest Fisheries Science Center > > ***Note new street address*** > > 110 McAllister Way > > Santa Cruz, CA 95060 > > Phone: (831)-420-3666 > > Fax: (831) 420-3980 > > e-mail: roy.mendelss...@noaa.gov www: http://www.pfeg.noaa.gov/ > > > > "Old age and treachery will overcome youth and skill." > > "From those who have been given much, much will be expected" > > "the arc of the moral universe is long, but it bends toward justice" > -MLK Jr. > > > > > > > > > > -- > > Dev Chakraborty, PhD > > Professor of Radiology retired > > CEO, ExpertCAD Analytics LLC > > 412-480-7318 (cell) > > (412) 427-5085 (alt. cell) > > 412-349-5305 (land line) > > > > Book website: > > https://www.crcpress.com/9781482214840 > > Online supplementary material website: > >
Re: [R-pkg-devel] Help with CRAN error
Roy, I don't use a knitR file, but my DESCRIPTION file had a field: VignetteBuilder: knitr Deleting this field solved the problem (i.e., got rid of that message in my original email) Thanks for all your help. Dev On Sun, Feb 4, 2018 at 2:05 PM, Roy Mendelssohn - NOAA Federal < roy.mendelss...@noaa.gov> wrote: > If you can't find the solution yourself, posting the top matter of your > vignette file would also help. > > -Roy > > > On Feb 4, 2018, at 10:54 AM, Joshua Ulrich <josh.m.ulr...@gmail.com> > wrote: > > > > On Sun, Feb 4, 2018 at 12:47 PM, Dev Chakraborty <dpc10s...@gmail.com> > wrote: > >> Dear All, > >> > >> I get the following message on running R CMD check -- as - cran: > >> > >> Package has a VignetteBuilder field but no prebuilt vignette index. > >> > >> I do not know how to fix this. Any help will be appreciated. > >> > > I don't know how to fix it either. That said, often a great first > > step is to search for the error. A Google search for, "Package has a > > VignetteBuilder field but no prebuilt vignette index.", which points > > to: https://stackoverflow.com/q/30976308. > > > > And a Google search "VignetteBuilder" has several promising "how to" > > results, and there is a "Non-Sweave Vignettes" section of Writing R > > Extensions: > > https://cran.r-project.org/doc/manuals/r-release/R-exts. > html#Non_002dSweave-vignettes. > > > > It will be easier for others to help you if you can do some > > investigation on your own and come back with more specifics. > > > >> Sincerely, > >> > >> Dev > >> > >> > >> -- > >> Dev Chakraborty, PhD > >> Professor of Radiology retired > >> > >>[[alternative HTML version deleted]] > >> > >> __ > >> R-package-devel@r-project.org mailing list > >> https://stat.ethz.ch/mailman/listinfo/r-package-devel > > > > > > > > -- > > Joshua Ulrich | about.me/joshuaulrich > > FOSS Trading | www.fosstrading.com > > R/Finance 2018 | www.rinfinance.com > > > > __ > > R-package-devel@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-package-devel > > ** > "The contents of this message do not reflect any position of the U.S. > Government or NOAA." > ** > Roy Mendelssohn > Supervisory Operations Research Analyst > NOAA/NMFS > Environmental Research Division > Southwest Fisheries Science Center > ***Note new street address*** > 110 McAllister Way > Santa Cruz, CA 95060 > Phone: (831)-420-3666 > Fax: (831) 420-3980 > e-mail: roy.mendelss...@noaa.gov www: http://www.pfeg.noaa.gov/ > > "Old age and treachery will overcome youth and skill." > "From those who have been given much, much will be expected" > "the arc of the moral universe is long, but it bends toward justice" -MLK > Jr. > > -- Dev Chakraborty, PhD Professor of Radiology retired CEO, ExpertCAD Analytics LLC 412-480-7318 (cell) (412) 427-5085 (alt. cell) 412-349-5305 (land line) *Book website:* https://www.crcpress.com/9781482214840 *Online supplementary material website:* https://bitbucket.org/dpc10ster/onlinebookk21778 <https://www.crcpress.com/9781482214840> *CAD Project website:* www.expertcadanalytics.com *JAFROC website* www.devchakraborty.com [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
[R-pkg-devel] Help with CRAN error
Dear All, I get the following message on running R CMD check -- as - cran: Package has a VignetteBuilder field but no prebuilt vignette index. I do not know how to fix this. Any help will be appreciated. Sincerely, Dev -- Dev Chakraborty, PhD Professor of Radiology retired [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
Re: [R-pkg-devel] Help with correcting error in package
Thank you; this is most helpful; Dev On Sat, Feb 3, 2018 at 1:16 PM, Joshua Ulrich <josh.m.ulr...@gmail.com> wrote: > On Sat, Feb 3, 2018 at 11:44 AM, Dev Chakraborty <dpc10s...@gmail.com> > wrote: > > Dear All, > > > > I tried unsuccessfully to upload a package named RJafroc to CRAN. On my > OSX > > machine it passes R CMD Check with no errors, warnings or notes. > However, I > > get the following output from CRAN, from which I cannot tell which > function > > is causing the error (I am truncating the intermediate lines, which > appear > > to be the opening screen upon starting R, with ellipses; the full output > > produced by the CRAN pre-test is attached): > > > Submit your package to http://win-builder.r-project.org. That will > provide you access to all the output in the Rcheck.RJafroc directory. > > Also note that the "Confirmation" step of the submission process > suggests, "You could [run R CMD check] using the win-builder service > at http://win-builder.r-project.org;. And the CRAN Repository Policy > says, "It should be normal for those without Windows machines of their > own to use the winbuilder service to check a package before > submission." You could also use https://builder.r-hub.io/. Both are > great resources for the community. > > > > > > > *** running examples for arch 'x64' ... ERROR* > > > > > > *Running examples in 'RJafroc-Ex.R' failed* > > > > > > *The error occurred in:* > > > > > > *R Under development (unstable) (2018-02-01 r74194) -- "Unsuffered > > Consequences"* > > > > *Copyright (C) 2018 The R Foundation for Statistical Computing* > > > > *Platform: x86_64-w64-mingw32/x64 (64-bit)* > > > > > > *R is free software and comes with ABSOLUTELY NO WARRANTY.* > > > > *You are welcome to redistribute it under certain conditions* > > > > > > *...* > > > > *...* > > > > *Type 'q()' to quit R.* > > > > > > *> pkgname <- "RJafroc"* > > > > *> source(file.path(R.home("share"), "R", "examples-header.R"))* > > > > > > Thanking you in advance for any help rendered, > > > > Sincerely, > > > > Dev > > > > -- > > Dev Chakraborty, PhD > > Professor of Radiology, retired > > __ > > R-package-devel@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-package-devel > > > > -- > Joshua Ulrich | about.me/joshuaulrich > FOSS Trading | www.fosstrading.com > R/Finance 2018 | www.rinfinance.com > -- Dev Chakraborty, PhD Professor of Radiology retired CEO, ExpertCAD Analytics LLC 412-480-7318 (cell) (412) 427-5085 (alt. cell) 412-349-5305 (land line) *Book website:* https://www.crcpress.com/9781482214840 *Online supplementary material website:* https://bitbucket.org/dpc10ster/onlinebookk21778 <https://www.crcpress.com/9781482214840> *CAD Project website:* www.expertcadanalytics.com *JAFROC website* www.devchakraborty.com [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
[R-pkg-devel] Help with correcting error in package
Dear All, I tried unsuccessfully to upload a package named RJafroc to CRAN. On my OSX machine it passes R CMD Check with no errors, warnings or notes. However, I get the following output from CRAN, from which I cannot tell which function is causing the error (I am truncating the intermediate lines, which appear to be the opening screen upon starting R, with ellipses; the full output produced by the CRAN pre-test is attached): *** running examples for arch 'x64' ... ERROR* *Running examples in 'RJafroc-Ex.R' failed* *The error occurred in:* *R Under development (unstable) (2018-02-01 r74194) -- "Unsuffered Consequences"* *Copyright (C) 2018 The R Foundation for Statistical Computing* *Platform: x86_64-w64-mingw32/x64 (64-bit)* *R is free software and comes with ABSOLUTELY NO WARRANTY.* *You are welcome to redistribute it under certain conditions* *...* *...* *Type 'q()' to quit R.* *> pkgname <- "RJafroc"* *> source(file.path(R.home("share"), "R", "examples-header.R"))* Thanking you in advance for any help rendered, Sincerely, Dev -- Dev Chakraborty, PhD Professor of Radiology, retired __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel