GithubHelp home page GithubHelp logo

gapedna's People

Contributors

virginiemarques avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gapedna's Issues

ERROR: there is no package called ‘pacman’

Hello Virginie,

Thanks for your awesome work !
I got the following error when i ran runApp()

ERROR: there is no package called ‘pacman’

I'm using R 3.4.4 on linux ubuntu bionic

I have to install pacman this way due to “package 'xxx' is not available (for R version x.y.z)” issue:

install.packages("https://cran.r-project.org/src/contrib/Archive/pacman/pacman_0.4.6.tar.gz")

but then i got the following error:

Warning in pacman::p_load(shiny, leaflet, htmlwidgets, htmltools, sf, tidyverse,  :
  Failed to install/load:
sf
Warning: file ‘data_for_shiny.Rdata’ has magic number 'RDX3'
  Use of save versions prior to 2 is deprecated
Warning: Error in load: bad restore file magic number (file may be corrupted) -- no data loaded
  47: l

Here my complete log:

Listening on http://127.0.0.1:3623
Installing package into ‘/home/pguerin/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
also installing the dependency ‘units’

trying URL 'https://cloud.r-project.org/src/contrib/units_0.6-4.tar.gz'
Content type 'application/x-gzip' length 959885 bytes (937 KB)
==================================================
downloaded 937 KB

trying URL 'https://cloud.r-project.org/src/contrib/sf_0.7-7.tar.gz'
Content type 'application/x-gzip' length 8441790 bytes (8.1 MB)
==================================================
downloaded 8.1 MB

* installing *source* package ‘units’ ...
** package ‘units’ successfully unpacked and MD5 sums checked
configure: units: 0.6-4
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdbool.h that conforms to C99... no
checking for _Bool... no
checking for error_at_line... yes
checking for gcc... gcc -std=gnu99
checking whether we are using the GNU C compiler... yes
checking whether gcc -std=gnu99 accepts -g... yes
checking for gcc -std=gnu99 option to accept ISO C89... none needed
checking for XML_ParserCreate in -lexpat... yes
checking udunits2.h usability... no
checking udunits2.h presence... no
checking for udunits2.h... no
checking udunits2/udunits2.h usability... no
checking udunits2/udunits2.h presence... no
checking for udunits2/udunits2.h... no
checking for ut_read_xml in -ludunits2... no
configure: error: in `/tmp/RtmpTo6ykt/R.INSTALL33914af82f4/units':
configure: error: 
--------------------------------------------------------------------------------
  Configuration failed because libudunits2.so was not found. Try installing:
    * deb: libudunits2-dev (Debian, Ubuntu, ...)
    * rpm: udunits2-devel (Fedora, EPEL, ...)
    * brew: udunits (OSX)
  If udunits2 is already installed in a non-standard location, use:
    --configure-args='--with-udunits2-lib=/usr/local/lib'
  if the library was not found, and/or:
    --configure-args='--with-udunits2-include=/usr/include/udunits2'
  if the header was not found, replacing paths with appropriate values.
  You can alternatively set UDUNITS2_INCLUDE and UDUNITS2_LIBS manually.
--------------------------------------------------------------------------------

See `config.log' for more details
ERROR: configuration failed for package ‘units’
* removing ‘/home/pguerin/R/x86_64-pc-linux-gnu-library/3.4/units’
Warning in utils::install.packages(package, ...) :
  installation of package ‘units’ had non-zero exit status
ERROR: dependency ‘units’ is not available for package ‘sf’
* removing ‘/home/pguerin/R/x86_64-pc-linux-gnu-library/3.4/sf’
Warning in utils::install.packages(package, ...) :
  installation of package ‘sf’ had non-zero exit status

The downloaded source packages are in
	‘/tmp/Rtmp6XAYEU/downloaded_packages’
Warning in p_install(package, character.only = TRUE, ...) : 
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘sf’
Warning in pacman::p_load(shiny, leaflet, htmlwidgets, htmltools, sf, tidyverse,  :
  Failed to install/load:
sf
Warning: file ‘data_for_shiny.Rdata’ has magic number 'RDX3'
  Use of save versions prior to 2 is deprecated
Warning: Error in load: bad restore file magic number (file may be corrupted) -- no data loaded
  47: load

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.