Skip to content
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

Error and warnings while building RPolyhedra #35

Open
kenarab opened this issue Dec 26, 2019 · 3 comments
Open

Error and warnings while building RPolyhedra #35

kenarab opened this issue Dec 26, 2019 · 3 comments
Assignees
Labels
Milestone

Comments

@kenarab
Copy link
Contributor

kenarab commented Dec 26, 2019

When running devtools::installfrom command line

ERROR: hard-coded installation path: please report to the package maintainer and use ‘--no-staged-install’
* removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/Rpolyhedra’
* restoring previous ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/Rpolyhedra’
Error in (function (command = NULL, args = character(), error_on_status = TRUE,  : 
  System command error

About this issue, database cannot be built by running devtools::test()or devtools::document(), but must be solved for beeing compliant to standard

When having a rpolyhedra.RDS in directory

   NB: this package now depends on R (>= 3.5.0)
     WARNING: Added dependency on R >= 3.5.0 because serialized objects in  serialize/load version 3 cannot be read in older versions of R.  File(s) containing such objects:  'Rpolyhedra/inst/extdata/polyhedra.RDS'
@kenarab kenarab added this to the v0.4.4 milestone Dec 26, 2019
@leobelen
Copy link
Contributor

It seems to be a new installation feature that is not complete as of 3.6.0, so we can deactivate it adding "stagedInstall: FALSE" to the description until further information is available.

Almost all info available is on https://cran.r-project.org/doc/manuals/r-release/R-exts.html and https://developer.r-project.org/Blog/public/2019/02/14/staged-install/.

leobelen added a commit that referenced this issue Dec 26, 2019
@kenarab
Copy link
Contributor Author

kenarab commented May 2, 2020

 Missing link or links in documentation object 'PolyhedronStateDefined.class.Rd':
     ‘[Rpolyhedra:PolyhedronState]{Rpolyhedra::PolyhedronState}’
   
   Missing link or links in documentation object 'PolyhedronStateDeserializer.class.Rd':
     ‘[Rpolyhedra:PolyhedronState]{Rpolyhedra::PolyhedronState}’
   
   Missing link or links in documentation object 'PolyhedronStateDmccooeyScraper.class.Rd':
     ‘[Rpolyhedra:PolyhedronState]{Rpolyhedra::PolyhedronState}’
   
   Missing link or links in documentation object 'PolyhedronStateNetlibScraper.class.Rd':
     ‘[Rpolyhedra:PolyhedronState]{Rpolyhedra::PolyhedronState}’
   
   See section 'Cross-references' in the 'Writing R Extensions' manual.

There are still a WARNING when running devtools::check

@leobelen
Copy link
Contributor

leobelen commented May 2, 2020

This is related to this error on roxygen: r-lib/roxygen2#973, so we have to wait until it is addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants