bnosac / crfsuite

Labelling Sequential Data in Natural Language Processing with R - using CRFsuite
Other
62 stars 12 forks source link

vignette crfsuite-nlp not found #7

Closed fahadshery closed 6 years ago

fahadshery commented 6 years ago

This doesn't execute:

vignette("crfsuite-nlp", package = "crfsuite")

Giving error:

vignette ‘crfsuite-nlp’ not found

fahadshery commented 6 years ago

session info:

`> sessionInfo() R version 3.5.1 (2018-07-02) Platform: x86_64-apple-darwin15.6.0 (64-bit) Running under: macOS 10.14

Matrix products: default BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib LAPACK: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib

locale: [1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8

attached base packages: [1] stats graphics grDevices utils datasets methods base

other attached packages: [1] crfsuite_0.3

loaded via a namespace (and not attached): [1] Rcpp_0.12.19 rstudioapi_0.8 knitr_1.20 magrittr_1.5 usethis_1.4.0
[6] devtools_1.13.6.9000 pkgload_1.0.1 R6_2.3.0 rlang_0.3.0.1 tools_3.5.1
[11] pkgbuild_1.0.2 data.table_1.11.8 sessioninfo_1.1.0 cli_1.0.1 withr_2.1.2
[16] remotes_2.0.0 yaml_2.2.0 assertthat_0.2.0 digest_0.6.18 rprojroot_1.3-2
[21] crayon_1.3.4 processx_3.2.0 callr_3.0.0 base64enc_0.1-3 fs_1.2.6
[26] ps_1.2.0 curl_3.2 testthat_2.0.1 glue_1.3.0 memoise_1.1.0
[31] compiler_3.5.1 desc_1.2.0 backports_1.1.2 prettyunits_1.0.2 `

jwijffels commented 6 years ago

You probably haven't followed the README to install the package. Go to CRAN: https://cran.microsoft.com/web/packages/crfsuite/index.html and click on the vignette or just follow the README instructions to install the package.

fahadshery commented 6 years ago

This is what I did to install the dev package: devtools::install_github("bnosac/crfsuite", build_vignettes = TRUE) after the installation is done: i did: library(crfsuite) vignette("crfsuite-nlp", package = "crfsuite") it gives the above error

jwijffels commented 6 years ago

Can you show the output of devtools::install_github("bnosac/crfsuite", build_vignettes = TRUE)

fahadshery commented 6 years ago

if I run it: this is the output now:

Skipping install of 'crfsuite' from a github remote, the SHA1 (ff3ee94c) has not changed since last install. Useforce = TRUEto force installation

jwijffels commented 6 years ago

what do you think that means?

fahadshery commented 6 years ago

This means that nothings changed on the github repo so it didn't install. Sorry but what am I missing?

jwijffels commented 6 years ago

I think you need to do more research on google to understand what that message means and what you then should do.

fahadshery commented 6 years ago

thanks for being patronising :). I appreciate you taking the time to reply. However, Your README says, install the dev package using so and so command. then your README says get the vignette using the vignette("crfsuite-nlp", package = "crfsuite") command. When i do that it doesnt work which I mentioned above.

jwijffels commented 6 years ago

Please don't insist that there is an error in the README. Just take your time to search on google for a solution. Once you have found a solution, feel free to report back what you have found out.