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

how is repo used in expect_secure()? #49

Open
JosiahParry opened this issue Dec 31, 2020 · 3 comments
Open

how is repo used in expect_secure()? #49

JosiahParry opened this issue Dec 31, 2020 · 3 comments

Comments

@JosiahParry
Copy link
Contributor

@csgillespie, I'm currently trying to extend the testthat compatibility / functionality and am working off of your existing function. One thing that is not clear is the utility of the repo argument. Other than setting the repo option manually, I cannot figure out what it is used for. Based on my reading it is an unused argument. Can you clairfy?

repo = "https://cran.rstudio.com",

@csgillespie
Copy link
Member

Yep this does seem like an odd argument. I think I came across an edge case where {testthat} stripped out the repos

## Need to set the repo, as testthat seems to strip this out?

@JosiahParry
Copy link
Contributor Author

Interesting. Perhaps it's my naiveté wrt {testthat}. Does testthat require that option be specified? Within audit_description() I don't think any function requires a repo to be specified. Safe to say I can continue developing omitting this arg unless any issue arises?

@csgillespie
Copy link
Member

csgillespie commented Dec 31, 2020 via email

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