usethis
usethis copied to clipboard
Set up commonly used π¦ components
1. Create a directory that is not a valid package name, e.g. "my-test-directory". 2. Now from within that directory, try to initialize a package using {usethis}: ```R usethis::create_package(".", fields =...
I doubt anyone uses this apart from me, and I have to remember to change these arguments every time.
Repeated calls to `use_package(., type = "LinkingTo") may lead to logical error in `use_dependency`
If the only current dependence for `package` is of type `"LinkingTo"` and `use_package(package, "LinkingTo", ...)` is called, the variable `is_linking_to` in the following lines evaluates to `FALSE`, and the function...
The `if`-clause in the following snippet does not test what the comment above describes, as it can very well be that there are existing dependencies not of the type `"LinkingTo"`....
If it exists; I think we can assume the milestone name is the same as the tag name, e.g. `v2.0.4`
**Problem:** `usethis` cannot find path with accents. The following works immediately (path has no accent): ```r usethis::create_package("D:/e/mypkg") ``` But adding an accent in the path produces an error: ```r usethis::create_package("D:/Γ©/mypkg")...
Fully deprecate everything re: Travis and perhaps beyond, i.e. other services we do not actively use.
Since usethis is the package that adds a lot of badges to READMEs, maintainers have asked us to help make those badges more accessible to screen readers. I suspect the...
So that `src/{foo}.c` or (.cpp, .h, etc) would correspond to `tests/testthat/test-{foo}.R`.