Skip to content

Error installing and running Logolas #23

Description

@Daread

Hello,

I'm having an issue getting Logolas to install through BioManager.

I've run through the steps listed on the Github up until
install_github("kkdey/Logolas",build_vignettes = TRUE)

At that point, I get an error:

── R CMD build ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ checking for file ‘/tmp/Rtmp1uNlIR/remotes4e4a2ae9aa8a/kkdey-Logolas-d000007/DESCRIPTION’ ...
─ preparing ‘Logolas’:
✔ checking DESCRIPTION meta-information ...
─ installing the package to build vignettes
E creating vignettes (11.7s)
--- re-building ‘Logolas.Rmd’ using rmarkdown
Quitting from lines 90-91 (Logolas.Rmd)
Error: processing vignette 'Logolas.Rmd' failed with diagnostics:
the condition has length > 1
--- failed re-building ‘Logolas.Rmd’

SUMMARY: processing the following file failed:
‘Logolas.Rmd’

Error: Vignette re-building failed.
Execution halted
Error: Failed to install 'Logolas' from GitHub:
! System command 'R' failed

Alternately, if I install without building vignettes it appears that Logolas installs correctly, but then fails (giving a similar error) when I run logomaker with character vector input:

Running
x <- c("NSTE","NFSW","NFSW","NFSW","NFSW","NFSW","NFSW","NSTE","NFSW","NFSW","NFSW","NFSW")
logomaker(x, type = "EDLogo")

I see:

using a background with equal probability for all symbols
Analyzing the positional frequency matrix
color_type not provided, so switching to per_row option for
color_type
Error in if (class(table) == "data.frame") { :
the condition has length > 1

Is there any suggestion for addressing this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions