profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/MarkEdmondson1234/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Mark MarkEdmondson1234 @iihnordic Copenhagen https://code.markedmondson.me/ Data Engineer @iihnordic Google Developer Expert, Google Analytics / Google Cloud Tensorflow and R enthusiast

guess-js/guess 6735

🔮 Libraries & tools for enabling Machine Learning driven user-experiences on the web

cloudyr/googleComputeEngineR 134

An R interface to the Google Cloud Compute API, for launching virtual machines

cloudyr/googleCloudStorageR 84

Google Cloud Storage API to R

jdeboer/ganalytics 78

Interact with Google Analytics using R

cloudyr/bigQueryR 39

R Interface with Google BigQuery

MarkEdmondson1234/autoGoogleAPI 21

Unofficial Google R packages. These are a collection of Google API R packages auto-generated by googleAuthR v0.5

iihnordic/screamingfrog-docker 18

Docker image for ScreamingFrog version 10

jdeboer/gcalendar 15

Google Calendar API client library for R

IronistM/googleAnalyticsModelR 13

An R package for creating ready made models to work with googleAnalyticsR data

MarkEdmondson1234/appengine-shiny 13

Looking at deploying Shiny apps on Google App Engine with flexible containers

issue commentMarkEdmondson1234/googleCloudRunner

deploy cloudrun error: invalid value specified for memory

Ok interesting looks like I'll need to keep an eye on this new version to see how it affects deployments. Thanks for info!

dcaud

comment created time in 3 hours

issue commentMarkEdmondson1234/googleCloudRunner

deploy cloudrun error: invalid value specified for memory

Can I see the code that you built with? It's saying the CPU/Memory configuration is not the right syntax.

dcaud

comment created time in 5 hours

push eventMarkEdmondson1234/me-blog

Mark

commit sha 52f1d0f7f3054654076af8cebc89aa24c6861119

Update build.sh

view details

push time in 11 hours

push eventMarkEdmondson1234/MarkEdmondson1234.github.io

Mark Edmondson

commit sha 63bf0cf69f16ba185538048a9c684c9920433c78

rebuilding site Sat Oct 23 14:57:26 CEST 2021

view details

push time in 11 hours

push eventMarkEdmondson1234/MarkEdmondson1234.github.io

Mark Edmondson

commit sha 7bcf207a692464f6a49d79249cba67f5cf717848

rebuilding site Sat Oct 23 14:53:47 CEST 2021

view details

push time in 11 hours

push eventMarkEdmondson1234/markedmondson.me-hugo

Mark Edmondson

commit sha 9fdb402fe2d45ef0dd4953257ed35a0198f351c5

better image

view details

push time in 11 hours

PublicEvent

push eventMarkEdmondson1234/MarkEdmondson1234.github.io

Mark Edmondson

commit sha 6a1deb44af0aff078b6fb128cd0aa53ccb669265

rebuilding site Sat Oct 23 14:51:50 CEST 2021

view details

push time in 11 hours

push eventMarkEdmondson1234/MarkEdmondson1234.github.io

Mark Edmondson

commit sha ea4f6897363bdb66d07f80e8eb8cf35b8632890a

rebuilding site Sat Oct 23 14:46:25 CEST 2021

view details

push time in 11 hours

push eventMarkEdmondson1234/markedmondson.me-hugo

Mark Edmondson

commit sha 6d25e00b179db06a1e680e098a97348c003682a4

pub

view details

push time in 11 hours

push eventMarkEdmondson1234/MarkEdmondson1234.github.io

Mark Edmondson

commit sha 0f974c0ca71d5cc88a6f81959ebd5cc458f93904

rebuilding site Sat Oct 23 14:41:56 CEST 2021

view details

push time in 11 hours

push eventMarkEdmondson1234/markedmondson.me-hugo

Mark Edmondson

commit sha 3e2b44bb9e1b61572ca2dec2aef341f973f1668c

book post

view details

push time in 11 hours

issue commentMarkEdmondson1234/googleCloudRunner

build failed: executor latest doesn't work

One note on fixing it, the cr_deploy_*() functions are all higher order that wrap cr_buildstep() so you could also examine the cloud build yaml created and modify that directly.

dcaud

comment created time in 16 hours

issue commentMarkEdmondson1234/googleCloudRunner

build failed: executor latest doesn't work

Thanks, yes looks like a bug that will be fixed, but fixing the version as you did to to :v1.6.0 is part of why Docker is handy. I feel I have to leave it on :latest within the package and rely on reports like this though, else I'd need some constant monitoring of images.

dcaud

comment created time in 16 hours

Pull request review commentMarkEdmondson1234/googleCloudRunner

Various John commits

 extract_repo <- function(x){ }  make_image_name <- function(name, projectId){-  prefix <- grepl("^gcr.io", name)+  prefix <- grepl("^gcr.io", name) || grepl("^.*-docker.pkg.dev", name)

Do you have an example for this type of docker image name?

muschellij2

comment created time in 17 hours

PullRequestReviewEvent

Pull request review commentMarkEdmondson1234/googleCloudRunner

Various John commits

 cr_buildstep_decrypt <- function(cipher, cr_buildstep_secret <- function(secret,                                 decrypted,                                 version = "latest",+                                binary_mode = FALSE,                                 ...){--  script <- sprintf("gcloud secrets versions access %s --secret=%s > %s",-    version, secret, decrypted+  # as per+  # https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets#a_note_on_resource_consistency+  decode_it <- "--format='get(payload.data)' | tr '_-' '/+' | base64 -d"+  script <- sprintf("gcloud secrets versions access %s --secret=%s %s > %s",+    version, secret, ifelse(binary_mode, decode_it, ""), decrypted

ifelse() is vectorised so this could potentially break if c(FALSE, TRUE) was passed as binary_mode. An assetthat::is_flag(binary_mode) would protect or use if(binary_mode) decode_it else "" to see a warning

> ifelse(c(TRUE, FALSE), decode_it, "")
[1] "--format='get(payload.data)' | tr '_-' '/+' | base64 -d"
[2] ""                                                       
> if(c(TRUE, FALSE)) decode_it else ""
[1] "--format='get(payload.data)' | tr '_-' '/+' | base64 -d"
Warning message:
In if (c(TRUE, FALSE)) decode_it else "" :
  the condition has length > 1 and only the first element will be used
muschellij2

comment created time in 17 hours

PullRequestReviewEvent

issue commentMarkEdmondson1234/googleCloudRunner

Intermittent error with cr_deploy_plumber

Could you see if it solves your issue deleting it? It may not.

dcaud

comment created time in a day

issue commentMarkEdmondson1234/gentelellaShiny

tabItem vs datatableoutput

Yes that sounds like a good suspect - the data table GitHub issues would be best place to investigate - feel free to link to here from there for background info. This library is pretty old since it's last update now so perhaps it's a compatibility issue.

anujbajracharya

comment created time in 5 days

issue commentMarkEdmondson1234/googleAnalyticsR

Error: Could not authenticate via any gargle cred function

It's odd sorry I don't see a reason why it doesn't work for you. I suggest going through the steps to add your own clientId since that will refresh your token. That involves setting up a GCP project and using ga_auth_setup() - if that also errors please open a new issue.

arthurlin-kmd

comment created time in 5 days

startedQ-language/rpp

started time in 5 days

issue commentMarkEdmondson1234/googleAnalyticsR

Error: Could not authenticate via any gargle cred function

Environment arguments refer to checking if you have an .Renviron file in your R home directory or project folder that are setting up R variables, but I guess if you don't know about it you have not.

The authentication menu is not appearing for some reasons, could you restart R, try again and give your session info by using sessionInfo()? This is mine below - if you have anything out of date please update it.

R version 4.1.0 (2021-05-18)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 11.6

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.1/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] googleAnalyticsR_1.0.1

loaded via a namespace (and not attached):
 [1] pillar_1.6.1                   compiler_4.1.0                 googleAuthR_1.4.0.9000        
 [4] tools_4.1.0                    digest_0.6.27                  jsonlite_1.7.2                
 [7] evaluate_0.14                  memoise_2.0.0                  lifecycle_1.0.0               
[10] gargle_1.2.0                   tibble_3.1.2                   pkgconfig_2.0.3               
[13] rlang_0.4.11                   cli_3.0.1                      DBI_1.1.1                     
[16] rstudioapi_0.13                curl_4.3.1                     xfun_0.23                     
[19] fastmap_1.1.0                  withr_2.4.2                    dplyr_1.0.6                   
[22] httr_1.4.2                     knitr_1.33                     askpass_1.1                   
[25] generics_0.1.0                 fs_1.5.0                       vctrs_0.3.8                   
[28] rappdirs_0.3.3                 tidyselect_1.1.1               glue_1.4.2                    
[31] R6_2.5.0                       fansi_0.5.0                    measurementProtocol_0.1.0.9000
[34] rmarkdown_2.8                  purrr_0.3.4                    tidyr_1.1.3                   
[37] magrittr_2.0.1                 whisker_0.4                    ellipsis_0.3.2                
[40] htmltools_0.5.1.1              usethis_2.0.1                  assertthat_0.2.1              
[43] utf8_1.2.1                     openssl_1.4.4                  cachem_1.0.5                  
[46] crayon_1.4.1                  
arthurlin-kmd

comment created time in 5 days

issue commentMarkEdmondson1234/googleAnalyticsR

Error: Could not authenticate via any gargle cred function

I think you probably need to reset your authentication file that its using in the automatic process. What environment arguments do you have set? Try issuing ga_auth(email="your@email.com") to re-generate the OAuth2 token.

arthurlin-kmd

comment created time in 5 days

startedmirumee/prices

started time in 5 days

issue commentMarkEdmondson1234/gentelellaShiny

tabItem vs datatableoutput

Thanks for writing!

I can't say for sure, but sometimes in the past I think the JavaScript libraries for DataTable clash with the Genetella libraries or something, and causes tables not to be displayed. You could try to see in your browser console if you get any error messages to see if it is the root cause. Perhaps your server is running a different version of the JS libraries involved? Check for any differences in JS libraries and R libraries.

anujbajracharya

comment created time in 6 days

push eventMarkEdmondson1234/r-code-commit-github

googleCloudRunner

commit sha 0a9bd96739d42d9c9b56aca47889bbf6cf38bb2b

Ran R script to add data 8467edff-ec5e-44ed-8ed6-6628ea535b5d

view details

push time in 6 days

pull request commentMarkEdmondson1234/googleCloudRunner

Various John commits

I can be persuaded either way on <- vs = but the one thing I think does make code more manageable is it being consistent throughout the code base, so as it's already on <- I would prefer it's all like that.

An auto-linter you mean? That would be cool. Otherwise it will just be me OCDing my way through changing it manually each time I see it ;)

muschellij2

comment created time in 9 days

issue closedMarkEdmondson1234/googleCloudRunner

Binary Secrets corrupted

(Issue is just for tracking, solved via PR already)

Binary files (aka .rds files) can get corrupted in cr_buildstep_secret, as per https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets#a_note_on_resource_consistency

Cloud SDK formats the output as UTF-8 which can corrupt binary secrets. To get the raw bytes, have Cloud SDK print the response as base64-encoded and decode.

This is fixed via: https://github.com/MarkEdmondson1234/googleCloudRunner/pull/122/files#diff-a32ecf0d4ec919fca224acfc5f20bb669e946d7fe0b9eafc3df70ce486a4c66fR696

closed time in 10 days

muschellij2

issue openedMarkEdmondson1234/googleCloudRunner

Cloud Build Hybrid

Can run Cloud build on other cloud providers https://cloud.google.com/build/docs/hybrid/overview

created time in 10 days