Skip to content
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

Error on install #1

Open
ijconlon opened this issue Jul 7, 2022 · 3 comments
Open

Error on install #1

ijconlon opened this issue Jul 7, 2022 · 3 comments

Comments

@ijconlon
Copy link

ijconlon commented Jul 7, 2022

Appears to be an issue in some of the code. When I try to install the package (remotes::install_github("hrbrmstr/weatherkit")), I get a compile error. The issue appears to be in the aaa.R file on line 9. The assignment statement has a backslash that's causing an error.

Here's the error message I get:

Error in parse(outFile) :  weatherkit/R/aaa.R:9:14: unexpected input
8: 
9: set_names <- \
                ^
ERROR: unable to collate and parse R files for package 'weatherkit'
@bardolater
Copy link

I get this error, too. Not having much luck with troubleshooting.

@hrbrmstr
Copy link
Owner

hrbrmstr commented Aug 5, 2022

ima fix rn

@hrbrmstr
Copy link
Owner

hrbrmstr commented Aug 5, 2022

pushed a fix just now.

I used the really new \() R function shorthand without forcing the proper R version in the DESCRIPTION. I really shouldn't use that in packages. So I sub'd it for function(). It should work now.

Many thanks for reporting the issue!

i'll close it after a confirmation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants