Comments (4)
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
from ompr.
On Travis you don't see this probably because of warnings_are_errors: false
? ;-)
from ompr.
They apparently failed because one has to install stringi
. Now the Appveyor build still fails but because of #40
from ompr.
from ompr.
Related Issues (20)
- NEOS Server & Async Mode: Error: object of type 'closure' is not subsettable
- Gurobi Solver- Recent Experience? HOT 1
- Binary variable <= Binary matrix: Error in constraint$lhs - constraint$rhs : non-numeric argument to binary operator HOT 4
- Solver log not showing up anymore
- Semi continuous variable HOT 7
- Feature Request Integrated with RAMPL HOT 1
- Feature Request: GAMS presolver for ompr HOT 1
- Error in add_variable, object not found HOT 1
- Object not found HOT 3
- Release ompr 1.0.3
- Getting error "*.AbstractLinearFunction" when multiplying in objective function HOT 1
- the cannery problem - vignette enhancement
- Again, my curious interest is in pre-processing sparse data objects outside of MIPModel if possible. I created a simple sparse supply chain dataframe as an example:
- Feature Request: adding "macro" functionality to ompr HOT 1
- Sparse Matrix Constraints with multi-index
- Limiting Variable Definition By Ordered Pair HOT 9
- How write a constraint once there is a variable used as the index? HOT 2
- interactions: "Quadratic expression are not supported" HOT 3
- Request Feature: Add Vectorized semantics revisited of MILPModel to MIPModel
- add dependency matrix to constrains HOT 19
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ompr.