-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to install package #32
Comments
I can reproduce this. Here is what I see: > remotes::install_github("mkearney/tweetbotornot")
Using github PAT from envvar GITHUB_PAT
Downloading GitHub repo mkearney/tweetbotornot@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?
1: All
2: CRAN packages only
3: None
4: utf8 (1.1.4 -> 1.2.1) [CRAN]
Enter one or more numbers, or an empty line to skip updates: 3
√ checking for file 'C:\Users\inp099\AppData\Local\Temp\RtmpmA8J5c\remotes7c07fb65d1e\mkearney-tweetbotornot-7109d40/DESCRIPTION' (415ms)
- preparing 'tweetbotornot':
√ checking DESCRIPTION meta-information ...
- checking for LF line-endings in source and make files and shell scripts
- checking for empty or unneeded directories
- building 'tweetbotornot_0.1.0.tar.gz'
Installing package into ‘C:/Users/inp099/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
* installing *source* package 'tweetbotornot' ...
** using staged installation
** R
Warning: unable to re-encode 'features-exp.R' line 85
Error in parse(outFile) :
C:/Users/inp099/AppData/Local/Temp/RtmpKuzLjb/R.INSTALL3b286469656a/tweetbotornot/R/features-exp.R:85:22: unexpected '>'
84: twitterfeed = sum_("twitterfeed" %in% .data$source) / .data$n,
85: tweetbotfori<ce>
^
ERROR: unable to collate and parse R files for package 'tweetbotornot'
* removing 'C:/Users/inp099/Documents/R/win-library/4.1/tweetbotornot'
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
3: In utils::install.packages(pkgs = pkgs, lib = lib, repos = myrepos, :
installation of package ‘C:/Users/inp099/AppData/Local/Temp/RtmpmA8J5c/file7c02d1568c1/tweetbotornot_0.1.0.tar.gz’ had non-zero exit status
4: In utils::install.packages(pkgs = pkgs, lib = lib, repos = myrepos, :
installation of package ‘C:/Users/inp099/AppData/Local/Temp/RtmpmA8J5c/file7c02d1568c1/tweetbotornot_0.1.0.tar.gz’ had non-zero exit status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi all, I've followed the install instructions found here: https://www.rdocumentation.org/packages/botrnot/versions/0.0.2
After running this code:
if (!requireNamespace("devtools", quietly = TRUE)) {
install.packages("devtools")
}
devtools::install_github("mkearney/botrnot")
I receive the following error:
√ checking for file 'C:\Users\Julie\AppData\Local\Temp\Rtmp6ZLiEY\remotes31c866dd117c\mkearney-tweetbotornot-7109d40/DESCRIPTION' (850ms)
√ checking DESCRIPTION meta-information
Installing package into �C:/Users/Julie/Documents/R/win-library/4.0�
(as �lib� is unspecified)
** using staged installation
** R
Error : (converted from warning) unable to re-encode 'features-exp.R' line 85
ERROR: unable to collate and parse R files for package 'tweetbotornot'
installation of package �C:/Users/Julie/AppData/Local/Temp/Rtmp6ZLiEY/file31c838e61c02/tweetbotornot_0.1.0.tar.gz� had non-zero exit status
Thanks for your help!
The text was updated successfully, but these errors were encountered: