Giter Site home page Giter Site logo

Comments (5)

radfordneal avatar radfordneal commented on July 3, 2024 1

After running 'configure', did you run 'make' before trying to run 'make check'?

'make check' should maybe automatically run 'make' if bin/R doesn't exists, but it doesn't at the moment.

from pqr.

spinkney avatar spinkney commented on July 3, 2024

When I run make I get an error

make[4]: Leaving directory '/home/spinkney/pqr_source/pqr-2020-07-23-myconfig/src/library/compiler'
make[4]: Entering directory '/home/spinkney/pqr_source/pqr-2020-07-23-myconfig/src/library/compiler'
Error in readRDS(pfile) : 
  cannot read workspace version 3 written by R 4.0.3; need R 3.5.0 or newer
Calls: <Anonymous> ... findpack -> find.package -> lapply -> FUN -> readRDS
Execution halted
make[4]: *** [../../../../pqR-2020-07-23/share/make/basepkg.mk:120: mklazy] Error 1
make[4]: Leaving directory '/home/spinkney/pqr_source/pqr-2020-07-23-myconfig/src/library/compiler'
make[3]: *** [Makefile:27: all] Error 2
make[3]: Leaving directory '/home/spinkney/pqr_source/pqr-2020-07-23-myconfig/src/library/compiler'
make[2]: *** [Makefile:35: R] Error 1
make[2]: Leaving directory '/home/spinkney/pqr_source/pqr-2020-07-23-myconfig/src/library'
make[1]: *** [Makefile:28: R] Error 1
make[1]: Leaving directory '/home/spinkney/pqr_source/pqr-2020-07-23-myconfig/src'
make: *** [Makefile:59: R] Error 1

Knowing that make checks won't work given that make failed, here's the output anyway,

spinkney@ip-1XX:~/pqr_source/pqr-2020-07-23-myconfig$ make check
make[1]: Entering directory '/home/spinkney/pqr_source/pqr-2020-07-23-myconfig/tests'
make[2]: Entering directory '/home/spinkney/pqr_source/pqr-2020-07-23-myconfig/tests'
make[3]: Entering directory '/home/spinkney/pqr_source/pqr-2020-07-23-myconfig/tests/Examples'
WARNING: ignoring environment value of R_HOME
During startup - Warning messages:
1: package "methods" in options("defaultPackages") was not found 
2: package ‘datasets’ in options("defaultPackages") was not found 
3: package ‘utils’ in options("defaultPackages") was not found 
4: package ‘grDevices’ in options("defaultPackages") was not found 
5: package ‘graphics’ in options("defaultPackages") was not found 
6: package ‘stats’ in options("defaultPackages") was not found 
7: package ‘methods’ in options("defaultPackages") was not found 
Testing examples for package ‘base’
no parsed files found
Warning: no examples found for package ‘base’
Testing examples for package ‘tools’
no parsed files found
Warning: no examples found for package ‘tools’
Testing examples for package ‘utils’
no parsed files found
Warning: no examples found for package ‘utils’
Testing examples for package ‘grDevices’
no parsed files found
Warning: no examples found for package ‘grDevices’
Testing examples for package ‘graphics’
no parsed files found
Warning: no examples found for package ‘graphics’
Testing examples for package ‘stats’
no parsed files found
Warning: no examples found for package ‘stats’
Testing examples for package ‘datasets’
no parsed files found
Warning: no examples found for package ‘datasets’
Testing examples for package ‘methods’
no parsed files found
Warning: no examples found for package ‘methods’
Testing examples for package ‘grid’
no parsed files found
Warning: no examples found for package ‘grid’
Testing examples for package ‘splines’
no parsed files found
Warning: no examples found for package ‘splines’
Testing examples for package ‘stats4’
no parsed files found
Warning: no examples found for package ‘stats4’
Testing examples for package ‘tcltk’
no parsed files found
Warning: no examples found for package ‘tcltk’
Testing examples for package ‘compiler’
no parsed files found
Warning: no examples found for package ‘compiler’
Testing examples for package ‘parallel’
no parsed files found
Warning: no examples found for package ‘parallel’
make[3]: Leaving directory '/home/spinkney/pqr_source/pqr-2020-07-23-myconfig/tests/Examples'
make[2]: Leaving directory '/home/spinkney/pqr_source/pqr-2020-07-23-myconfig/tests'
make[2]: Entering directory '/home/spinkney/pqr_source/pqr-2020-07-23-myconfig/tests'
running strict specific tests
make[3]: Entering directory '/home/spinkney/pqr_source/pqr-2020-07-23-myconfig/tests'
running code in '../../pqR-2020-07-23/tests/eval-etc.R' ...make[3]: *** [../../pqR-2020-07-23/tests/Makefile.common:103: eval-etc.Rout] Error 1
make[3]: Leaving directory '/home/spinkney/pqr_source/pqr-2020-07-23-myconfig/tests'
make[2]: *** [../../pqR-2020-07-23/tests/Makefile.common:183: test-Specific] Error 2
make[2]: Leaving directory '/home/spinkney/pqr_source/pqr-2020-07-23-myconfig/tests'
make[1]: *** [../../pqR-2020-07-23/tests/Makefile.common:165: test-all-basics] Error 1
make[1]: Leaving directory '/home/spinkney/pqr_source/pqr-2020-07-23-myconfig/tests'
make: *** [Makefile:217: check] Error 2

from pqr.

radfordneal avatar radfordneal commented on July 3, 2024

It looks like something in your environment is causing pqR to try to read a workspace that you wrote with a recent version of R-core R. You could look at the shell environment with the 'set' command, then unset ones that start with "R" using 'unset'. (This assumes you're using 'bash' as your shell.)

from pqr.

spinkney avatar spinkney commented on July 3, 2024

Thank you, I will have to test once I can unset R since I'm running on a server that other users use.

from pqr.

radfordneal avatar radfordneal commented on July 3, 2024

It shouldn't matter that you're on a shared machine, since the environment for your shell is local to you.

from pqr.

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.