We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
create_package
This issue came up when using rrtools::use_compendium which is a wrapper for usethis::create_package. Below is the issue I reported to rrtools:
rrtools::use_compendium
usethis::create_package
When initiating a new compendium with:
rrtools::use_compendium("~/path/to/new/compendium")
where ~/path/to/new is a symlink to /some/other/path, rrtools throws an error:
rrtools
> rrtools::use_compendium("~/path/to/new/compendium") Error: '/home/nfs/user.name/path/to/new' is not a directory.
However, replacing symlink with full path works:
rrtools::use_compendium("/some/other/path/compendium")
The text was updated successfully, but these errors were encountered:
use_compendium()
Reprex:
library(fs) base <- dir_create(file_temp()) base_a <- dir_create(path(base, "a")) base_b <- link_create(base_a, path(base, "b")) usethis::create_package(path(base_b, "c")) #> Error: '/tmp/RtmpzLKzKT/file286037f9d19f/b' is not a directory.
Created on 2019-10-17 by the reprex package (v0.3.0)
Sorry, something went wrong.
dbd87c7
No branches or pull requests
This issue came up when using
rrtools::use_compendium
which is a wrapper forusethis::create_package
. Below is the issue I reported to rrtools:When initiating a new compendium with:
where ~/path/to/new is a symlink to /some/other/path,
rrtools
throws an error:However, replacing symlink with full path works:
The text was updated successfully, but these errors were encountered: