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

In function llogit() variable path_of_report throws an unused argument error #4

Closed
jn-goe opened this issue Nov 27, 2021 · 3 comments
Closed

Comments

@jn-goe
Copy link

jn-goe commented Nov 27, 2021

Hi :)
When I call the function llogit() the variable path_of_report throws an error, I guess this might happen because it is not defined before it is called in ww.variable.and.path.exists(path_of_report = path_of_report) ?

fname <- "vec...bar..pdf"
MarkdownHelpers::llogit(Stringendo::kollapse("![", file_name, "]", "(", file_name, ")", print = FALSE))
# Error in ww.variable.and.path.exists(path_of_report = path_of_report,  : 
# unused argument (path_of_report = path_of_report)
@vertesy
Copy link
Owner

vertesy commented Nov 27, 2021

Thanks!
This gonna be more a longer shot...

@vertesy
Copy link
Owner

vertesy commented Nov 27, 2021

So all of the MarkdownHelpers function write into a markdown file.
That is defined by first calling MarkdownReports::setup_MarkdownReports()

MarkdownReports works with background variables (defined in global env).

@vertesy
Copy link
Owner

vertesy commented Nov 28, 2021

TBH, you also may have an old version. path_of_report = path_of_report does not exist (before I was trying to debug yesterday).
Without setup, it gives me the expected warning

> llogit('assa')
NOT LOGGED: Log path and filename is not defined in path_of_report.

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

2 participants