-
Notifications
You must be signed in to change notification settings - Fork 10
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
requirement report can't be generated from template in validate separate from pkg #204
Comments
I was able to follow the following and it worked without error for me, so thats interesting.... but I think it is related to lines around this link: valtools/R/write_validation_report.R Line 72 in c11ad03
We can add an if statement to make sure we are or are not working in an R package. |
However, both add_package_to_desc and add_field_to_desc already have a check to make sure they are being called within a package: Line 162 in c11ad03
|
@mariev Could you double check this? I was able to do the following using the current develop version: library(valtools)
vt_create_packet("sample_packet", target = "fake_pkg")
## in the newly opened project
library(valtools)
vt_use_req("Requirement_1.md") ## and enter the interactive info
vt_use_report(template = "requirements") I see we should adjust the requirements report:
However, once those were commented out, I could knit the report via the knit button and via |
vt_use_report()
looks for DESCRIPTION, either viaget_val_leads
orget_config_package
The text was updated successfully, but these errors were encountered: