Skip to content

cran_summary() yields "ERROR: numbers of columns of arguments do not match" #259

@fabian-s

Description

@fabian-s

not sure how to do a reprex for this, so I'll just copy-paste this here:
Running

cran_prep <- rhub::check_for_cran()
cran_prep$cran_summary()

gives me

# Error in rbind(deparse.level, ...) : 
#  numbers of columns of arguments do not match

When I debug manually, I see that

lapply(x, rectangle_status))

yields:

str(lapply(x, rectangle_status))
List of 4
 $ windows-x86_64-devel       :'data.frame':	1 obs. of  7 variables:
  ..$ type     : chr "NOTE"
  ..$ message  : chr "checking package dependencies ... NOTE\nPackages which this enhances but not available for checking:\n  'SemiPar', 'lmerTest'"
  ..$ hash     : chr "919f5b2294aed10f53132c9da4e480d8"
  ..$ package  : chr "RLRsim"
  ..$ version  : chr "3.1-6"
  ..$ submitted: chr "2019-04-24T09:11:00.134Z"
  ..$ platform : chr "windows-x86_64-devel (r-devel)"
 $ ubuntu-gcc-release         :'data.frame':	2 obs. of  7 variables:
  ..$ type     : chr [1:2] "WARNING" "NOTE"
  ..$ message  : chr [1:2] "checking compilation flags used ... WARNING\nCompilation used the following non-portable flag(s):\n  ‘-Wdate-ti"| __truncated__ "checking package dependencies ... NOTE\nPackages which this enhances but not available for checking:\n  ‘SemiPar’ ‘lmerTest’"
  ..$ hash     : chr [1:2] "d5370d55f36105751bc445c7cfe8c32b" "919f5b2294aed10f53132c9da4e480d8"
  ..$ package  : chr [1:2] "RLRsim" "RLRsim"
  ..$ version  : chr [1:2] "3.1-6" "3.1-6"
  ..$ submitted: chr [1:2] "2019-04-24T09:11:00.134Z" "2019-04-24T09:11:00.134Z"
  ..$ platform : chr [1:2] "ubuntu-gcc-release (r-release)" "ubuntu-gcc-release (r-release)"
 $ fedora-clang-devel         :'data.frame':	1 obs. of  7 variables:
  ..$ type     : chr "NOTE"
  ..$ message  : chr "checking package dependencies ... NOTE\nPackages which this enhances but not available for checking:\n  'SemiPar', 'lmerTest'"
  ..$ hash     : chr "919f5b2294aed10f53132c9da4e480d8"
  ..$ package  : chr "RLRsim"
  ..$ version  : chr "3.1-6"
  ..$ submitted: chr "2019-04-24T09:11:00.134Z"
  ..$ platform : chr "fedora-clang-devel (r-devel)"
 $ linux-x86_64-rocker-gcc-san:'data.frame':	1 obs. of  4 variables:
  ..$ package  : chr "RLRsim"
  ..$ version  : chr "3.1-6"
  ..$ submitted: chr "2019-04-24T09:11:00.134Z"
  ..$ platform : chr "linux-x86_64-rocker-gcc-san (r-devel)"

so that last entry messes up the rbind in

result <- do.call("rbind",
....

The package I was doing this for is at https://github.com/fabian-s/RLRsim if you want to try to submit yourself.

In any case, thanks for the great package and the excellent documentation!

(relates to #249, probably...?)

Metadata

Metadata

Assignees

Labels

bugan unexpected problem or unintended behaviorrhub-packageIssues related to the rhub package itself

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions