sknqualitasag / qp4ewc

Other
0 stars 2 forks source link

Installation ERROR: 'dplyr' is missing #11

Open pvrqualitasag opened 1 year ago

pvrqualitasag commented 1 year ago

When installing the package according to the README

`> vec_libPaths<-.libPaths();devtools::install_github("sknqualitasag/qp4ewc", lib = vec_libPaths[length(vec_libPaths)], dependencies = TRUE) Downloading GitHub repo sknqualitasag/qp4ewc@HEAD

✔ checking for file ‘/tmp/RtmppvVdeI/remotesba5026a669ce/sknqualitasag-qp4ewc-022093d/DESCRIPTION’ ... ─ preparing ‘qp4ewc’: ✔ checking DESCRIPTION meta-information ... ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories ─ building ‘qp4ewc_0.2.0.tar.gz’

pvrqualitasag commented 1 year ago

This requires that 'dplyr' is mentioned in the DESCRIPTION file

pvrqualitasag commented 1 year ago

The same is true for packages:

sknqualitasag commented 1 year ago

Dear @pvrqualitasag , So this means that even is these package are in NAMESPACE with import they should be further as well in DESCRIPTION file ?

pvrqualitasag commented 1 year ago

Dear @sknqualitasag , yes the entries in NAMESPACE are important for the internal use of other packages inside of the package qp4ewc. The DESCRIPTION file is used when the package is installed and when dependencies are determined. The easiest is to work with the function usethis::use_package(package = "dplyr")