leppott / ContDataQC

Quality control checks on continuous data. Example data is from a HOBO data logger with 30 minute intervals.
https://leppott.github.io/ContDataQC/
MIT License
20 stars 10 forks source link

Vignette not installing #151

Closed leppott closed 1 year ago

leppott commented 1 year ago

Describe the bug Email from user on 2023-08-02:

I am xxxx and I am a PhD student at University of xxxxxx. I am trying to use ContDataQC in R but I am having difficulty with a lot of > the set up code on GitHub. I cannot run the Vignette code and I've tried to install the packages separately but it still says "vignette ‘ContDataQC_Vignette’ not found". ...... Do you have any suggestions? I am using the newest version 4.3.1 (2023-06-16). Do I need to use an older version of R?

Creating two tickets from email. Only working with vignette question.

To Reproduce Steps to reproduce the behavior:

  1. using R v4.3.1 (latest)
  2. Install from GitHub (code below).
if(!require(remotes)){install.packages("remotes")}  #install if needed
remotes::install_github("leppott/ContDataQC", force = TRUE)

To Reproduce Steps to reproduce the behavior:

  1. Install and see if the vignette installs.

Expected behavior A clear and concise description of what you expected to happen.

Additional context Vignette does not install by default. Need to add the build_vignettes = TRUE to install_github command. But the vignette could be failing to build. So have to check.

leppott commented 1 year ago

The main vignette does fail.

image

Rebuild and fix on console and upload new version when fixed.

leppott commented 1 year ago

When tried to build the vignettes on my PC I was missing the package rLakeAnalyzer.

After install things worked fine, even the install from GitHub.

image

image

leppott commented 1 year ago

Solution:

Install any missing packages. Packages in "Suggests" do not always get installed.

image

https://github.com/leppott/ContDataQC/blob/main/DESCRIPTION#L28