markhwhiteii / bwsTools

Tools for Case 1 Best-Worst Scaling (MaxDiff) Designs
https://osf.io/wb4c3/
Other
13 stars 2 forks source link

cran check #20

Closed markhwhiteii closed 4 years ago

markhwhiteii commented 4 years ago

description note:

* checking DESCRIPTION meta-information ... NOTE
Malformed Description field: should contain one or more complete sentences.
License components which are templates and need '+ file LICENSE':
  MIT
 WARNING

usage issue:

* checking Rd \usage sections ... WARNING
Documented arguments not in \usage in documentation object 'get_eloresults':
  ‘id’

Functions with \usage entries need to have the appropriate \alias
entries, and all their arguments documented.
The \usage entries must correspond to syntactically valid R code.
See chapter ‘Writing R documentation files’ in the ‘Writing R
Extensions’ manual.

"binding and global variable":

* checking R code for possible problems ... NOTE
diffscoring: no visible binding for global variable ‘bws’
e_bayescoring: no visible global function definition for ‘n’
e_bayescoring: no visible binding for global variable ‘worsts’
e_bayescoring: no visible binding for global variable ‘bests’
e_bayescoring: no visible binding for global variable ‘p_j’
e_bayescoring: no visible binding for global variable ‘p_ij’
e_bayescoring: no visible binding for global variable ‘b_ebayes’
eloscoring: no visible binding for global variable ‘.’
eloscoring: no visible binding for global variable ‘elo’
get_eloscores: no visible binding for global variable ‘item’
get_eloscores: no visible binding for global variable ‘elo’
make_bibd: no visible binding for global variable ‘bibds’
Undefined global functions or variables:
  . b_ebayes bests bibds bws elo item n p_ij p_j worsts
markhwhiteii commented 4 years ago

Built and took another pass. More issues:

A:

* checking examples ... ERROR
Running examples in ‘bwstools-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: diffscoring
> ### Title: Difference Method to Calculate Individual Best-Worst Scores
> ### Aliases: diffscoring
> 
> ### ** Examples
> 
> data(indiv)
> head(indiv)
  id block     label value
1  1     1  abortion    -1
2  1     1      race     0
3  1     1     drugs     1
4  1     1 education     0
5  1    10     taxes     0
6  1    10  abortion    -1
> diffscoring(indiv, "id", "label", "value")
Error in get_checks(data, id, block, item, choice) : 
  argument "choice" is missing, with no default
Calls: diffscoring -> get_checks -> %in%
Execution halted

B:

* checking Rd \usage sections ... WARNING
Documented arguments not in \usage in documentation object 'get_eloresults':
  ‘id’

Functions with \usage entries need to have the appropriate \alias
entries, and all their arguments documented.
The \usage entries must correspond to syntactically valid R code.
See chapter ‘Writing R documentation files’ in the ‘Writing R
Extensions’ manual.

C:

* checking top-level files ... NOTE
Files ‘README.md’ or ‘NEWS.md’ cannot be checked without ‘pandoc’ being installed.
markhwhiteii commented 4 years ago

Last one:

* checking DESCRIPTION meta-information ... WARNING
Dependence on R version ‘3.6.1’ not with patchlevel 0
markhwhiteii commented 4 years ago

switched to patchlevel 0. only note is:

* checking CRAN incoming feasibility ...
 NOTE
Maintainer: ‘Mark White <markhwhiteii@gmail.com>’

New submission