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

Tests not passing #3

Open
gshotwell opened this issue Apr 16, 2021 · 2 comments
Open

Tests not passing #3

gshotwell opened this issue Apr 16, 2021 · 2 comments

Comments

@gshotwell
Copy link

It looks like the plumber tests are not passing on callr 3.6 and plumber 1.10.

@dietrichson
Copy link

Got same issue.

@pep1024
Copy link

pep1024 commented Nov 30, 2021

Probably you are running the tests after loading the package with devtools::load_all() and run devtools::test().
Instead, if you run devtools::check() to run the tests with R CMD check, all works fine, at least for me.

It look to me that packages loaded with load_all() cannot run the call to the API in the background because it can not find functions with the reference to the package loaded, for instance, plumbpkg:::hello().

I asked a question related to this issue in stackoverflow

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