Opened 9 years ago
Last modified 9 years ago
#1934 new defect
falla install tolRlink ubuntu AWS
| Reported by: | Jorge | Owned by: | Pedro Gea |
|---|---|---|---|
| Priority: | highest | Milestone: | Mantainance |
| Component: | R API | Version: | 3.3 |
| Severity: | blocker | Keywords: | |
| Cc: |
Description
Sistema:
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
Al intentar instalar tolRlink en un ubuntu sobre AWS se obtiene el siguiente error:
> install.packages('./tolRlink_1.0.tar.gz', repos=NULL, type="source")
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
During startup - Warning messages:
1: Setting LC_TIME failed, using "C"
2: Setting LC_MONETARY failed, using "C"
3: Setting LC_PAPER failed, using "C"
4: Setting LC_MEASUREMENT failed, using "C"
* installing *source* package ‘tolRlink’ ...
** R
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
During startup - Warning messages:
1: Setting LC_TIME failed, using "C"
2: Setting LC_MONETARY failed, using "C"
3: Setting LC_PAPER failed, using "C"
4: Setting LC_MEASUREMENT failed, using "C"
Error : .onLoad failed in loadNamespace() for 'tolRlink', details:
call: .search.tolRoot.unix("/usr/lib64")
error: could not find function "dir.exists"
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/usr/local/lib/R/site-library/tolRlink’
Warning message:
In install.packages("./tolRlink_1.0.tar.gz", repos = NULL, type = "source") :
installation of package ‘./tolRlink_1.0.tar.gz’ had non-zero exit status
>
>
Note: See
TracTickets for help on using
tickets.

El error se debe a que la función dir.exists no existe en la versión de R 3.0.4, se puede cambiar por file_test("-d", path)