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

Devtools fais with cryptic error message #2587

Open
Unaimend opened this issue Nov 18, 2024 · 0 comments
Open

Devtools fais with cryptic error message #2587

Unaimend opened this issue Nov 18, 2024 · 0 comments

Comments

@Unaimend
Copy link

Unaimend commented Nov 18, 2024

Hi, I most definitely made an error during package construction but since devtools fails with a non-helpful error I thought I'd just make an issue:

The following code fails. Maybe there is some way of making the error message more helpful and just to make sure I DO NOT request help with my package here :). Thanks for reading.

(ins)> install_github("Unaimend/cpdBoy", subdir="r_package")
Downloading GitHub repo Unaimend/cpdBoy@HEAD
Error in if (is.na(res)) { : argument is of length zero
(ins)> install_github("https://github.com/Unaimend/cpdBoy/tree/r_package", subdir="r_package")
Downloading GitHub repo Unaimend/cpdBoy@r_package
Error in if (is.na(res)) { : argument is of length zero

To reproduce by yourself:
Follow this tutorial: https://ourcodingclub.github.io/tutorials/writing-r-package/ and do not execute roxygenize()


(ins)td@td-XPS-9320:~$ R --version
R version 4.1.2 (2021-11-01) -- "Bird Hippie"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
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