[R-pkg-devel] Can Submission Failure
Dirk Eddelbuettel
edd @ending from debi@n@org
Tue Aug 7 19:24:28 CEST 2018
On 7 August 2018 at 16:27, Ossenbruggen, Paul wrote:
| I am new to CRAN submissions and need assistance.
|
| I received this set of error messages previously. I removed all these hidden files before resubmitting my package. They are back.
| Question #1 How do I prevent this this?
1. (Optional) Delete them. Write a script named cleanup with executable mode
with calls rm on them. The each build will remove them in its cleanup phase.
2. Add them to .Rbuildignore. See Writing R Extensions for details.
Dirk
| PJO:Desktop PJO$ tar -zcvf Basic.tar.gz Basic
| Found the following hidden files and directories:
|
| .DS_Store
| .RData
| .Rhistory
| ._NAMESPACE
| .gitignore
| .travis.yml
| R/.DS_Store
| R/._brkdelay.R
| R/._brkdelay3.R
| R/._brktrials3.R
| R/._brktrials3setup.R
| R/._merge.R
| R/._merge3.R
| R/._mergedemo.R
| R/._plotdesire3.R
| R/._plotmerge3.R
| R/._run.R
| R/._trajectoryab3.R
| R/._tuxvfix3.R
| R/._vehid.R
| R/._xabmerge.R
| R/._xabmerge3.R
| data/.DS_Store
| data/.Rapp.history
| man/.Rapp.history
| vignettes/._cartools.Rmd
| vignettes/.gitignore
| .Rproj.user
| .git
|
|
| Finding an answer to this question will be a big help.
|
|
| I performed R CMD check and devtools::build_win() before I submitted the above. For completeness, here are my submit statements.
|
| ####################################################################################################
| From: CRAN submission <cran-sysadmin using xmpalantir.wu.ac.at<mailto:cran-sysadmin using xmpalantir.wu.ac.at>>
| Subject: CRAN submission Basic 0.1.0
| Date: August 7, 2018 at 11:29:34 AM EDT
| To: CRAN <cran-submissions using r-project.org<mailto:cran-submissions using r-project.org>>
| Reply-To: Paul J. Ossenbruggen <pjo using unh.edu<mailto:pjo using unh.edu>>
|
|
| The maintainer confirms that he or she
| has read and agrees to the CRAN policies.
|
| Submitter's comment: This submittal passes these checks. However, I am
| uncertain that my submittal succeed. See #1, #2, #3,
| #4 and #5.
|
| R CMD check results
| 0 errors | 0
| warnings | 0 notes
| R CMD check succeeded
|
|
| devtools::build_win()
| Building windows version of
| cartools for R-devel with
| win-builder.r-project.org<http://win-builder.r-project.org/>.
|
| #1. Warning:
| ‘inst/doc’ files
| ‘cartools.Rmd’,
| ‘cartools.html’, ‘cartools.R’
| ignored as
| vignettes have been rebuilt.
| Run R CMD build with
| --no-build-vignettes to prevent rebuilding.
| *
| checking for LF line-endings in source and make files
| and shell scripts
| * checking for empty or unneeded
| directories
| * looking to see if a
| ‘data/datalist’ file should be added
| #2.
| *
| building ‘cartools_0.1.0.tar.gz’
| I don't understand what this file is for. I am uploading: Basic.tar.gz.
|
| #3
| I have instructed the following
| folder to be ignored: .Rproj.user
| It is not ignored
| in GitHub. It contains items that I did not
| create.
| This does not seem correct,
|
| #4. I
| receievd a win-builder email stating:
| Possibly
| mis-spelled words in DESCRIPTION: cartools
| (3:8)
| Unknown, possibly mis-spelled, fields in
| DESCRIPTION: 'Remotes'
| The above items are
| false/postives.
|
| I don't understand the following
| statement.
| The Title field is just the package name:
| provide a real title.
|
| #5. I am a subscriber but my
| questions to r-packages-devel bounce.
|
|
|
|
|
| =================================================
|
| Original content of DESCRIPTION file:
|
| Package: Basic
| Type: Package
| Title: CARTOOLS Package
| Version: 0.1.0
| Author: person("Paul", "Ossenbruggen", email = "pjo using unh.edu<mailto:pjo using unh.edu>", role = c("aut", "cre"))
| Maintainer: "Paul J. Ossenbruggen" <pjo using unh.edu<mailto:pjo using unh.edu>>
| Description: The cartools package is designed for college students studying transportation engineering and for transportation professionals and researchers interested in understanding the complex relationships associated with freeway performance and traffic breakdown. Emphasis is placed on: (1) Traffic noise or volatility; (2) Driver behavior and safety; and (3) Stochastic modeling, models that explain breakdown and performance.
| License: MIT + file LICENSE
| Encoding: UTF-8
| LazyData: true
| Depends: R (>= 2.10)
| RoxygenNote: 6.1.0
| Remotes: pjossenbruggen/Basic
| Imports:
| animation,
| devtools,
| dplyr,
| gapminder,
| ggplot2,
| graphics,
| grDevices,
| knitr,
| rlist,
| rmarkdown,
| roxygen2,
| sde,
| shiny,
| stats,
| tidyverse,
| usethis,
| utils
| Suggests:
| VignetteBuilder: knitr
|
|
|
|
|
|
|
|
|
| [[alternative HTML version deleted]]
|
| ______________________________________________
| R-package-devel using r-project.org mailing list
| https://stat.ethz.ch/mailman/listinfo/r-package-devel
--
http://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org
More information about the R-package-devel
mailing list