Comments (14)
to install specifically the gdata
v. 2.19 (last v before they removed the function)
packageurl <- "https://cran.r-project.org/src/contrib/Archive/gdata/gdata_2.19.0.tar.gz"
install.packages(packageurl, repos=NULL, type="source")
from readwriter.
Hmm yes, I have '3.0.0'
Ok, thanks for your help. I'll try the quick fix for now.
Sorry for the inconvenience.
Quick fix worked!
from readwriter.
from readwriter.
Hi Abel,
thanks! In case you need more info on my setup, here the sessionInfo()
> sessionInfo()
R version 4.3.1 (2023-06-16)
Platform: x86_64-apple-darwin20 (64-bit)
Running under: macOS Sonoma 14.0
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/lib/libRlapack.dylib; LAPACK version 3.11.0
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
time zone: Europe/Berlin
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] miniUI_0.1.1.1 compiler_4.3.1 crayon_1.5.2 promises_1.2.1 Rcpp_1.0.11 stringr_1.5.0 callr_3.7.3
[8] later_1.3.1 fastmap_1.1.1 mime_0.12 R6_2.5.1 curl_5.1.0 htmlwidgets_1.6.2 desc_1.4.2
[15] profvis_0.3.8 rprojroot_2.0.3 shiny_1.7.5.1 rlang_1.1.1 cachem_1.0.8 stringi_1.7.12 httpuv_1.6.11
[22] fs_1.6.3 pkgload_1.3.3 memoise_2.0.1 cli_3.6.1 magrittr_2.0.3 ps_1.7.5 digest_0.6.33
[29] processx_3.8.2 rstudioapi_0.15.0 xtable_1.8-4 remotes_2.4.2.1 devtools_2.4.5 lifecycle_1.0.3 prettyunits_1.2.0
[36] vctrs_0.6.4 glue_1.6.2 urlchecker_1.0.1 sessioninfo_1.2.2 pkgbuild_1.4.2 purrr_1.0.2 usethis_2.2.2
[43] tools_4.3.1 ellipsis_0.3.2 htmltools_0.5.6.1
from readwriter.
It completes on my end w/o error:
> devtools::install_github(repo = "vertesy/ReadWriter", upgrade = F)
Downloading GitHub repo vertesy/ReadWriter@HEAD
── R CMD build ──────────────────────────────────────────────────────────────
✔ checking for file ‘/private/var/folders/_2/h3dpbqvx5ydf6d3y8gxh4rl00000gq/T/RtmpHrEThg/remotes3cab84e8542/vertesy-ReadWriter-8dab590/DESCRIPTION’ (395ms)
─ preparing ‘ReadWriter’:
✔ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘ReadWriter_0.3.0.tar.gz’
Installing package into ‘/Users/abel.vertesy/Library/R/x86_64/4.3/library’
(as ‘lib’ is unspecified)
[1] "Loading Abel's .Rprofile"
Loading required package: colorout
* installing *source* package ‘ReadWriter’ ...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
[1] "Loading Abel's .Rprofile"
Loading required package: colorout
** help
*** installing help indices
** building package indices
[1] "Loading Abel's .Rprofile"
Loading required package: colorout
** testing if installed package can be loaded from temporary location
[1] "Loading Abel's .Rprofile"
Loading required package: colorout
** testing if installed package can be loaded from final location
[1] "Loading Abel's .Rprofile"
Loading required package: colorout
** testing if installed package keeps a record of temporary installation path
* DONE (ReadWriter)
from readwriter.
I know added
, "Depends" = "Stringendo, gdata"
so it should be ok now.
Could you please try?
Since I can't reproduce the error, its hard to troubleshoot.
If still not works than manually install and require gdata
.
Please let me know.
from readwriter.
Unfortunately I still get the same error:
> devtools::install_github(repo = "vertesy/ReadWriter", upgrade = F)
Using github PAT from envvar GITHUB_PAT
Downloading GitHub repo vertesy/ReadWriter@HEAD
── R CMD build ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ checking for file ‘/private/var/folders/2x/pqn42dhx1392f4w2zfkjg0j80000gn/T/RtmpnRCOGA/remotes58b247ca558/vertesy-ReadWriter-5257388/DESCRIPTION’ ...
─ preparing ‘ReadWriter’:
✔ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘ReadWriter_0.3.1.tar.gz’
* installing *source* package ‘ReadWriter’ ...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
Error: object ‘read.xls’ is not exported by 'namespace:gdata'
Execution halted
ERROR: lazy loading failed for package ‘ReadWriter’
* removing ‘/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/ReadWriter’
Warning message:
In i.p(...) :
installation of package ‘/var/folders/2x/pqn42dhx1392f4w2zfkjg0j80000gn/T//RtmpnRCOGA/file58b734b471e/ReadWriter_0.3.1.tar.gz’ had non-zero exit status
from readwriter.
Is it a possibility to add manually read.xlsx to the NAMESPACE file of gdata? I had a look into it and read.xlsx does not appear in the "export" section.
(This is the first time I had a look into this kind of file, so I really don't know if this is an option).
from readwriter.
Hey,
No. There is no read.xlsx
in gdata
. Only read.xls
(wo x)
The ReadWriter code does not contain a reference to read.xlsx
.
from readwriter.
if you require(gdata)
, does gdata::read.xls
print the code?
Sorry for the ongoing trouble.
from readwriter.
Hey,
ah sorry, I meanr read.xls
.
When I run the suggested code I get the Error:
Error: 'read.xls' is not an exported object from 'namespace:gdata'
So it doesn't seem to be in there. Do you think re-installing gdata might help.
thanks for your effort!
from readwriter.
Hmm it seems that they removed it from gdata
packageVersion('gdata')
[1] ‘2.19.0’
has read.xls
but 3.0 does not. Damn.
I have ‘2.19.0’
from readwriter.
quick fix, install 2.19
long fix, I need to find a new dependency
from readwriter.
side note: gdata is not anymore a dependency
, only imports
but this does not resolve the issue above.
from readwriter.
Related Issues (12)
- To Do
- Wiki
- Resources
- Package errors HOT 1
- read.simple.tsv should return a DF not a tibble
- Broken dependency - read.xls is not part of gdata package anymore HOT 4
- Error in write.simple(input_df = deps) : object 'suffix' not found
- ReadWriter functions only work after require(ReadWriter)
- Migrate to depend on new helper function FirstCol2RowNames >>> column.2.row.names HOT 1
- column.2.row.names in read.simple.csv HOT 1
- write.simple.tsv should have background compression as a feature
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from readwriter.