-
Notifications
You must be signed in to change notification settings - Fork 3
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
ntlk4r Error Msg #1
Comments
I get the same error message and have not yet found a solution to it. |
Do you have found the solution ?
…On Mon, Apr 20, 2020 at 5:44 PM mustaszewski ***@***.***> wrote:
I get the same error message and have not yet found a solution to it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIG56QIS2XGRBDICSIGHMM3RNRUW5ANCNFSM4MGKXC3A>
.
|
The function called movie_reviews_categories seems wrong, due to the unexpected '=': movie_reviews_categories <- function(..., = NULL, to_r = FALSE){ It should be movie_reviews_categories <- function(..., to_r = FALSE){ Like the rest of functions in the R/data.R file. Then, in the root file named NAMESPACE, you need to remove the export(shuffle) line, to avoid the next error. It ended up installing a moment ago. I suppose it will work this way. Fingers crossed. |
I did what you suggested to fix but when it comes to that part: nltk4r::download_datasets("all") Error: Python module nltk was not found. Detected Python configuration: python: C:/Users/pamin/Documents/R-Project/R-4.1.0/env/Scripts/python.exe NOTE: Python version was forced by use_python function Yours made the same error. If yes, how did you fix it |
Same problem here. Any chance to get this fixed? Thank you. |
I tried to fix it today after reading your new comments. Please check it to see if it works for you. |
@Manuellama Thank you for your fork, it installs correctly. |
@Manuellama how do I modify the code if I not using a virtual environment? |
The command
Error in parse(outFile) :
/private/var/folders/_v/bz29xsks25n4sbrd_85t2nxc0000gq/T/Rtmp1Sxr2E/R.INSTALLd9c2d5f06ea/nltk4r/R/data.R:326:43: unexpected '='
325: #' @export
326: movie_reviews_categories <- function(..., =
^
ERROR: unable to collate and parse R files for package ‘nltk4r’
Error: Failed to install 'nltk4r' from GitHub:
(converted from warning) installation of package ‘/var/folders/_v/bz29xsks25n4sbrd_85t2nxc0000gq/T//RtmpnkB7YU/filed40667eeb47/nltk4r_0.0.1.tar.gz’ had non-zero exit status
The text was updated successfully, but these errors were encountered: