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

'fetch_lesson' is not an exported object from 'namespace:sandpaper' #563

Closed
albhasan opened this issue Jan 8, 2024 · 1 comment · Fixed by #568
Closed

'fetch_lesson' is not an exported object from 'namespace:sandpaper' #563

albhasan opened this issue Jan 8, 2024 · 1 comment · Fixed by #568
Assignees

Comments

@albhasan
Copy link

albhasan commented Jan 8, 2024

The webpage describing this package is outdated . In includes the following call in the section "Contributing to a lesson":

sandpaper::fetch_lesson(markdown = TRUE, site = TRUE)

This call throws the error

Error: 'fetch_lesson' is not an exported object from 'namespace:sandpaper'

> sessionInfo()
R version 4.2.2 Patched (2022-11-10 r83330)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: LMDE 6 (faye)

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.11.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.11.0

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
 [9] 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] sandpaper_0.16.2

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.11       whisker_0.4.1     xml2_1.3.6        tinkr_0.2.0
 [5] magrittr_2.0.3    xslt_1.4.4        gert_2.0.1        R6_2.5.1
 [9] rlang_1.1.2       fansi_1.0.6       tools_4.2.2       sys_3.4.2
[13] utf8_1.2.4        cli_3.6.2         withr_2.5.2       commonmark_1.9.0
[17] askpass_1.2.0     rprojroot_2.0.4   yaml_2.3.8        openssl_2.1.1
[21] assertthat_0.2.1  tibble_3.2.1      lifecycle_1.0.4   processx_3.8.3
[25] purrr_1.0.2       callr_3.7.3       vctrs_0.6.5       fs_1.6.3
[29] credentials_2.0.1 ps_1.7.5          glue_1.6.2        compiler_4.2.2
[33] pillar_1.9.0      pegboard_0.7.3    pkgconfig_2.0.3
@ErinBecker
Copy link
Contributor

Thank you for putting in this issue @albhasan! After a bit of digging, I've found that fetch_lesson() was never implemented. I've removed it from the documentation with #568.

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

Successfully merging a pull request may close this issue.

2 participants