Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't find the tag() function #3

Open
bjungbogati opened this issue Mar 7, 2019 · 3 comments
Open

Couldn't find the tag() function #3

bjungbogati opened this issue Mar 7, 2019 · 3 comments

Comments

@bjungbogati
Copy link

bjungbogati commented Mar 7, 2019

I'm using R version 3.4.3 and devtool version of argonR_0.2.0.9000.

library(argonR)

When I use argonPage(), it gives me following error

Error in tag(tagname, contents) : could not find function "tag".

@DivadNojnarg

@DivadNojnarg
Copy link
Member

Could you send me a reproducible example please?

@bjungbogati
Copy link
Author

bjungbogati commented Mar 7, 2019

Sure @DivadNojnarg

devtools::install_github("RinteRface/argonR")
library(argonR)
argonPage()

Error in tag(tagname, contents) : could not find function "tag"
6. tags$main(...)
5. tag("body", list(...))
4. htmltools::tags$body(htmltools::tags$header(class = "header-global",
navbar), tags$main(...), footer, htmltools::tags$script(src = "inst/assets/vendor/jquery/jquery.min.js"),
htmltools::tags$script(src = "inst/assets/vendor/popper/popper.min.js"),
htmltools::tags$script(src = "inst/assets/vendor/bootstrap/bootstrap.min.js"), ...
3. tag("html", list(...))
2. htmltools::tags$html(takeHeads(htmltools::tags$head(htmltools::tags$meta(charset = "utf-8"),
htmltools::tags$meta(name = "viewport", content = "width=device-width, initial-scale=1, shrink-to-fit=no"),
htmltools::tags$meta(name = "description", content = description),
htmltools::tags$meta(name = "author", content = author), ...

  1. argonPage()

sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.6 LTS

Matrix products: default
BLAS: /opt/microsoft/rclient/3.4.3/runtime/R/lib/libRblas.so
LAPACK: /opt/microsoft/rclient/3.4.3/runtime/R/lib/libRlapack.so

locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8
[6] LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

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

other attached packages:
[1] argonR_0.1.0 RevoUtilsMath_10.0.1 RevoUtils_10.0.7 RevoMods_11.0.0 RevoScaleR_9.3.0 lattice_0.20-35 rpart_4.1-13

loaded via a namespace (and not attached):
[1] Rcpp_0.12.16 codetools_0.2-15 CompatibilityAPI_1.1.0 withr_2.1.2 digest_0.6.15 packrat_0.4.9-2
[7] foreach_1.4.4 grid_3.4.3 R6_2.2.2 jsonlite_1.5 devtools_1.13.4 iterators_1.0.9
[13] tools_3.4.3 compiler_3.4.3 memoise_1.1.0 htmltools_0.3.6 mrupdate_1.0.1

My R version is 3.4.3.

argon

@DivadNojnarg
Copy link
Member

Humm! Running argonPage() alone returns:

<html>
  <meta charset="utf-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
  <meta name="description"/>
  <meta name="author"/>
  <title></title>
  <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700" rel="stylesheet"/>
  <link href="inst/assets/vendor/nucleo/css/nucleo.css" rel="stylesheet"/>
  <link href="inst/assets/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet"/>
  <link type="text/css" href="inst/assets/css/argon.min.css" rel="stylesheet"/>
  <body>
    <header class="header-global"></header>
    <main></main>
    <script src="inst/assets/vendor/jquery/jquery.min.js"></script>
    <script src="inst/assets/vendor/popper/popper.min.js"></script>
    <script src="inst/assets/vendor/bootstrap/bootstrap.min.js"></script>
    <script src="inst/assets/vendor/headroom/headroom.min.js"></script>
    <script src="inst/assets/vendor/onscreen/onscreen.min.js"></script>
    <script src="inst/assets/js/argon.min.js"></script>
  </body>
</html>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants