Coder Social home page Coder Social logo

Comments (5)

alastairrushworth avatar alastairrushworth commented on July 22, 2024

Hi @stevecrawshaw

Could you paste the full result of devtools::install_github('alastairrushworth/inspectdf')?

At a glance, the issue looks similar to this one but need more info to check.

Thanks!

from inspectdf.

stevecrawshaw avatar stevecrawshaw commented on July 22, 2024

√ checking for file 'C:\Users\brplsec\AppData\Local\Temp\RtmpE9RJv3\remotes27e853066131\alastairrushworth-inspectdf-6132c28/DESCRIPTION' ...

  • preparing 'inspectdf': (547ms)
    √ checking DESCRIPTION meta-information ...
  • cleaning src
    Warning in as.POSIXlt.POSIXct(x, tz) : unknown timezone 'GMT'
  • checking for LF line-endings in source and make files and shell scripts
  • checking for empty or unneeded directories
  • building 'inspectdf_0.0.2.9000.tar.gz'
  • installing source package 'inspectdf' ...
    Warning in as.POSIXlt.POSIXct(x, tz) : unknown timezone 'GMT'
    ** libs
    Warning: R include directory is empty -- perhaps need to install R-devel.rpm or similar
    C:/RBuildTools/3.5/mingw_32/bin/g++ -I"C:/PROGRA1/R/R-351.1/include" -DNDEBUG -I"C:/Program Files/R/R-3.5.1/library/Rcpp/include" -O2 -Wall -mtune=generic -c RcppExports.cpp -o RcppExports.o
    In file included from C:/Program Files/R/R-3.5.1/library/Rcpp/include/RcppCommon.h:29:0,
    from C:/Program Files/R/R-3.5.1/library/Rcpp/include/Rcpp.h:27,
    from RcppExports.cpp:4:
    C:/Program Files/R/R-3.5.1/library/Rcpp/include/Rcpp/r/headers.h:63:15: fatal error: R.h: No such file or directory
    #include <R.h>
    ^
    compilation terminated.
    make: *** [C:/PROGRA1/R/R-351.1/etc/i386/Makeconf:215: RcppExports.o] Error 1
    ERROR: compilation failed for package 'inspectdf'
  • removing 'C:/Program Files/R/R-3.5.1/library/inspectdf'
    In R CMD INSTALL
    Error in i.p(...) :
    (converted from warning) installation of package ‘C:/Users/brplsec/AppData/Local/Temp/RtmpE9RJv3/file27e87f6b4b08/inspectdf_0.0.2.9000.tar.gz’ had non-zero exit status
    In addition: Warning messages:
    1: In untar2(tarfile, files, list, exdir) :
    skipping pax global extended headers
    2: In untar2(tarfile, files, list, exdir) :
    skipping pax global extended headers

from inspectdf.

alastairrushworth avatar alastairrushworth commented on July 22, 2024

The key issue seems to be C:/Program Files/R/R-3.5.1/library/Rcpp/include/Rcpp/r/headers.h:63:15: fatal error: R.h: No such file or directory - the header files seem to be missing. This is something to do with your R install rather than inspectdf itself. You could try reinstalling Rcpp and see if that helps.

from inspectdf.

stevecrawshaw avatar stevecrawshaw commented on July 22, 2024

Thanks for the response. I have tried reinstalling Rcpp to no avail. Unfortunately my ability to control the installation of R is limited by corporate policies, so for now I think I will have to do without inspectdf.

from inspectdf.

alastairrushworth avatar alastairrushworth commented on July 22, 2024

Yeah, sorry I couldn't be much help - I'm not sure I'd be able to advise what to try even if you could make changes to the install. It could be worth putting a question up on SO - I noticed a few like this, though nothing identical.

from inspectdf.

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.