YuLab-SMU / ggmsa

:traffic_light: Visualizing publication-quality multiple sequence alignment using ggplot2
http://yulab-smu.top/ggmsa
200 stars 22 forks source link

Note: wrong number of arguments to 'seq_len' #35

Open ramiromagno opened 2 years ago

ramiromagno commented 2 years ago

I installed {ggmsa} from source with devtools::install_github("YuLab-SMU/ggmsa") and got that suspicious note:

* installing *source* package ‘ggmsa’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Note: wrong number of arguments to 'seq_len' 
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (ggmsa)
nyzhoulang commented 2 years ago

Thanks for the reminder. Although this does not affect the use, we will investigate the cause as soon as possible.

elgabbas commented 2 months ago

I am receiving the same note message in my personal R package. The problem is because of using the pipe operator %>%

You need to replace, e.g.

10 %>% seq_len()

with

10 %>% seq_len(length.out = .)

Cheers