ProjectMOSAIC / ggformula

Provides a formula interface to 'ggplot2' graphics.
Other
38 stars 11 forks source link

"introduction" tutorial doesn't render #129

Closed discnerd closed 5 years ago

discnerd commented 5 years ago

The error it throws is:

Warning: Error in value[[3L]]: Couldn't normalize path in addResourcePath, with arguments: prefix = 'bootstrap-3.3.5'; directoryPath = '' [No stack trace available]

Also doesn't show up at https://projectmosaic.github.io/ggformula/tutorials/Plotting_with_formulas.html.

rpruim commented 5 years ago
learnr::run_tutorial("introduction", package = "ggformula")

works for me. Does that work for you?

I'm wondering if the issue at github.io has to do with the fact that we took down our rsconnect server and replaced it with a new one recently and I haven't republished this tutorial. I'll see if I can get it republished and rebuild the pkgdown site sometime today.

discnerd commented 5 years ago

All I get is a webpage with the error message:

ERROR: Couldn't normalize path in addResourcePath, with arguments: prefix = 'bootstrap-3.3.5'; directoryPath = ''

The process is still running and the error appears more times in the R Console if I refresh the page.

I get the same behavior on rstudio.cloud as I do on local copy. Both are running 3.6.0. If you want to see the cloud version, I think https://rstudio.cloud/spaces/7992/project/470343 will work.

On Wed, Aug 28, 2019 at 10:07 AM Randall Pruim notifications@github.com wrote:

learnr::run_tutorial("introduction", package = "ggformula")

works for me. Does that work for you?

I'm wondering if the issue at github.io has to do with the fact that we took down our rsconnect server and replaced it with a new one recently and I haven't republished this tutorial. I'll see if I can get it republished and rebuild the pkgdown site sometime today.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ProjectMOSAIC/ggformula/issues/129?email_source=notifications&email_token=AASBJ76P2O7XP4GMD2BJYJTQG2ICFA5CNFSM4IRHR5ZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5LOH2I#issuecomment-525788137, or mute the thread https://github.com/notifications/unsubscribe-auth/AASBJ7765ZXKKFIWLAUU43TQG2ICFANCNFSM4IRHR5ZA .

-- Matt Rissler

rpruim commented 5 years ago

I've revised how the tutorials appear in the pkdown site using the tutorials section of the _pkgdown.yml file. The online tutorials are now hosted at rstudio.calvin.edu. This may change at some point, but it was the quickest way to restore service.

rpruim commented 5 years ago

@discnerd , I get an access denied error when I try to navigate to your rstudio.cloud project, so I wasn't able to try things there.

I'm wondering, do you have the same problem with both the CRAN version of the packages (ggformula and learnr) and the github versions? I haven't been able to recreate your problems on my end.

nicholasjhorton commented 5 years ago

I get the following error message when I run: learnr::run_tutorial("introduction", package = "ggformula")

ERROR: Couldn't normalize path in addResourcePath, with arguments: prefix = 'bootstrap-3.3.5'; directoryPath = ''

sessionInfo() R version 3.6.0 (2019-04-26) Platform: x86_64-apple-darwin15.6.0 (64-bit) Running under: macOS Mojave 10.14.6

Matrix products: default BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib

locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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

other attached packages: [1] NHANES_2.1.0 learnr_0.9.2.1 shiny_1.3.2 readxl_1.3.1
[5] xtable_1.8-4 broom_0.5.2 lubridate_1.7.4 mosaic_1.5.0.9001
[9] Matrix_1.2-17 mosaicData_0.17.0 ggformula_0.9.1.9001 ggstance_0.3.2
[13] lattice_0.20-38 data.table_1.12.2 forcats_0.4.0 stringr_1.4.0
[17] dplyr_0.8.3 purrr_0.3.2 readr_1.3.1 tidyr_0.8.3
[21] tibble_2.1.3 ggplot2_3.2.0 tidyverse_1.2.1

loaded via a namespace (and not attached): [1] ggdendro_0.1-20 httr_1.4.0 jsonlite_1.6 splines_3.6.0 modelr_0.1.4
[6] assertthat_0.2.1 cellranger_1.1.0 yaml_2.2.0 ggrepel_0.8.1 pillar_1.4.2
[11] backports_1.1.4 glue_1.3.1.9000 digest_0.6.20 promises_1.0.1 rvest_0.3.4
[16] snakecase_0.11.0 colorspace_1.4-1 htmltools_0.3.6 httpuv_1.5.1 pkgconfig_2.0.2 [21] haven_2.1.1 scales_1.0.0 later_0.8.0 mgcv_1.8-28 generics_0.0.2
[26] withr_2.1.2 janitor_1.2.0 lazyeval_0.2.2 cli_1.1.0 magrittr_1.5
[31] crayon_1.3.4 mime_0.7 evaluate_0.14 fansi_0.4.0 nlme_3.1-141
[36] MASS_7.3-51.4 xml2_1.2.1 rsconnect_0.8.15 tools_3.6.0 hms_0.5.0
[41] munsell_0.5.0 compiler_3.6.0 gee_4.13-19 rlang_0.4.0 grid_3.6.0
[46] rstudioapi_0.10 htmlwidgets_1.3 crosstalk_1.0.0 mosaicCore_0.6.0 labeling_0.3
[51] rmarkdown_1.14 gtable_0.3.0 markdown_1.0 R6_2.4.0 gridExtra_2.3
[56] knitr_1.23 zeallot_0.1.0 utf8_1.1.4 rprojroot_1.3-2 stringi_1.4.3
[61] Rcpp_1.0.2 vctrs_0.2.0 leaflet_2.0.2 tidyselect_0.2.5 xfun_0.8

discnerd commented 5 years ago

The error appeared first on CRAN version of ggformula so I installed the github version and had the same issue. Should I do the same for learnr?

My session info:

R version 3.6.0 (2019-04-26) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 17134)

Matrix products: default

locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C

[5] LC_TIME=English_United States.1252

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

other attached packages: [1] NHANES_2.1.0 mosaic_1.5.0 Matrix_1.2-17 mosaicData_0.17.0 lattice_0.20-38 [6] dplyr_0.8.3 ggformula_0.9.1 ggstance_0.3.3 ggplot2_3.2.1 tibble_2.1.3 [11] learnr_0.9.2.1 shiny_1.3.2

loaded via a namespace (and not attached): [1] tidyselect_0.2.5 xfun_0.9 purrr_0.3.2 splines_3.6.0 vctrs_0.2.0 [6] colorspace_1.4-1 generics_0.0.2 htmltools_0.3.6 yaml_2.2.0 rlang_0.4.0 [11] later_0.8.0 pillar_1.4.2 glue_1.3.1 withr_2.1.2 mosaicCore_0.6.0 [16] stringr_1.4.0 munsell_0.5.0 gtable_0.3.0 htmlwidgets_1.3 evaluate_0.14 [21] knitr_1.24 crosstalk_1.0.0 httpuv_1.5.1 markdown_1.1 broom_0.5.2 [26] Rcpp_1.0.2 readr_1.3.1 xtable_1.8-4 promises_1.0.1 scales_1.0.0 [31] backports_1.1.4 leaflet_2.0.2 jsonlite_1.6 mime_0.7 gridExtra_2.3 [36] hms_0.5.1 digest_0.6.20 stringi_1.4.3 ggrepel_0.8.1 grid_3.6.0 [41] rprojroot_1.3-2 tools_3.6.0 magrittr_1.5 lazyeval_0.2.2 ggdendro_0.1-20 [46] zeallot_0.1.0 crayon_1.3.4 tidyr_0.8.3 pkgconfig_2.0.2 MASS_7.3-51.4 [51] assertthat_0.2.1 rmarkdown_1.15 rstudioapi_0.10 R6_2.4.0 nlme_3.1-139 [56] compiler_3.6.0

On Wed, Aug 28, 2019 at 12:28 PM Randall Pruim notifications@github.com wrote:

@discnerd https://github.com/discnerd , I get an access denied error when I try to navigate to your rstudio.cloud project, so I wasn't able to try things there.

I'm wondering, do you have the same problem with both the CRAN version of the packages (ggformula and learnr) and the github versions? I haven't been able to recreate your problems on my end.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ProjectMOSAIC/ggformula/issues/129?email_source=notifications&email_token=AASBJ7ZOT7MPG3TFWS4GVLDQG2YS5A5CNFSM4IRHR5ZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5L3W5Q#issuecomment-525843318, or mute the thread https://github.com/notifications/unsubscribe-auth/AASBJ74TWPJVCKJCSSKOW73QG2YS5ANCNFSM4IRHR5ZA .

-- Matt Rissler

discnerd commented 5 years ago

https://rstudio.cloud/project/471275 This one isn't in my class workspace so you should be able to access. Still has the issue.

On Wed, Aug 28, 2019 at 1:30 PM Matt Rissler discnerd@gmail.com wrote:

The error appeared first on CRAN version of ggformula so I installed the github version and had the same issue. Should I do the same for learnr?

My session info:

R version 3.6.0 (2019-04-26) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 17134)

Matrix products: default

locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C

[5] LC_TIME=English_United States.1252

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

other attached packages: [1] NHANES_2.1.0 mosaic_1.5.0 Matrix_1.2-17 mosaicData_0.17.0 lattice_0.20-38 [6] dplyr_0.8.3 ggformula_0.9.1 ggstance_0.3.3 ggplot2_3.2.1 tibble_2.1.3 [11] learnr_0.9.2.1 shiny_1.3.2

loaded via a namespace (and not attached): [1] tidyselect_0.2.5 xfun_0.9 purrr_0.3.2 splines_3.6.0 vctrs_0.2.0 [6] colorspace_1.4-1 generics_0.0.2 htmltools_0.3.6 yaml_2.2.0 rlang_0.4.0 [11] later_0.8.0 pillar_1.4.2 glue_1.3.1 withr_2.1.2 mosaicCore_0.6.0 [16] stringr_1.4.0 munsell_0.5.0 gtable_0.3.0 htmlwidgets_1.3 evaluate_0.14 [21] knitr_1.24 crosstalk_1.0.0 httpuv_1.5.1 markdown_1.1 broom_0.5.2 [26] Rcpp_1.0.2 readr_1.3.1 xtable_1.8-4 promises_1.0.1 scales_1.0.0 [31] backports_1.1.4 leaflet_2.0.2 jsonlite_1.6 mime_0.7 gridExtra_2.3 [36] hms_0.5.1 digest_0.6.20 stringi_1.4.3 ggrepel_0.8.1 grid_3.6.0 [41] rprojroot_1.3-2 tools_3.6.0 magrittr_1.5 lazyeval_0.2.2 ggdendro_0.1-20 [46] zeallot_0.1.0 crayon_1.3.4 tidyr_0.8.3 pkgconfig_2.0.2 MASS_7.3-51.4 [51] assertthat_0.2.1 rmarkdown_1.15 rstudioapi_0.10 R6_2.4.0 nlme_3.1-139 [56] compiler_3.6.0

On Wed, Aug 28, 2019 at 12:28 PM Randall Pruim notifications@github.com wrote:

@discnerd https://github.com/discnerd , I get an access denied error when I try to navigate to your rstudio.cloud project, so I wasn't able to try things there.

I'm wondering, do you have the same problem with both the CRAN version of the packages (ggformula and learnr) and the github versions? I haven't been able to recreate your problems on my end.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ProjectMOSAIC/ggformula/issues/129?email_source=notifications&email_token=AASBJ7ZOT7MPG3TFWS4GVLDQG2YS5A5CNFSM4IRHR5ZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5L3W5Q#issuecomment-525843318, or mute the thread https://github.com/notifications/unsubscribe-auth/AASBJ74TWPJVCKJCSSKOW73QG2YS5ANCNFSM4IRHR5ZA .

-- Matt Rissler

-- Matt Rissler

rubak commented 5 years ago

I also struggled with these issues. After updating both ggformula and learnr to the GitHub versions it seems to work. FYI: https://rsconnect.calvin.edu/ggformula/intro/ seems to point to the refining tutorial rather than the intro.

discnerd commented 5 years ago

Updating R version and installing github versions also fixed it for me as well. Maybe close issue?

On Tue, Sep 3, 2019 at 6:42 PM Ege Rubak notifications@github.com wrote:

I also struggled with these issues. After updating both ggformula and learnr to the GitHub versions it seems to work. FYI: https://rsconnect.calvin.edu/ggformula/intro/ seems to point to the refining tutorial rather than the intro.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ProjectMOSAIC/ggformula/issues/129?email_source=notifications&email_token=AASBJ75SD6O37BQSBQEYKBLQH3ZADA5CNFSM4IRHR5ZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5Z4QEA#issuecomment-527681552, or mute the thread https://github.com/notifications/unsubscribe-auth/AASBJ77CIHETRHAKFAY7QDTQH3ZADANCNFSM4IRHR5ZA .

-- Matt Rissler

rpruim commented 5 years ago

I'm hoping the recent CRAN update to ggformula and the newest version of learnr have resolved this issue since I was not able to recreate it using the new versions.