Code Monkey home page Code Monkey logo

Comments (4)

maelle avatar maelle commented on June 19, 2024

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.

maelle avatar maelle commented on June 19, 2024

On Travis you don't see this probably because of warnings_are_errors: false? ;-)

from ompr.

maelle avatar maelle commented on June 19, 2024

They apparently failed because one has to install stringi. Now the Appveyor build still fails but because of #40

from ompr.

maelle avatar maelle commented on June 19, 2024

#39

from ompr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.