Dear all,
I'm trying to create a package and I have used usethis::use_vignette("my_vignette")
to add a vignette.
Unfortunately when I run the command BiocCheck(path_to_pkg)
i have an error message stating:
[1] "No 'vignettes' directory."
although I indeed have a vignettes created by use_vignette command. I can't figure out why i have this message. (knitr is suggested in my DESCRIPTION file)
Thanks for any help.
Best.
I'm currently unable to reproduce this. Could you provide the current directory structure of your package with
system("tree <path to package>")
or whatever call you prefer to list the directory structure as well as yoursystemInfo()
so we know what OS you are using.Hi Martin, Thank you very much for your reply. my Sys.info() gives me this
for system(pathtopackage) it says sh: 1: /home/apple/R/x86_64-pc-linux-gnu-library/3.6/masan: Permission denied which is strange as it's in my home directory..
Can you please show the directory structure of your package. In the directory of your package you can type
tree
. You should get output something like the following:So we can see the directory structure of your package.
Hi shepherl thank u very much. I was running bioccheck on the package path where it was installed (path given by .libPath) . I wasnt running it on the package where I was coding. I misunderstood the tutorial. Thank you very much
Hi shepherl thank u very much. I was running bioccheck on the package path where it was installed (path given by .libPath) . I wasnt running it on the package where I was coding. I misunderstood the tutorial. Thank you very much
Just glad you could figure it out and get it running. Let us know if you have any other issues.