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

Roxygen returns UTF8 error #12

Open
paulrougieux opened this issue Oct 7, 2019 · 0 comments
Open

Roxygen returns UTF8 error #12

paulrougieux opened this issue Oct 7, 2019 · 0 comments

Comments

@paulrougieux
Copy link
Collaborator

paulrougieux commented Oct 7, 2019

Line 103 of R/database.R visible in 5642814


==> roxygen2::roxygenize('.', roclets = c('rd', 'collate', 'namespace'))

Writing NAMESPACE
Loading tradeflows
Error in parse(text = lines, n = -1, srcfile = srcfile) : 
  /home/paul/R/tradeflows/R/database.R:103:17: unexpected INCOMPLETE_STRING
102:         message("Changed reporter and partner encoding from latin1 to utf8.",
103:                 "(check reportercode or partnercode 384 c
                     ^
Calls: suppressPackageStartupMessages ... withr_with_dir -> force -> source_many -> source_one -> parse
In addition: Warning messages:
1: roxygen2 requires Encoding: UTF-8 
2: In readLines(con, warn = FALSE, n = n, ok = ok, skipNul = skipNul) :
  invalid input found on input connection '/home/paul/R/tradeflows/R/database.R'
Execution halted

Exited with status 1.

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

1 participant