-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some tests fail on windows #33
Comments
There are apparently a few undocumented things? ==> devtools::check()
Updating ompr documentation
Loading ompr
Setting env vars ---------------------------------------------------------------
CFLAGS : -Wall -pedantic
CXXFLAGS: -Wall -pedantic
Building ompr ------------------------------------------------------------------
"C:/PROGRA~1/R/R-32~1.4/bin/x64/R" --no-site-file --no-environ --no-save \
--no-restore --quiet CMD build "C:\Users\Maelle\Documents\ompr" \
--no-resave-data --no-manual
* checking for file 'C:\Users\Maelle\Documents\ompr/DESCRIPTION' ... OK
* preparing 'ompr':
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... OK
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building 'ompr_0.1.4.tar.gz'
Setting env vars ---------------------------------------------------------------
_R_CHECK_CRAN_INCOMING_ : FALSE
_R_CHECK_FORCE_SUGGESTS_: FALSE
Checking ompr ------------------------------------------------------------------
"C:/PROGRA~1/R/R-32~1.4/bin/x64/R" --no-site-file --no-environ --no-save \
--no-restore --quiet CMD check \
"C:\Users\Maelle\AppData\Local\Temp\RtmpMvCD5j/ompr_0.1.4.tar.gz" --as-cran \
--timings --no-manual
* using log directory 'C:/Users/Maelle/Documents/ompr.Rcheck'
* using R version 3.2.4 (2016-03-10)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* using options '--no-manual --as-cran'
* checking for file 'ompr/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'ompr' version '0.1.4'
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking whether package 'ompr' can be installed ... WARNING
Found the following significant warnings:
Warning: undefined slot classes in definition of "Model": objective(class "ObjectiveFunction")
See 'C:/Users/Maelle/Documents/ompr.Rcheck/00install.out' for details.
* checking installed package size ... OK
* checking package directory ... OK
* checking 'build' directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking loading without being on the library search path ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd line widths ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... WARNING
Undocumented code objects:
'add_constraint' 'extract_coefficients' 'get_solution' 'is_defined'
'solve_model' 'sum_exp'
Undocumented S4 classes:
'Constraint'
Undocumented S4 methods:
generic 'add_constraint' and siglist 'Model'
generic 'add_variable' and siglist 'Model'
generic 'get_solution' and siglist 'Solution'
generic 'is_defined' and siglist 'Model'
generic 'set_objective' and siglist 'Model'
generic 'show' and siglist 'Model'
generic 'show' and siglist 'Solution'
generic 'solve_model' and siglist 'Model,function'
All user-level objects in a package (including S4 classes and methods)
should have documentation entries.
See chapter 'Writing R documentation files' in the 'Writing R
Extensions' manual.
* checking for code/documentation mismatches ... WARNING
S4 class codoc mismatches from documentation object 'Variable-class':
Slots for class 'Variable'
Code: arity instances lb type ub variable_expression
variable_quantifiers
Docs: arity lb type ub
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
WARNING
'qpdf' is needed for checks on size reduction of PDFs
* checking installed files from 'inst/doc' ... OK
* checking files in 'vignettes' ... OK
* checking examples ... OK
* checking for unstated dependencies in 'tests' ... OK
* checking tests ...
Running 'testthat.R' OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in 'inst/doc' ... OK
* checking running R code from vignettes ...
'problem-tsp.Rmd' using 'UTF-8' ... OK
OK
* checking re-building of vignette outputs ... OK
* DONE
Status: 4 WARNINGs
See
'C:/Users/Maelle/Documents/ompr.Rcheck/00check.log'
for details.
checking whether package 'ompr' can be installed ... WARNING
Found the following significant warnings:
Warning: undefined slot classes in definition of "Model": objective(class "ObjectiveFunction")
See 'C:/Users/Maelle/Documents/ompr.Rcheck/00install.out' for details.
checking for missing documentation entries ... WARNING
Undocumented code objects:
'add_constraint' 'extract_coefficients' 'get_solution' 'is_defined'
'solve_model' 'sum_exp'
Undocumented S4 classes:
'Constraint'
Undocumented S4 methods:
generic 'add_constraint' and siglist 'Model'
generic 'add_variable' and siglist 'Model'
generic 'get_solution' and siglist 'Solution'
generic 'is_defined' and siglist 'Model'
generic 'set_objective' and siglist 'Model'
generic 'show' and siglist 'Model'
generic 'show' and siglist 'Solution'
generic 'solve_model' and siglist 'Model,function'
All user-level objects in a package (including S4 classes and methods)
should have documentation entries.
See chapter 'Writing R documentation files' in the 'Writing R
Extensions' manual.
checking for code/documentation mismatches ... WARNING
S4 class codoc mismatches from documentation object 'Variable-class':
Slots for class 'Variable'
Code: arity instances lb type ub variable_expression
variable_quantifiers
Docs: arity lb type ub
R CMD check results
0 errors | 3 warnings | 0 notes
Warning message:
undefined slot classes in definition of "Model": objective(class "ObjectiveFunction")
R CMD check succeeded
|
On Travis you don't see this probably because of |
They apparently failed because one has to install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@masalmon wanted to look into this :)
The text was updated successfully, but these errors were encountered: