From e20c80ea474efd914ddbe01bf6bc435eb4f74ddf Mon Sep 17 00:00:00 2001 From: StatisMike Date: Tue, 13 Jul 2021 14:38:52 +0200 Subject: [PATCH] Fixed globalVariables issues --- DESCRIPTION | 2 +- R/globals.R | 3 +++ README.Rmd | 2 +- README.md | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 R/globals.R diff --git a/DESCRIPTION b/DESCRIPTION index a29cb5c..dd911c6 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: shiny.reglog Title: Optional Login and Registration Module System for ShinyApps -Version: 0.2.0.0 +Version: 0.2.0.1 Authors@R: person(given = "Michal", family = "Kosinski", diff --git a/R/globals.R b/R/globals.R new file mode 100644 index 0000000..8230f49 --- /dev/null +++ b/R/globals.R @@ -0,0 +1,3 @@ +# to remove "no visible binding for global variable" with dplyr functions + +utils::globalVariables(c("timestamp", "user_id", "user_mail")) \ No newline at end of file diff --git a/README.Rmd b/README.Rmd index 2f10dea..0292aa1 100644 --- a/README.Rmd +++ b/README.Rmd @@ -16,7 +16,7 @@ knitr::opts_chunk$set( # shiny.reglog -[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-green.svg)](https://www.tidyverse.org/lifecycle/#stable) +[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-green.svg)](https://lifecycle.r-lib.org/articles/stages.html) ## 1. Introduction diff --git a/README.md b/README.md index 848fa5d..bd4a4ad 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [![Lifecycle: -stable](https://img.shields.io/badge/lifecycle-stable-green.svg)](https://www.tidyverse.org/lifecycle/#stable) +stable](https://img.shields.io/badge/lifecycle-stable-green.svg)](https://lifecycle.r-lib.org/articles/stages.html) ## 1. Introduction